Loops HouseAgent Guard

NEAR HACKATHON
Links
Team
1 member- SAOwner
Sam
Overview
Agent Guard is a payment firewall for AI agents. AI agents are starting to pay invoices, and one prompt injection ("urgent, confidential, from the CEO") is enough to drain a wallet. With Agent Guard the agent never holds a key: it can only ask to pay. Every request goes through deterministic policy first (per-payment cap, daily budget, rate limit, payee allowlist, denylist, and a "known vendor, new wallet" check that catches invoice-redirection fraud), then a Gemini screener for injection, urgency and secrecy that can only make a decision stricter, never looser, and fails closed. The result is allow, hold for a human, or block. Allowed payments leave a treasury as USDC on NEAR, signed by a minimal built-in NEAR signer; payouts to Base, Arbitrum, Solana and Ethereum route through NEAR Intents 1Click with a fee ceiling. Every decision lands in a SHA-256 hash-chained audit log, and the owner console approves or denies held payments. Mainnet proof: a $1 invoice paid in USDC on NEAR (https://nearblocks.io/txns/8wvphK68ZurtEKgfxDa3xqW1RQ8VYDKrHZWhmJgbphJK) and a $2 owner-approved payout delivered on Base via NEAR Intents (https://basescan.org/tx/0x39f9fa7d96912638e0c48a2e46fffcadf1b1c576d5f8c2606abe8ca57f0dde09). The public demo is sandboxed per visitor; real money moves only for the owner. FastAPI + Turso, runs offline in 60 seconds with zero keys, 19 tests. Sibling entry: AI-Shtat Pay (github.com/Dengel88/nearhackaton).