Repository navigation
v3.0.4 π¦ Iguanodon β CSP hardening, anti-framing & checksums
v3.0.4 π¦ Iguanodon β CSP hardening, anti-framing, published checksums
A security-hardening release, building on v3.0.3. No user-facing
behaviour changes, and the cryptography, container format, wordlist, and
self-tests are untouched.
Changes
- Hash-pinned Content-Security-Policy. Both shipped files now pin every
inline<script>block as ascript-src 'sha256-β¦'source instead of
'unsafe-inline'. The browser executes only those exact blocks and refuses
to run any injected inline script (hash mismatch). Every other directive is
unchanged β includingdefault-src 'none',connect-src 'none', and
style-src 'unsafe-inline'. - Anti-framing guard. Both files refuse to initialize if they detect they
are embedded in a frame (window.top !== window.self, caught for the
cross-origin case), showing a plain "open it directly" message instead. A
<meta>CSP cannot setframe-ancestors, so this JS check is the mechanism.
(Thedefault-src 'none'policy also blocks the pages from framing anything.) - Published checksums.
SHA256SUMS.txtnow ships as a release asset
alongsideittybitz.htmlandittybitz-recovery.html. See
Verify your download
in the README for thesha256sum/certutilcommands. - Maintenance tooling.
scripts/update-csp-hashes.mjs(plain Node, zero
dependencies) recomputes the inline-script hashes, rewrites both files' CSP
in place, and regeneratesSHA256SUMS.txt. It is idempotent and runs
automatically as part ofnpm run build. - SECURITY-AUDIT.md gained an addendum mapping the v2.8.1 (Next.js) audit
onto the v3 single-file architecture: the PBKDF2-vs-Argon2id tradeoff still
applies (crypto unchanged); the Next.js, CI, and bundle findings are obsolete.
For users
Nothing to do. Existing .ibitz files and encrypted text decrypt exactly as
before. If you keep a saved offline copy, you can now verify it against the
SHA256SUMS.txt attached to this release.
Verify your download
e206abbe93c275fce0ffb04bbb0c1536869635f5a2b0b70d4c2a435edf56c1ee ittybitz.html
952cf09a7595d71d6c2ed7932b11e79c8c53a800b56d947f15609737a62717cb ittybitz-recovery.html
macOS/Linux: shasum -a 256 -c SHA256SUMS.txt (or sha256sum -c) Β· Windows: certutil -hashfile ittybitz.html SHA256