r/AgentsOfAI • u/Sensitive-Ask-3925 • 3d ago
Agents Moving deterministic 2-of-2 authorization outside the agent runtime (offline ProVerif + Python challenge)
Prompt guardrails and caller-held signing keys fail the moment an agent runtime or treasury script is compromised. If the calling agent holds the key, a prompt injection or disguised delegatecall bypasses policy.
We built Decern to move deterministic authorization outside the agent completely, requiring 2-of-2 FIPS 204 ML-DSA-65 approvals bound to raw execution bytes and single-use nonces. Instead of asking anyone to trust a slide deck, we put up a strictly falsifiable offline challenge: try to forge an authorization receipt or violate the 2-of-2 approval invariant in our ProVerif 2.05 model or Python verifier.
What you can test locally in about 2 minutes (Python 3.9+, zero third-party dependencies):
Verify signed, blocked, and tampered receipts offline (a +1 base unit tamper edit must fail closed with EXIT 1).
Run an 864-state exhaustive boundary checker across three asset rails, wire mutations, and quorum counts (76 hostile fuzz vectors, zero false co-signatures).
Optionally check the INRIA ProVerif 2.05 symbolic model proving injective agreement under an active Dolev-Yao attacker.
What counts as a valid break:
- Crafting an altered receipt JSON that yields EXIT 0 in the receipt verifier.
- Finding a reachable state in the boundary checker that emits an unauthorized signature.
- Finding a counterexample in the ProVerif model showing false injective agreement.
Explicit boundaries and status:
- Unaudited research prototype handling zero real customer funds.
- Out of scope: host OS compromise, same-host process isolation flaws, local disk/snapshot rollbacks without an external anchor, downstream off-chain API compromise, and classical on-chain consensus (Bitcoin Taproot / Ethereum ECDSA).
I put the verification kit link, copy-paste commands, and Hall of Fame / contact details in the first comment below so this follows the community link rule. Curious how other builders here handle hard authorization boundaries when an agent runtime cannot be trusted.
1
u/Sensitive-Ask-3925 3d ago
Verification kit, test vectors, and specs: https://privinet.net/decern-verification
Fastest 2-minute offline check (Python 3.9+, zero third-party dependencies):
curl -sLO https://privinet.net/verify_decern_receipt.py
curl -sLO https://privinet.net/sample_authorized_receipt.json
curl -sLO https://privinet.net/sample_blocked_delegatecall_receipt.json
curl -sLO https://privinet.net/sample_tampered_receipt.json
python3 verify_decern_receipt.py sample_authorized_receipt.json
python3 verify_decern_receipt.py sample_blocked_delegatecall_receipt.json
python3 verify_decern_receipt.py sample_tampered_receipt.json
2. Run the 864-state exhaustive boundary checker:
curl -sLO https://privinet.net/verify_decern_boundary.py
python3 verify_decern_boundary.py
3. Verify the symbolic model in INRIA ProVerif 2.05 (optional, requires proverif):
curl -sLO https://privinet.net/decern_boundary.pv
proverif decern_boundary.pv
If you find a valid break or parser flaw, we offer public Hall of Fame credit on privinet.net and priority NDA access to the frozen Rust review package for credentialed reviewers. Reproducible PoCs can go to brad@privinet.net, or ask anything right here.
1
u/AutoModerator 3d ago
Thank you for your submission! To keep our community healthy, please ensure you've followed our rules.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.