About
## Challenges I ran into
- **Our own scan was wrong first.** On 15 production dapps it reported 51 files whose bytes changed under the same URL. The bug was ours: response bodies Playwright couldn't read were counted as changes. Fixed and re-run, 8 of 2,247 files changed, and all 8 were Cloudflare challenge or Google Tag Manager scripts. The flawed run stays in `proof/results/superseded`. - **`readonly` doesn't stop deletion.** An owner can still delete a readonly entity, so a thief holding the release key could erase a revocation. Revocations are now created and handed to `0x鈥EaD` in one `executeBatch`, using a key predicted in advance. Verified on chain: the creator's delete is refused. - **Supersede isn't revoke.** The first design revoked the previous release on every deploy, which would turn every open tab red. Now a newer release only supersedes after it is approved, and a grace window covers tabs still running the old build. - **A page could fake the gate's answer.** The tampered page shares the world the provider wrapper runs in, so it could post a fake "allow". The answer now travels over `externally_connectable`, whose reply reaches only the caller. - **We hit the keyless budget mid-campaign:** HTTP 429, 100 queries, then a 32-minute lockout. The Checkpoint went from 11 queries per load to 2. The watcher reads Arkiv only when a WebSocket event arrives. Scripts use an access key. - **Google Fonts serves different CSS bytes per browser,** so our own Checkpoint couldn't pin it as a signed release. We self-host the fonts now.
## The problem it solves
On Feb 21 2025, Bybit's signers approved a routine transfer in the Safe{Wallet} web app and handed their cold wallet to an attacker. About $1.5B left. Two days earlier, someone holding a Safe developer's AWS session had replaced one JavaScript file in Safe's S3 bucket, `_app-52c9031bfa03da47.js`, and kept its content-hash name. The file behaved normally for everyone except two Safe addresses. 117 seconds after the theft, the original was back.
Nothing in a signer's browser compares the code it runs with the code the team released. SRI hashes live in the same HTML an attacker rewrites. Transaction scanners inspect a transaction the tampered UI shows as benign. Address allowlists can't help a generic wallet UI like Safe, where every transfer goes somewhere new.
Imprimatur lets a team sign each frontend release onto Arkiv with keys the web host never holds. In the browser, it hashes every script and stylesheet the tab actually ran, finds the release created by the team's keys (`$creator`), and refuses to pass a signing request to the wallet when anything differs. The page names the file and the release it doesn't match.
- **Checkpoint**: a static page that verifies any demo site from outside the site, with no install needed.
- **Chrome extension**: gates `eth_sendTransaction`, `eth_signTypedData*`, `personal_sign`, `eth_sign` and `wallet_sendCalls` on every injected and EIP-6963 provider.
- **CLI and GitHub Action**: `publish`, `approve`, `revoke`, `revoke-key`, `heartbeat`, `verify`, `watch`, `replay`.
- **Watcher**: re-hashes every bound site each minute and writes what it finds to Arkiv.
It runs on the real Feb 19 2025 file from the Wayback Machine and refuses it.
## Link to a twitter post explaining your project (or post with the video) https://x.com/winsznx/status/2111934526167388374?s=20
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.






