How to Verify a Web Page Snapshot with SHA-256 and RFC 3161
A price changes between an AI agent’s recommendation and a human’s approval. The agent log contains a URL, but that URL now shows a different price. What can you put in the audit trail? A bookmark opens the current page
A price changes between an AI agent’s recommendation and a human’s approval. The agent log contains a URL, but that URL now shows a different price. What can you put in the audit trail?
A bookmark opens the current page. A screenshot preserves pixels, but it can be edited before someone shares it. And if a hosted archive is the only place you can verify a capture, you still depend on the operator.
I wanted a portable evidence package that another engineer, auditor, or lawyer could verify without calling my service.
I’ve been building for the web since 2021. After moving from frontend development to building my own SaaS, I started PageAnchor around that idea.
What PageAnchor captures
PageAnchor opens a public URL in Chromium as an anonymous visitor and saves rendered HTML, a full-page PNG screenshot, and a PDF.
Here’s a snapshot of the React documentation you can inspect. The ?c=2 in the link selects version 2 rather than silently showing the newest capture. It points to the version you reviewed, not a promise that it will be stored forever.
When available, the snapshot also shows what PageAnchor observed on the network, such as the final URL and TLS certificate details. That helps explain what the capture process saw. It isn’t independent proof that the site owner published the archived content.
Verify the ZIP yourself
Only the capture owner can download the evidence ZIP from an ordinary snapshot. But anyone who already has a ZIP can verify it on a public snapshot page without signing in. I’ve put two downloadable examples on the verification panel so you can try it without making a capture first:
- Open the React snapshot’s verification panel
- Download the original ZIP and the modified ZIP.
- Drop them into the verifier one at a time. No account or unzipping needed.
The original passes all three checks: the files match the SHA-256 hashes in manifest.json, the RFC 3161 timestamp verifies against the FreeTSA root pinned in the app, and the manifest matches the open snapshot.
In the modified ZIP, I changed only document.html. Its file check fails, but the timestamp still verifies and the manifest still matches the open snapshot. A valid timestamp on the manifest doesn’t make a modified file pass verification.
The ZIP, manifest, and timestamp stay in your browser. If the manifest doesn’t match the open version, you can optionally send its hash to PageAnchor to look for another version. For a guest, a private snapshot’s hash returns the same result as an unknown hash.
Verify it without PageAnchor
Extract the ZIP. Its README.txt explains how to check the listed files, and verify.sh automates the check. If the ZIP contains timestamp.tsr, you can verify the timestamp directly:
openssl ts -verify \
-token_in \
-in timestamp.tsr \
-data manifest.json \
-CAfile trusted-tsa-ca.pem
Get the trust anchor independently from the timestamp authority. Don’t trust tsa.crt just because it came in the same ZIP. If the check succeeds, OpenSSL prints:
Verification: OK
A valid timestamp establishes that the exact manifest bytes existed by the signed UTC time. It doesn’t prove the price was accurate, that every visitor saw it, or that the snapshot meets a particular compliance requirement. If the timestamp service is unavailable, PageAnchor still saves the capture.
Put it in an automation pipeline
With a Pro API key (see the API documentation), start a capture like this:
curl -X POST https://pageanchor.app \
-H "Authorization: Bearer \$PAGEANCHOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com"}'
Use the returned id to poll GET /api/v1/archive/:id until the capture is done or failed, or use a signed webhook. For an AI approval workflow, I’d log the versioned snapshot link alongside the original URL and keep the ZIP for anyone who needs to verify it later.
Early beta
PageAnchor captures public pages only — no login or paywall bypassing, no video, and content inside nested scroll containers may be incomplete.
It’s free to try without signing up at pageanchor.app. If another archiver breaks or misses content on a difficult public URL, drop the link in the comments — those are the exact cases I want to turn into regression tests.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.