Your agent asks.Holdfast decides.
A firewall between your AI agent and its crypto wallet. Every transaction is checked against your rules before it's signed, and the agent never holds the key.
Free to self-host. Works with Claude Code, Cursor and any agent that speaks Ethereum RPC.
- Pay 20 USDC to the team treasury Sent Known recipient, inside today's limit.
- Send 1,000 USDC to a supplier Held for you Over your $500 limit. Waiting for your tap on Telegram.
-
Approve
0x9f3a…c41eto spend all USDC Blocked That spender isn't on your list. Nothing was signed. -
Send 250 USDC to
0x7a25…48c9Blocked Looks like your treasury address but isn't one. Address poisoning. - Swap 0.5 ETH for USDC on Uniswap Sent Guaranteed price within 1% of the market.
No key was stolen. The agent was simply asked.
An attacker hid an instruction in Morse code inside a post on X. A Grok-linked agent decoded it, a connected wallet bot treated the answer as a command, and billions of tokens moved on Base within seconds.
Agents read web pages, token names and replies from strangers. Any of them can carry an instruction, and no prompt reliably filters text that only looks like data.
The fix has to live where the transaction is signed, outside the model. That's the only place a hijacked agent can't talk its way past.
Reported by Cointelegraph and CryptoSlate.
Watch an attack fail, live.
Claude Code with a real wallet on an Ethereum mainnet fork. A normal payment goes through, a big one waits for the owner, and a forced attack is refused.
85 seconds, recorded live. The private key shown is Anvil's public test key, holding no real funds.
What it stops.
Holdfast reads what a transaction actually does, including calls hidden inside other calls, then simulates it before anything is signed.
| The agent is tricked into | What Holdfast does |
|---|---|
| Approving an attacker to spend its tokens, on-chain or by signature | BlockedSpender isn't allowed, or the amount is over your cap. |
| Sending funds to an address you've never allowed | BlockedRecipient isn't on your list. |
| Paying a look-alike of a trusted address | BlockedNo approve button, even for you. |
| A drain hidden inside a router multicall or a Universal Router plan | BlockedEvery inner call and command is decoded, and nothing may be left in the router. |
| A swap with a terrible guaranteed price | BlockedMinimum output is checked against the market price. |
| Calldata from a website that costs more than the agent expected | BlockedOver the spend the agent declared up front. |
| A large, urgent-sounding payment | Held for youSent to your phone with the simulated balance changes. |
Measured on agent-wallet-bench, an open benchmark anyone can run: 103 of 105 attacks refused and the other 2 held for the owner, 6,600 of 6,600 generated variations refused, and every normal action allowed. A guard that only checks a contract allowlist refuses 23 of the same attacks.
How a request moves through Holdfast.
The agent only ever sends unsigned requests. Holdfast holds the key, or reaches it in AWS KMS or Turnkey, and signs only what passes.
Decode
Token transfers, approvals, Permit and Permit2 signatures, Uniswap swaps and multicalls are read into plain actions.
Simulate
The transaction runs against the live chain first, so you see the real balance changes, not what the agent claims.
Check your rules
Dollar limits per transaction and per day, allowed recipients and contracts, slippage, and known scam addresses.
Decide
One of three outcomes, each logged with its reason.
SentHeld for youBlocked
Works with the agent you already have.
No new wallet and no rewrite. Connect over MCP, or point an existing Ethereum client at Holdfast.
MCP agents
Claude Code, Cursor, Claude Desktop and other MCP clients get wallet tools in one command.
claude mcp add --transport stdio \ --env HOLDFAST_URL=http://localhost:8787/v1/rpc/bot \ holdfast -- node dist/mcp/stdio.js
Any other agent
Swap the RPC URL. The agent keeps only its address and sends unsigned transactions.
const wallet = createWalletClient({ account: '0xYourAgentAddress', // no key chain: mainnet, transport: http('http://localhost:8787/v1/rpc/bot'), });
You stay in charge.
Approve from your phone
Held requests arrive on Telegram with what the transaction does and its dollar value. One tap sends it. One tap rejects it and freezes the agent.
See every decision
A live dashboard shows each request with the reason it was sent, held or blocked, and each agent's spend against its limits.
Change the rules live
Edit limits and allowed addresses in the dashboard. Changes apply to the very next request, with a backup of the old rules.
Run it yourself in five minutes.
Holdfast runs on your own machine or server, so your keys never pass through anyone else. It needs Node.js 22.13 or newer.
git clone https://github.com/HoldFastDev/holdfast cd holdfast && npm install cp .env.example .env cp config/policies.example.json config/policies.json npm run keys:new -- keys/my-agent.json # prints the agent's address npm run admin:token # dashboard login, shown once npm run dev