Loops HouseLatchGuard

NEAR HACKATHON
Links
Team
1 member- RAOwner
RAHAMAN
Overview
An AI agent should get a budget, not the keys.
LatchGuard is a keyless NEAR contract that holds the funds and only pays when the agent signs an intent binding recipient, amount, nonce and expiry. It rejects tampered, replayed, expired and over-budget payments on-chain; owner loosening is timelocked, pause is instant.
Live on testnet: an under-cap payment to an attacker was blocked, three payments hit the rolling-window cap, and tamper/replay/expiry/overspend were all rejected. The contract account has 0 keys. 41 tests cover the policy engine, signatures and contract paths.
Scope: it enforces intent integrity and spending policy; it does not claim scam detection, intent legitimacy, or protection against signing-key exfiltration.