cd /news/ai-safety/post-quantum-receipts-or-how-to-stop… · home › topics › ai-safety › article
[ARTICLE · art-181393] src=dev.to ↗ pub= topic=ai-safety verified=true sentiment=· neutral

Post-quantum receipts, or: how to stop a verifier from silently accepting the weak half

A developer made grants, receipts and evidence bundles hybrid-signed with both Ed25519 and ML-DSA-65 over the same canonical bytes, enforcing a both-or-nothing verification rule so an attacker cannot strip the post-quantum half and trigger a downgrade. The release pins the behavior with four test vectors (valid, stripped, tampered, undecidable) and requires two independent verifiers to agree, including a ~350-line standard-library Python verifier that must return "cannot decide" because it lacks ML-DSA support. The receipt format is frozen at 1.1, and the tool adds `mandate interop --format ocsf|otel` to export the decision as an OCSF class 6003 event or an OTel span with `gen_ai.*` attributes; the work is MIT/Apache and offline-verifiable, with the README noting no pentest, no SOC 2, and one maintainer.

recommendation

When verifying hybrid signatures, reject any artifact missing the post-quantum half and test stripped, tampered and undecidable cases with two independent verifiers.

more in playbook: Securing agents and AI tools
by read2 min views6 publishedDec 3, 2026

A receipt that has to be checkable in 2035 cannot be signed with only the algorithm we trust in 2026. That is the whole argument, and it is a boring one — which is why the interesting part is what happens at verification time.

We just made grants, receipts and evidence bundles hybrid: Ed25519 and ML-DSA-65 over the same canonical bytes. The temptation is to treat that as "stronger is better". It is not. The failure mode of a hybrid signature is downgrade: an attacker strips the post-quantum half, and a verifier that was happy with Ed25519 yesterday signs off on the weakened artifact today.

So the rule is both-or-nothing: Four test vectors pin it (valid, stripped, tampered, and the undecidable case), and two independent verifiers must agree: a ~350-line standard-library Python one that cannot do ML-DSA (so it must say "cannot decide") and a second one with cryptography that can.

The boring part matters too: the receipt format is frozen at 1.1 with those fields documented, and a rule I did not expect to matter — signature_pq must be excluded from the signed body, or issuance and verification sign different bytes and the whole thing fails intermittently. That bug existed for an hour. It would have shipped if the tests were only "does it verify".

Why now: on 2026-12-02 the NSA, CISA and the Office of the National Cyber Director asked operators to accelerate migration to NIST post-quantum algorithms, with CNSA 2.0 for new national-security acquisitions from 2027-01-01 and the federal completion date moved from 2035 to 2030. The same statement says recent research "does not present an immediate and widespread threat" — the argument is the deadline, not fear. Evidence retained for a decade has to outlive the schemes we use today.

Second, smaller thing in the same release: mandate interop --format ocsf|otel. A receipt is evidence only if the customer's SOC can ingest it, so the decision is exported as one OCSF API Activity event (class 6003) or an OTel span with gen_ai.* attributes — digests and the decision, none of the effect's contents.

Everything is MIT/Apache, offline-verifiable, and the honest limits are in the README: no pentest, no SOC 2, one maintainer.

── more in #ai-safety 4 stories · sorted by recency
── more on @nsa 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/post-quantum-receipt…] indexed:0 read:2min 2026-12-03 · —