Closed
Bug 1342123
Opened 9 years ago
Closed 8 years ago
[PulseGuardian] Use Subresource Integrity (SRI) for JS loaded from a different origin
Categories
(Webtools :: Pulse, defect)
Webtools
Pulse
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1346293
People
(Reporter: emorley, Unassigned)
References
Details
One of the HTTP Observatory results is:
-5 Subresource Integrity (SRI) not implemented, but all external scripts are loaded over https
This is presumably due to the Auth0 script loaded from:
https://cdn.auth0.com/js/lock-passwordless-2.2.3.min.js
Either SRI should be used - ie an SRI hash added to the script tag here:
https://github.com/mozilla/pulseguardian/blob/c2614f9813a6c5a5412004f89a75b9f3fcbaba51/pulseguardian/templates/base.html#L50
...or else the JS script vendored into the repo.
More info on SRI can be found here:
https://wiki.mozilla.org/Security/Guidelines/Web_Security#Subresource_Integrity
https://www.srihash.org/
Comment 1•8 years ago
|
||
Thanks to bug 1346293 we no longer load any external scripts.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•