Loops HouseOutwit

NEAR HACKATHON
Team
1 member- BEOwner
Bernard Onuh
Overview
Outwit: Your agent proposes, Outwit decides. š”ļø
AI agents are starting to hold wallets and pay invoices, but they can be sweet-talked, guilt-tripped or prompt-injected into sending money to the wrong person.
In 2024, one message convinced the AI agent Freysa to give away its entire $47,000 prize pool.
Outwit is a firewall for AI agents handling money on NEAR. It separates deciding to pay from being allowed to pay:
š¹ Restricted agent key: The agent's NEAR function-call access key can only call propose on an Outwit vault contract. It cannot move funds by itself.
š¹ Intelligent security checks: Every proposal is checked against on-chain payees, invoices, payment history and the conversation behind the request. Outwit detects redirected invoices, lookalike wallets, fake or duplicate invoices, self-payment attempts, prompt injection and drain attempts. Every approval or rejection, including its reason, is recorded on NEAR.
š¹ Hard on-chain limits: Per-payment caps, daily limits and rate limits are enforced by the Rust smart contract. Breaking a limit leashes the agent and deletes its key, preventing even a fooled agent from draining the vault. Only approved payees can raise invoices, signed with their own keys.
Developers can integrate Outwit into any agent through an MCP server, Python client or HTTP API. A single command onboards an existing agent.
To prove it works, we built a public "Rob the Agent" arena where anyone can try to scam Keeper, our AI treasurer with a real NEAR testnet vault.
Every attempt is a real transaction.
Our invoice redirect scam was rejected on-chain: https://testnet.nearblocks.io/txns/7VYC9XBT5FNLWr7dnPKM4PiuEXu8mfSAzm89qrC6wiP4
Try to break the bank. If NEAR lands in your wallet, you keep it!
Live: https://outwit.onrender.com Code: https://github.com/BernardOnuh/outwit