Newly verified on chain: MCP server or qore CLI, QoreScan

Post-Quantum AI Agents
Steward
An AI clerk pays vendor invoices on QoreChain and cannot be talked into paying anyone else.
About
Teams want an AI agent to handle accounts payable, but an agent that holds a wallet key can be prompt-injected into draining it. In Steward, a real LLM reads each invoice and proposes pay, queue, skip or flag. It is allowed to be wrong. A deterministic policy checks every proposal; QoreChain's smart-account spending rule lets the agent key call only PayGate.pay or PayGate.queue; and PayGate pays only a vendor's registered payout, only with that vendor's fresh ML-DSA-87 invoice signature, within caps. On Diana testnet a fooled model's payment to an attacker was refused on chain and moved 0 fUSD, while Claude Opus 5.5 and NVIDIA Nemotron each planned and paid a real invoice. Post-quantum signatures mean a forged invoice or owner approval stays invalid after classical keys break. Attack the real clerk yourself, no wallet: https://steward-amber.vercel.app/jailbreak (Nemotron and LFM free, Claude Opus 5.5 under a daily cap).
How it's made
Agent. agent/planner.ts sends each invoice (marked untrusted) to an LLM through a decide_invoice tool; src/ts/policy.ts then clamps the proposal deterministically, and a model can only make it more cautious. Every decision goes into a hash-chained, ML-DSA-signed receipt naming the planner model. Contract. PayGate holds fUSD and checks token, amount, approved vendor, registered payout, unused invoice ID, the vendor's ML-DSA-87 signature (pqcVerify 0x…0a01 against pqcKeyStatus 0x…0a02, via VendorSig/PqAuth from haven-pq-kit), then caps. Over-cap invoices queue until the owner approves with ML-DSA-87; registry changes wait a timelock, pause is immediate. QoreChain pieces. The agent key is linked with a spending rule (1 uqor, 0 denoms, only pay/queue); direct fUSD.transfer and bank send were refused. On 24 November the agent registered its own key with proof of possession and opened its own scoped window, and the chain enforced target, value, count and duration. Owner actions run in windows scoped to PayGate (hybrid ML-DSA-87). The mandate is signed with QoreSign and sealed with QoreSeal to the agent's ML-KEM-1024 key. MCP powers npm run evidence; QoreScan powers npm run cbom:check. Web. /jailbreak runs the real model, the policy on live state and an eth_call of PayGate; /gate verifies a payment's signature live. Testing. 71 Foundry, 84 TypeScript; npm run evidence 46 passed, 0 failed. Limits. A stolen vendor key can bill to its own payout up to the caps until paused; /jailbreak simulates and broadcasts nothing. README: "Judge it in 5 minutes", "Where the PQC checks are (for jurors)", "Credits". Contracts (qorechain-diana): PayGate 0xb0c44d0a628c4593314a5c3c113d27f2d1842a05 · agent account qor1nsu8dusrx4fd22f7dm72mlkc00lt0e477k0fel (own ML-DSA-87 key and scoped window). Attack the real AI: https://steward-amber.vercel.app/jailbreak · every key transaction with explorer links: https://github.com/datharnu/steward#proof-table
Timeline
First on-chain deployment detected on testnet.
Comments and questions
- No comments yet.