Pushed 1 commit to main
- c6a006b Run #16 landed green (3 Dec ~06:55 WIB, 21h55m late): 4 paid / 2.8 QOR — totals 27 payments / 19.9 QOR · Gogo Maduro(not counted: no real change)
Post-Quantum AI Agents
An AI agent that can spend — but only what the chain allows.
Post-quantum treasury guardian for an AI trading desk. The agent spends only through a chain-enforced link (1 QOR per payment, 3 QOR per day, 24 h, revocable); the vault pays only on a verified ML-DSA-87 signature, to an allowlisted address, inside the caps, with a kill switch.
Gogo Leash is a post-quantum treasury guardian for an AI trading desk, built on the QoreChain diana testnet. The problem: an agent that holds a key can spend without limit if the key leaks or the agent is compromised — so Gogo Leash moves the limits onto the chain. A Solidity vault v2 (0x9C254f3bBAFa6d4C03196c8C65C0d30F2cD57B0f, live 28 Nov) pays only when four conditions hold: the guardian's ML-DSA-87 signature verifies on chain via the pqcVerify precompile, the recipient is allowlisted, the payment is inside the per-payment (1 QOR) and rolling 24-hour (3 QOR) caps, and the kill switch is off. A tripwire pauses the vault automatically after 3 rejected withdrawal attempts inside an hour. The agent spends through a chain-enforced authenticator link — send-only, 24 hours, revocable in one transaction. The vendor signs each invoice with its own ML-DSA-87 key, and the agent verifies that signature locally and against the on-chain precompile before paying. A Node CLI built on the QoreChain SDK proposes and executes payments; a read-only MCP server lets any agent client inspect the vault, the proposals and the drill; a web console shows policy, balances and the append-only audit log; the agent runs itself daily on GitHub Actions. It is proven, not promised. The Q-Day Drill shows a forged post-quantum signature refused on chain (BadPqcSignature) while the real guardian-signed withdrawal pays the same amount from the same vault. Vault v2 closes the v1 midnight hole — the daily cap is a rolling 24-hour window, proven by a midnight-crossing test and a fuzz test that random payment sequences can never leave the window holding more than the cap. A red-team suite blocked 11/11 attacks against the live vault — forged signatures, unapproved payees, over-cap and replayed withdrawals, and a stolen key trying to rewrite the rules. The tripwire has fired live: on 30 Nov, 3 forged withdrawals were reverted on chain and the watcher paused the vault by itself (trip tx 0x85a33a1d3b500b1895a7b19351465980199aca78823dbe62cd1c77ef866659c4), then the guardian reopened it — balance stayed 1.0 QOR, nonce stayed 3. Tests: 31 Forge + 37 Node + 11 red-team — 79 automated checks, all green from a clean clone. The console connects the QoreX wallet read-only (address + EVM chain shown, nothing signed or sent). The agent has paid 23 payments totalling 17.1 QOR across 7 runs (the first session plus daily runs #10–#15, all hybrid-verified), with 14 proposals refused as designed. Judges can try it themselves, no install: live console and attack lab at https://jm-03.github.io/gogo-leash/console/ and https://jm-03.github.io/gogo-leash/lab/. Hardest parts: the public CometBFT RPC closes connections from our environment, so native broadcasts go via REST; and the fest linking codes are per browser session, so the proof transaction had to be re-sent with the session's own code.
Pushed 1 commit to main
Pushed 1 commit to main
Pushed 1 commit to main
Pushed 15 commits to main
and 10 more commits
Pushed 5 commits to main
Pushed 4 commits to main
Pushed 74 commits to main
and 69 more commits
New project.