A hijacked agent can't drain you.
The firewall for AI agent wallets. Every transaction is checked against your rules before it is signed, and enforced by the wallet contract on-chain.
USDGCap your agent.Sign nothing blind.
Put the funds in a Bulwark wallet, give your agent a key that can only act inside your rules, and keep a small float on the agent key for x402 payments. Whatever the agent is told to do, it moves at most the day's caps, only to places you allowed, until you freeze it.
Plug it into Claude Code in one line.
The Bulwark MCP server gives Claude a wallet it can pay, swap and call contracts from, inside your rules. Same for Claude Desktop, Cursor and any MCP client.
claude mcp add bulwark -- node bulwark.mjs mcpConnect your agent Every transaction checked against your rules before it is signed.
Open the appThe wallet
Your funds sit in a small contract clone. The agent holds a key that can only call execute(); you keep the owner key that can withdraw, freeze and change the rules.
Your rules live in the wallet, not in the prompt.
A prompt can be rewritten by any page the agent reads. A contract cannot. Caps, allowlist and the threat list run inside execute(), on every agent call.
How the rules workRules that speak this chain's assets.
USDG caps, the 47 stock tokens, the Universal Router and Pons curves. Track up to ten tokens per wallet; anything you did not add can sit in the wallet but never leaves through the agent.
Set your rulesA prompt injection, replayed from our live test.
A web page tells the agent to send everything. The SDK refuses before signing; forced through, the wallet contract reverts.
What it stops

A page tells your agent to send everything.
Poisoned text in a web page, an email or a tool result tells the agent to move funds to an address it has never seen.
daily caps + allowlisted recipients
An approval that never ends.
The agent is asked to approve type(uint256).max to a contract that later sweeps every token it is allowed to pull.
approvals: allowlisted spenders, never max, within the cap
A signature that moves tokens.
Permit, Permit2 and EIP-3009 signatures move tokens without a transaction. One signed message is enough to empty a normal wallet.
no ERC-1271 + the SDK refuses typed data
An address that looks like yours.
A look-alike address with the same first and last characters lands in the history, and the agent copies the wrong one.
allowlist + look-alike check before signing
The agent key leaks.
A log, a crash report or a compromised machine exposes the agent key. Whoever holds it acts as your agent.
caps, freeze, rotate the agent key
A contract already seen draining.
The agent is pointed at a contract that has collected approvals and swept wallets on this chain before.
threat registry, read inside execute()
A router that takes more than asked.
A router or aggregator pulls more than the swap needs, or a second token, through a path no decoder can read.
caps by balance deltaGive your agent a key, not your funds.
One transaction creates the wallet. Set a cap, allow the contracts your agent needs, plug the SDK or the MCP server in, and keep the freeze button in reach.