Loops HouseWardy Shield

NEAR HACKATHON
Links
Team
1 member- ALOwner
Aleksandr Krupnov
Overview
Problem: AI agents now hold wallets and pay for APIs, data and other agents, and nobody checks who actually gets the money. The fake invoice ("our account has changed") already cost businesses $3 billion last year (FBI IC3, 2025). A person might call to check. An agent just pays. Spending limits don't stop it: the scam is small and inside every limit. The real question is who is being paid, and why.
What we built: Wardy Shield (repo wardy-agent) gives AI money without giving it the keys. Worker agents hold no keys and no spend grant: to pay anyone they must call wardy_pay (MCP or HTTP), so the check can't be skipped. Six detectors (lookalikes of your own payees, new or nonexistent accounts, duplicate and "retry" payments, instructions hidden in invoices and tool results, wrong-chain addresses, unusual amounts) plus the owner's policy decide ALLOW, HOLD or BLOCK, with a 0-100 risk score, reasons and an ed25519-signed verdict. ALLOW pays through custody. HOLD asks the owner on a phone page with a one-time link. BLOCK refuses. Rules decide; the AI can only add risk, never lower it.
NEAR: invoices are read privately by a model in a TEE on NEAR AI Cloud, with the attestation verified. Custody runs on NEAR Intents Agent Connect (mainnet, small real payments) and OutLayer (testnet, real payments from the live site). Proven scams become signed reports in the Wardy Network, whose Merkle root is anchored in a NEAR testnet contract, so one attack protects every agent. Other agents hire it on the NEAR AI Agent Market and get a signed check.
How we tested it: real payments run through it on NEAR mainnet and testnet. The Attack Lab also replays 10 known attack types and 5 honest payments with and without it, so anyone can repeat the test: without it, a gullible agent pays every scam; with it, nothing is lost and 5 of 5 honest payments pass. A holdout shows what it still misses. Try: npm run demo -- --offline, or live at https://wardy-agent.fly.dev