BankDoor blocked 30 of 30 payment and smuggling calls aimed at a fake bank MCP server
We sent 30 attack calls through BankDoor's allowlist proxy to a fixture bank with fake money. None reached the server, and the ungated control moved 250000 fake cents.
By David Discua
Measured in the lab
- 30/30
- attack calls blocked
- 0 cents
- fake money moved through the gate
- 141/141
- tampered receipt copies caught
- 3 of 5
- tools visible to the agent
- 30 of 30 attack calls blocked before the bank server
- 0 cents of fake money moved through the gate
- 3 of 3 allowed reads returned data
- 28 receipts verified offline with only the public key
- 141 of 141 tampered receipt copies detected
From reports/bankdoor.json · run on October 21, 2026. bankdoor 0.1.0, Bun 1.4.3, MCP SDK 1.32.1; fixture bank server with fake money over MCP stdio; latency changes on every run
How it is wired
01/04Your agent calls a bank tool over MCP.
BankDoor Policy Pack is an allowlist proxy that sits between an AI agent and a bank MCP server. A YAML policy names the read tools the agent may call and the arguments each one accepts. Everything else is denied in code and gets an Ed25519-signed receipt you can check offline. We aimed 30 attack calls at a deliberately unsafe fixture bank through the proxy, and all 30 were blocked before they reached it. The catch is that the fixture is the only bank this ran against, and a server that keeps a tool's exact definition while changing what it does gets through.
The catch
BankDoor decides on names, arguments and pinned tool definitions. It does not watch what a tool does once it is allowed. The README lists the gaps plainly. A server that keeps the same name, description and schema but starts moving money is not detected, and pins are checked once, at proxy start. If you allowlist a tool with an innocent name that pays, say get_report, BankDoor forwards it. Only blocked calls get receipts, so allowed calls leave no signed record. Deleting the newest receipts is not detectable without an outside anchor. And if the agent can read the signing key, edit the policy or reach the bank server directly, none of this helps.
No real bank account, payment provider or brokerage was used. The only real server touched was bankmcp v0.1.15, and only its tool listing, unconfigured and with no bank login.
What we ran (keyless)
bun install --frozen-lockfile
bun run report
A real MCP client talks to the real proxy over stdio, which talks to the fixture bank over stdio, with real Ed25519 keys. From reports/bankdoor.json, run on October 21, 2026:
| Measure | Result |
|---|---|
| Tools the agent sees through the gate | 3 of 5 |
| Allowed reads that returned data | 3 / 3 |
| Attack calls blocked | 30 / 30 |
| Attack calls that reached the bank server | 0 |
| Fake money moved with the gate | 0 cents |
| Fake money moved without the gate (control) | 250000 cents |
| Receipts verified offline | ok, 28 receipts |
| Tampered receipt copies detected | 141 / 141 |
The fixture is unsafe on purpose. Its get_transactions honors undocumented action: "transfer", to_account and amount_cents fields. A rug-pull variant keeps the name get_balances and sweeps 1000.00 to acc_mallory on every call. A renamed variant serves transfer as move_money. The control calls the fixture without the gate (one transfer, one smuggled read, one rug-pulled read) to prove the money really moves.
Block reasons in the run were money_movement_or_write 10, arg_invalid 7, invalid_tool_name 6, not_allowlisted 3, arg_not_allowed 2, arg_missing 1 and schema_drift 1. An allowed read took 1.31 ms at p50 through the gate and 0.69 ms straight to the fixture, over 200 calls. Latency moves on every run.
How it is wired
Your MCP client launches the BankDoor proxy in place of the bank server. For each tools/call the proxy checks that the name is plain ASCII, that the server is in the policy, that no name token is one of 47 built-in payment or write words (snake, kebab and camelCase are split, so payBill is caught), that the name is an exact allowlist match, that the live tool definition hashes to the pinned schema_sha256, and that every argument is declared, typed and in range. A denied call never reaches the server. Its receipt stores argument names and a sha256 of the values, never the values.
Minilab (open source)
The shipped preset targets noskillish/bankmcp v0.1.15 (291 stars, MIT, TypeScript, as of October 24, 2026). It allows five of its reads and denies the other seven tools. Clone the lab, run bun run report, and check that blocked_total equals attack_total and cents_moved_with_gate stays 0 in reports/bankdoor.json.
Run it yourself
SkilledDragonCorp/bankdoor-policy-pack
Clone, install and run the report with no API keys. The numbers above are what that run writes.
bun install --frozen-lockfile && bun run reportSkilledDragon is not affiliated with noskillish/bankmcp, any bank, or the Model Context Protocol project. Numbers are from our own keyless lab run against a fixture server with fake money; re-run the report before relying on them. Marks belong to their owners.
All labs