Skip to content

Multi-model review pass: verifier hardening, XSS fix, test and doc fixes - #4

Merged
Random21m merged 1 commit into
mainfrom
polish/multi-model-review-pass
Dec 1, 2026
Merged

Random21m merged 1 commit into
mainfrom
polish/multi-model-review-pass

Conversation

@Random21m

Copy link
Copy Markdown
Owner

Summary

Four independent read-only reviews (Fable, Opus, Sonnet, Haiku) of vault/consensus, crypto, UI/watchtower and docs/build. Findings were checked against the code before fixing.

Fixed

  • Bunker address of witness v2+ (anyone-can-spend) is rejected at build and audit time
  • Strict vout validation; verifier checks clawback and unvault version and sequence
  • Esplora responses validated (DOM XSS via vout, fail-open xpub scan)
  • Service worker only deletes its own caches; CSP meta added
  • Two tamper tests never hit the destination or signature; fixed, plus a new hardening test (17 tests)
  • Docs: 4 clawback tiers, Auto-60s wording, gap-limit scan, rebuild verification, vulnerability reporting

Needs your decision

Rebuilding changes SHA256SUMS.txt, so SHA256SUMS.txt.ots and the checksum text in the README no longer match the new files. I did not touch them; re-stamping needs the ots tool.

Not fixed (reported, lower priority)

Non-constant-time scalar math, incomplete key wiping claims, BBQr decompression size cap, verifier fee/output caps, modal accessibility, watchtower de-duplication and per-slot error handling.


Generated by Claude Code

…docs

- Reject witness v2+ (anyone-can-spend) bunker addresses at build and audit time
- Strict integer vout validation; verifier checks clawback/unvault version and sequence
- Validate Esplora UTXO/stats fields (fixes DOM XSS via vout, fail-closed xpub scan)
- Service worker only deletes its own caches; add CSP meta
- Make tamper tests actually hit destination/signature; add hardening test (17 total)
- Docs: 4 clawback tiers, Auto-60s wording, gap-limit scan, rebuild verification, vuln reporting

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013VMwR7cfdwNhHkSrfwtnHf
@Random21m
Random21m marked this pull request as ready for review December 1, 2026 17:38
@Random21m
Random21m merged commit a6de776 into main Dec 1, 2026
1 check passed
@Random21m
Random21m deleted the polish/multi-model-review-pass branch December 1, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants