QoreShield is an autonomous agent that pays a small team's approved bills from a treasury — and defends itself. Vendor invoices are ML-DSA-87 signed and verified before any payment, spending rules cap what the agent can move, and on a compromise signal the agent revokes the old key, halves the limits and anchors the incident id in the revoke transaction's memo. The old key pays nothing after that.
How it's made
TypeScript agent (src/agent.mjs) built with @qorechain/sdk, @qorechain/evm and @qorechain/pqc on the Diana testnet (chain id 9800): hybrid ML-DSA-87 signing, PQC key registration with proof of possession, abstract-account authenticators and spending rules, plus pqcVerify / pqcKeyStatus precompiles. A Foundry vault contract (contracts/QoreShieldVault.sol, 7 tests passing) handles a scoped EVM window for deposits and guardian-signed withdrawals. Vendor onboarding and ML-DSA-87 invoice signing/verification live in src/vendor.mjs; the demo inbox holds 4 genuine vendor invoices and 1 injected forgery, and src/attack-lab.mjs proves the refusals.