WalletCordon

WalletCordon gives AI agents wallet access without giving them unrestricted control.

WalletCordon

Created At

ETHGlobal Mumbai

Project Description

WalletCordon is a personalized security layer between an AI agent and a user’s wallet. The goal is simple: let AI agents perform useful on-chain actions without giving them unrestricted control over a user’s money.

Instead of accessing the wallet directly, the agent must propose the exact transaction to WalletCordon, including the chain, wallet address, contract, calldata, value, nonce, gas, and fees. The transaction then passes through five stages: Propose, Normalize, Check, Simulate, and Decide.

First, WalletCordon normalizes the proposal so the transaction being checked is exactly the one that may later reach the wallet. Its deterministic engine then compares it against the user’s policy. Allowed contracts, function selectors, spending limits, token approvals, recipients, gas limits, slippage, expiry, blocked addresses, and other rules. It also checks fresh protocol-state information to determine whether a contract is operational, paused, stale, or potentially compromised.

WalletCordon then simulates the complete transaction using independent trace-capable nodes. This analysis goes beyond checking whether the transaction succeeds. It inspects internal contract calls, token transfers, approvals, emitted logs, gas usage, storage changes, and unexpected code changes. The nodes must agree on the result before the transaction can continue.

Most importantly, this simulation is personalized. A professional trader may be comfortable allowing a 1,000 USDC swap, while another user may want a maximum limit of 100 USDC. The same transaction could therefore be approved for one user and denied for another. WalletCordon evaluates whether a transaction is safe for that specific user, not just whether it looks generally safe.

Users can create these rules in plain language with the Policy AI Maker and review or modify every permission using the visual Block Builder. AI only generates a draft; deterministic code validates and enforces the actual policy. If a rule is broken, a hidden internal call appears, protocol state is unsafe, or simulations disagree, WalletCordon denies the transaction before the wallet is asked to sign.

How it's Made

WalletCordon is built with Node.js, Next.js, React, ethers.js, Solidity, Foundry, and two independent Anvil nodes.

A guarded EIP-1193 provider acts as the enforcement boundary. It normalizes the exact transaction envelope, evaluates machine-readable JSON policy rules, verifies threshold-signed Ed25519 protocol-state bundles, and requires full-trace simulation consensus before forwarding eth_sendTransaction.

The simulator compares internal calls, logs, gas usage, state writes, code changes, and asset movements across both nodes. Our Solidity demo includes a normal router and a compromised path containing a hidden internal call, proving that valid-looking calldata can still be denied.

The Policy Studio uses AI to translate plain-language requirements into constrained draft rules. Deterministic code then resolves addresses, compiles exact limits, and validates the result. The AI never sees a private key and cannot activate a policy. Decisions are stored as hash-chained audit receipts, while the interface displays the complete allow-or-deny evidence.

background image mobile

Join the mailing list

Get the latest news and updates