We swapped an agent's signature scheme on Base. Running it live found three bugs.

December 4, 2026 · Craig M. Brown · BlindOracle · 5 min read · ERC-8373 is a Draft standard

The hard part of post-quantum identity is not the new algorithm. It is proving, years from now, that a new key belongs to an old identity. If that proof is made after classical signatures can be forged, it is worthless: a legitimate owner rotating keys and an attacker using a recovered key leave the same evidence on chain. So the proof has to be made now, while the classical key is still trusted, and anchored where anyone can see its date.

Last night we did exactly that with a fresh agent identity on Base mainnet: bound it to ML-DSA-65, swapped it to the hash-based SLH-DSA-SHA2-192s, and revoked it. Three steps, seven transactions, $0.15. All of it can be checked with a public RPC and nothing from us.

Why now

What we ran

Step What the agent did What we checked Cost
Bind generated an ML-DSA-65 key locally, signed the statement's content-address, sent an anchor tx from its own address content-address recomputed, signature against the key in the statement, anchor sender + calldata on Base $0.05
Rotate generated an SLH-DSA key; the old key signed for the new one, the new key proved possession; anchored both signatures, each against the key its role names; predecessor must already be registered $0.05
Revoke the revoked key authorized its own revocation; anchored authorization against the revoked binding's key $0.05

The agent's secret keys never left its machine. We received statements, signatures and transaction hashes, and charged only when everything verified. The run ledger has every request and response.

The three anchors, if you want to start from the chain: bind 0xcc908c02…8d97, rotate 0x33077b19…accb, revoke 0xb696b28e…9141. The whole scripted run, from new wallet to final registry read, took 51 seconds.

What running it found that the tests did not

We had 64 passing tests, including every case in the ERC's own test vectors. The live run still broke three times:

  1. A post-quantum signature did not fit in our request. Our gateway caps a task description at 20,000 characters. One SLH-DSA-192s signature is 16,224 bytes, or 32,448 characters in hex. Rotation needs two signatures. Fixed by taking the fields as separate body keys.
  2. Then it did not fit in a field. Every free-text field had the same 20,000-character default. Fixed by declaring the signature fields in the service schema with a 100,000-character limit (the largest SLH-DSA parameter set signs at 49,856 bytes).
  3. After the revocation, our readiness check still said "bound". It counted the original binding, which the rotation had superseded. Fixed: rotation supersedes, revocation ends, and readiness now answers binding_revoked for this identity.

The third one is the one that matters. A verifier that says "bound" for a revoked identity is worse than no verifier. No test vector covered a full lifecycle, so no test caught it.

The trade-off we chose: hash-based SLH-DSA rests only on the security of SHA-2, which is why we rotated to it, but it costs about five times the bytes of ML-DSA. Because a binding is written once and checked rarely, we pay that cost once per identity rather than on every payment.

What this does not do

Try it