Conversation

I didn't realize trusted-types: 'none' could be added to explicitly forbid creating Trusted Types policies. twitter.com/shhnjk/status/ Added it to the global policy for attestation.app and grapheneos.org in addition to baseline require-trusted-types-for 'script'.
Quote Tweet
The story about how we killed XSS from Edge internal pages 😎 microsoftedge.github.io/edgevr/posts/e
Replying to
The zip library used for the web installer doesn't support Trusted Types yet so we're not using it for the grapheneos.org/install/web page yet. Something to do with the way the zip library (github.com/nodeca/pako) uses web workers. Don't have resources to improve that for them...
1
3
github.com/gildas-lormeau uses that lower-level DEFLATE library via web workers. The way it's being done is dynamic and results in a Trusted Types violation. It'd ideally be changed to work without needing a Trusted Types policy. Don't have time to look into it but someone could.
2