Loops HouseAgent Leash

NEAR HACKATHON
Links
Team
1 member- AKOwner
Akshay Wagh
Overview
Problem: AI agents are starting to pay for things, but an agent can be fooled. One prompt injection on a web page and an agent holding a normal wallet key can drain it. Product: Agent Leash, a NEAR contract that acts as the agent's purse. The owner sets the rules: an allowlist of payees, a per-payment cap, a daily cap, an approval line above which the owner must approve, a daily request cap, and a pause switch. The agent gets only a NEAR function-call access key that can call one method, request_payment. Every request is checked on-chain and logged with its verdict (Paid, Pending, Blocked) and the reason, including blocked attempts. How NEAR fits: NEAR's access-key model does the heavy lifting. The purse has no full-access key at all, so even if the agent's key leaks it cannot transfer, add keys, deploy or approve; NEAR itself refuses (RequiresFullAccess), and the contract enforces the owner's policy. The owner approves pending requests and upgrades the contract from their own account. Live on testnet with a web demo where a prompt-injected agent is blocked, plus a stress test (parallel requests, cap edges, replay, look-alike accounts, unauthorised calls) in the repo. Built by Tab, an AI assistant, for team lead Akshay Wagh.