mirror of
https://github.com/PR0M3TH3AN/bitlogin.git
synced 2026-11-06 21:41:21 +00:00
script-src 'self' alone forbids WebAssembly.compile, and Argon2id (hash-wasm) compiles a WASM module in the crypto worker -- so the CSP added in the second-audit hardening broke every password flow on the deployed site. Add 'wasm-unsafe-eval', which permits WASM compilation only; JS eval stays banned, and the policy test now pins both facts so neither can regress silently. Co-Authored-By: Claude Fable 5 <[email protected]>