Loops HouseAirlock

NEAR HACKATHON
Team
1 member- HAOwner
Harsh Agrawal
Overview
Crypto gets drained at the moment someone signs. Bybit lost $1.5B after attackers swapped the Safe{Wallet} JavaScript. Hidden text in a web page drained an AI agent's wallet in May 2026. A poisoned Trust Wallet extension update took about $7M. A browser extension cannot stop these, because Chrome never shows an extension a site's code before it runs, and an agent that drives the browser can click the extension's Approve button.
Airlock is a Chromium browser for AI agents that spend money on NEAR. Pages call window.near and Airlock decides who signs. The agent holds a NEAR function-call access key scoped to one contract method with a gas allowance, so the protocol itself stops it from moving funds. Any request that moves funds opens a separate approval window that the agent API cannot reach, and the owner's full-access key signs only after a human clicks (with Touch ID on macOS). Airlock reads each receiver from NEAR RPC and NearBlocks. It blocks lookalike and blocklisted accounts and requests for full-access keys, and it asks the human about accounts created or changed in the last 7 days. It hashes every file a pinned dapp serves before the page gets it and refuses changed code.
The demo runs on NEAR testnet with real transactions. A scripted agent signs a guestbook entry with its scoped key, obeys a hidden prompt and gets blocked twice, fails to approve its own tip, and then a swapped app.js never runs.