Public: anyone can read this; the crew can change it.
The forge pill shows on a page whose CSP admits scripts by nonce: the pill's tag carries the page's nonce #8210
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
A preview of lab answers
script-src 'nonce-…'with no'self'(see any preview, e.g. pull-8203), so even a same-origin pill is refused there. The proxy can read the nonce from the response's own Content-Security-Policy header.Done when:
script-src(ordefault-srcwhen there is none) names a'nonce-…', the pill's<script>carriesnonce="…"with that value, escapedscript-src 'nonce-abc'and proves the tag carriesnonce="abc"; a second with a malformed nonce proves nothing is copied; both fail without the changeFiles: src/apps/toolbar.ts, src/apps/proxy.ts, test/apps-toolbar-nonce.test.ts