Proxima

An agent wallet where AI agents can be tricked but can't move money outside the owner's ENS rules.

Proxima

Created At

ETHGlobal Mumbai

Project Description

AI agents now hold wallets, and they get tricked. Hidden instructions in a repo, an invoice, a web page or even a token's name can make an agent send funds to an attacker or grant a dangerous approval. Real incidents in 2026 (Grok × Bankr, the $7.5M jaredfromsubway drain) show that better prompts alone don't stop this.

Proxima is an agent wallet built on the assumption that the agent will be fooled. Any agent connects through the ProximaSDK and a popup wallet; the owner approves the session. The agent holds no keys to the funds. It can only propose actions, and Proxima decides.

Before anything is signed, the wallet privately simulates the transaction, lists every effect (payments, approvals, hidden balance changes), checks it against the owner's rules, compares it with what the agent claimed it would do, and traces which untrusted input (file, line, token name, page) led the agent astray. Each action is allowed, blocked, or sent to the owner for approval.

The rules live on the agent's ENSv2 name (e.g. demo.proxima-demo.eth): approved payees, per-payment and daily caps, approval thresholds. With Enhanced Access Control the agent has zero roles and cannot change them; expiry and unregister act as its lifetime and kill switch. Funds sit in a Safe, and our ProximaModule re-reads the ENS rules on-chain before every payment, so violations revert even if the wallet is bypassed or the agent key is stolen.

Every blockchain read goes through the Ethereum Foundation's Anon-RPC (Nox, with tor-js fallback), so the RPC never learns what the agent is doing. Self-serve 24-hour trial agents (tryN.trials.proxima-demo.eth) let anyone try it with tiny limits. Everything is live and verified on Sepolia.

How it's Made

Proxima is a pnpm TypeScript monorepo plus a Foundry contracts project, all running against live Sepolia.

On-chain (Solidity, Foundry): funds sit in a Safe v1.4.1. Our guard module (BlindspotModule) is the agent's only path to them (execute / executeBatch, 1-8 calls). On every call it checks the agent's ENSv2 name with getState (registered, owned by the caller, not expired), reads the owner's rules from the agent's ENS data record "blindspot.policy", and enforces allowed recipients, contracts and functions, per-transaction and daily caps, and "no leftover approvals" (ERC-20 allowances, NFT operators and approvals must be zero after the batch), reverting with named errors. The module is verified on Etherscan. A shared policy codec encodes rules byte-for-byte identically in TypeScript and Solidity.

ENSv2 (central, not cosmetic): blindspot-demo.eth points to our own UserRegistry (deployed via VerifiableFactory). Each agent is a subname registered with zero roles and its own Permissioned Resolver; Enhanced Access Control lets the agent write only its agent.status text record, never its rules. Expiry is the agent's lifetime and unregister is the kill switch. Agents publish an ENSIP-26 agent-context record, payees are ENS names (vendor1.blindspot-demo.eth), and the owner changed the daily cap with one ENS setData, no redeploy. Self-serve trial agents live in a nested registry, tryN.trials.blindspot-demo.eth (24-hour expiry), created by a TrialProvisioner that holds only ROLE_REGISTRAR and a setter role on a separate trial resolver, so trials can never touch the demo agent's rules or vault.

Wallet core (TypeScript, viem): every proposal is simulated with eth_simulateV1, reading balances and allowances in the same simulated block to get true post-state effects (catching tokens that move balances silently). Checks include rules, claim vs reality (what the agent declared vs simulated effects), look-alike addresses, proxy-upgrade detection via the EIP-1967 slot, rate limits and fail-closed on anything unrecognised. An origin trace tags every input as trusted or untrusted and points to the exact file, line or token name that introduced a bad recipient.

Anon-RPC (Ethereum Foundation): every read and broadcast goes through the browser harness, Nox on Sepolia with an automatic tor-js fallback, and the worker hash pinned against the on-chain specifier. A per-session meter shows the anonymized share (~95-100%); the only excluded traffic is the declared bootstrap read, plus a manual, clearly bannered "Direct" mode for outages.

Agent + SDK: the Proxima SDK connects any browser agent to the popup wallet over postMessage with origin checks; the owner approves a revocable session and the rules are handed to the agent at connect. Our example agent uses Groq gpt-oss-120b (model picker incl. custom/local endpoints) with tools like read_document, read_repo, token_info, propose and execute. Keys are encrypted in the browser (PBKDF2 + AES-GCM, memory-only unlock); the agent app never holds a key, and execute signs only an ALLOWed proposal re-checked just before signing.

Hacky bits: deduplicating EIP-7708 ETH-transfer logs against eth_simulateV1's synthetic ones; one resolver per agent because resolver roles cover every name a resolver serves; a separate trial registry so trial keys can't call the demo module; skipping ENS's nested "nexus" submodule, whose file names break on Windows.

background image mobile

Join the mailing list

Get the latest news and updates

Proxima | ETHGlobal