Loops HouseKeyfree

NEAR HACKATHON
Links
Team
1 member- VLOwner
Vlad
Overview
Keyfree lets an AI agent deploy and upgrade smart contracts without a deployer key. The key does not exist, so nobody can steal it or talk the agent into misusing it.
The problem: AI coding agents and CI jobs now deploy and upgrade contracts, and to do it they hold a deployer key. In April 2026 one stolen deployer key was enough to upgrade Wasabi Protocol's contracts and take about $5 million.
What I built: the agent holds only a NEAR function-call key that can ask. A policy contract on NEAR, which has no access keys itself, holds the rules: which exact code may be deployed (the hash of the bytecode with its constructor arguments), which single upgrades are allowed, on which EVM chains, with which gas caps and daily budget. It builds the EVM transaction itself and asks NEAR MPC to sign it. Three people set the rules, and anything that widens the agent's power waits a public delay that any of them can cancel.
A spending limit guards payments. Keyfree guards a different moment: the deploy and the upgrade, where a contract learns who it pays.
How NEAR fits in: Chain Signatures give the policy its own address on every EVM chain with no private key anywhere, and function-call keys limit the agent at the protocol level.
Check it in two minutes. The agent's real key is published on purpose: https://worksonmyfridge.github.io/keyfree/challenge/ signs attacks with it in your browser and shows each refusal with its transaction. https://worksonmyfridge.github.io/keyfree/explorer/ shows the live policy with every call and the reason for each refusal. npm run check:claims re-checks every claim in the docs against the chains, right after git clone.
Where it stands: live on NEAR testnet, Base Sepolia and Ethereum Sepolia. 189 contract tests, 65 attacks refused, five security reviews by AI sessions. Testnet only, not professionally audited, no users yet.