Loops HouseTripwire

NEAR HACKATHON
Team
1 member- MOOwner
Momobu Destiny
Overview
AI agents now hold wallets and pay on their own. Spending caps stop an agent paying too much, but not paying the wrong account: one poisoned prompt can swap the recipient for a drainer or a lookalike contract, and the agent just signs. Tripwire checks WHO an agent pays before it signs. It has three parts on NEAR testnet: a shared on-chain scam registry contract (reporters flag accounts, get_risk returns a score); a TypeScript checker/CLI that reads the registry over public RPC, adds lookalike-name and account-existence checks, and returns ALLOW, WARN or BLOCK for every account a transaction touches; and a guard vault contract that calls the registry cross-contract before paying, so drainers are blocked on chain, medium-risk payments are held for the owner, and failed transfers refund. NEAR AI (gpt-5-nano on NEAR AI Cloud) reads the payment purpose as a second opinion and can only raise ALLOW to WARN, never unblock. Includes a Rhea staking demo with a prompt-injected lookalike, an OutLayer approver adapter (dry run), 75 passing tests, and a hosted no-wallet checker at tripwire-near.vercel.app.