{
  "id": 23807551,
  "title": "Your AI agent will sign whatever it's told. Here's where to stop it.",
  "url": "https://urgent.news/2026/12/06/your-ai-agent-will-sign-whatever-its-told-heres-where-to-stop-it",
  "topic": "ai",
  "section": "AI",
  "published": "2026-12-06T10:17:41.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/holdfastdev/your-ai-agent-will-sign-whatever-its-told-heres-where-to-stop-it-3l8d"
  },
  "original_language": null,
  "account": "In May, an AI agent connected to a crypto wallet transferred roughly $175,000 worth of tokens without compromising a private key or discovering a smart contract bug. A message containing instructions in Morse code was posted on X, which an AI decoded and a wallet bot interpreted as an order, causing the tokens to move within seconds to the Base network. This incident highlights the vulnerabilities of nearly all agent wallet setups being developed currently. The attack relies solely on text, as agents can access information from web pages, token names, API responses, replies from strangers, and more. Language models excel at following instructions but struggle to distinguish between genuine instructions and those inserted by malicious actors. Standard defenses, such as limiting transactions to a small amount, are insufficient because an attacker can craft convincing text to bypass these safeguards. A second layer of review, while helpful, cannot prevent poisoning of the text used by the language model. Filters that rely on unintuitive encodings will also fail. The solution lies in architectural changes, rather than refining prompts. The primary rule should be that the agent never holds the key, but instead proposes transactions for signing by a separate entity. The decision on the transaction's purpose should be made independently, separate from what the agent states. Decoding the calldata, simulating it against the blockchain, and examining the resulting balance changes are essential steps. Limits should be enforced by code, with authorized spending caps, recipient addresses, and contract restrictions checked by a system the agent cannot manipulate. Large transactions should always require human approval. This boundary remains effective even if the agent is fully compromised. The attacker can still request transactions, but cannot decide their nature. The second rule often leads to weak guardrails, as transactions conceal hidden actions. Approvals embedded within complex calls, permit signatures, look-alike addresses, swaps with no price floor, and calldata from external sources can all be exploited if not carefully inspected. Holdfast, a self-hosted service, implements these three rules in a unified system. When an agent communicates with Holdfast, it sends unsigned requests, and the service decodes various transaction types, simulates their impact on balances, checks against predefined rules, and returns one of three outcomes: approved, held, or blocked, along with a reason. The agent can read this response, enabling it to understand the outcome of its request. Rules are defined in a JSON file per agent, specifying allowed contracts, whitelisted spenders, permitted recipients, and various spending limits. Each agent's configuration can be tailored to specific needs, ensuring a flexible and robust security framework.",
  "summary": "In May, an AI agent connected to a crypto wallet sent away roughly $175,000 worth of tokens. Nobody stole a private key. Nobody found a bug in a smart contract. Someone posted a message on X with an instruction hidden in Morse code, an AI decoded it, and a wallet bot that listened to that AI treated the answer as an order. The tokens moved on Base within seconds. ( Ledger's write-up , AMBCrypto )…",
  "summary_source": "publisher",
  "key_points": [
    "AI agents can transfer significant funds without compromising private keys.",
    "Attack relies on text instructions, exploiting agents' ability to access web data.",
    "Architectural changes required, not prompt refinement, to enhance security."
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "outlets_capped": false,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}