Loops HouseSE
Sentraio

Event
NEAR HACKATHON
Team
1 member- EMOwner
Emmanuel Abel Zoe
Overview
AI agents can now hold money, and a single prompt-injected invoice is enough to make one pay the wrong account. Spending caps don't help: the payment is small and inside the cap. The real question is who is being paid and what will actually happen, and the agent must not be able to skip it.
Sentraio is a guard for AI agents that hold money on NEAR, in three layers:
- Clearance runs nine checks before anything is signed (mandate, vault code hash, receiver, shared blocklist, look-alike names, history, token, amount) and simulates the payment on real contract code in a sandbox. Worst result wins: allow signs a single-use approval, warn asks the owner, block refuses.
- Vault is a Rust contract that holds the funds and moves them only inside the owner's on-chain mandate with a fresh Clearance signature. Bypass attempts earn strikes and auto-freeze the agent; warns need the owner's NEP-413 wallet signature; a constant-gas Panic drains everything to the owner and deletes the agent's key.
- Tx X-Ray reads every receipt of any NEAR transaction and explains which step failed, why, how to fix it, and where the funds are now.
NEAR fits because its primitives make this enforceable: function-call access keys limit the agent to vault.execute only, NEP-413 lets the owner approve off-chain with their wallet, and the receipt model is exactly what Tx X-Ray explains. Live on testnet, with a reproducible attack demo.