News for hackers. Stuff that matters.
Re:Firefox Send: Private, Encrypted File Sharing by Jach on Wednesday October 11, 2017 @05:38PM (#15453719)
https://developer.mozilla.org/en-US/docs/Web/Security/Subres... can help verify everything loaded is what it's supposed to be. However you'd still need to verify that the set of things loaded is the set of things you expect, not just that the things are the things, and that requires having an out-of-band checklist or extension...
Re:Firefox Send: Private, Encrypted File Sharing by the8472 on Wednesday October 11, 2017 @05:59PM (#15453888)
SRI alone is insufficient. Maybe a strict CSP policy that exclusively allows hash sources and forbids eval could serve as an indicator that the scripts executed on a page are immutable. Probably needs some further conditions to make it airtight.
Re:Firefox Send: Private, Encrypted File Sharing by kijin on Wednesday October 11, 2017 @08:46PM (#15454815)
If you don't trust Mozilla, how do you trust them not to strip the CSP header whenever they want to serve malicious javascript?
Re:Firefox Send: Private, Encrypted File Sharing by the8472 on Thursday October 12, 2017 @02:23PM (#15460048)
you'd still have to implement a pinning feature. the hash-only-CSP part would just be the foundation which the pin checks.