Loops HousePursewarden

NEAR HACKATHON
Links
Team
1 member- MIOwner
Mickey Joe
Overview
AI agents need to pay for services, but giving a model unrestricted wallet authority is dangerous. Pursewarden is an open-source security system on NEAR that gives an AI agent a narrowly scoped payment capability while a smart-contract vault enforces the financial limits.
The owner creates a vault with no access keys and an immutable mandate: total budget, per-payment cap, approved recipients, expiration and request quota. The agent uses only NEAR function-call keys for request_payment; it cannot directly transfer funds, deploy code or add keys. The vault permanently charges each admitted payment before dispatching its native NEAR transfer. Even if a transfer fails and the principal is refunded, the spending authority is not restored.
We tested this under actual concurrency on fresh local NEAR chains: eight 2-NEAR requests against a 5-NEAR budget. The protected vault admitted two and denied six while transfers were still pending. Our intentionally vulnerable settled-only comparison contract delivered 17 NEAR. A reviewer-controlled verifier independently reconstructs blocks, receipts, state and refunds; when an operator deliberately omits an entire payment from a submitted evidence bundle, it recovers the hidden transaction and rejects that bundle.
The identical reviewed contract also passed a ten-transaction public NEAR testnet smoke test at pw-vault.pursewarden.testnet. A real Claude purchasing agent used an MCP payment tool and restricted signing gateway to pay approved invoices; it resisted injected instructions. A separate scripted compromised control triggered real on-chain denials. We distinguish those outcomes explicitly.
Explore the interactive evidence, reproducible tests and live read-only testnet checks at pursewarden.com. Experimental research prototype, not audited, not for production custody; no mainnet deployment.