{"slug": "agents-don-t-need-better-prompts-they-need-a-control-plane", "title": "Agents Don't Need Better Prompts. They Need a Control Plane.", "summary": "A developer argues that production AI agents need an external control plane rather than prompt-based guardrails, since anything an agent reads can become an instruction and anything it can do an attacker can make it do. The framework calls for per-agent identity separate from users and developers, short-lived task-bound scopes instead of wildcards, and treating agent credentials as crown jewels — citing Wiz's February 2026 report that Moltbook exposed roughly 1.5 million API authentication tokens, 17,000 owner emails and private agent-to-agent messages through a client-side key with no row-level security. The piece also points to the 2026-07-28 MCP spec, which deprecates Dynamic Client Registration for Client ID Metadata Documents and requires client credentials to be bound to their issuing authorization server.", "body_md": "Here's the uncomfortable truth about most \"AI agent security\" in production right now: it's a paragraph of English at the top of a system prompt asking the model to behave.\n\nThat isn't a control. It's a request.\n\nOnce software can take actions such as calling APIs, moving money, writing to databases or emailing customers, you're no longer securing a chatbot. You're securing a **non-deterministic process holding real credentials**, and it takes instructions from any text it reads. We already know how to govern untrusted processes with privileges. We call the answer a **control plane**, and agents need one.\n\n**Anything an agent reads can become an instruction, and anything an agent can do, an attacker can make it do.**\n\nOWASP's [Top 10 for Agentic Applications](https://genai.owasp.org/2025/12/09/owasp-top-10-for-agentic-applications-the-benchmark-for-agentic-security-in-the-age-of-autonomous-ai/) (December 2025) is the best catalogue of how that plays out. It lists goal hijacking through hidden prompts (ASI01), legitimate tools bent to destructive ends (ASI02), leaked credentials letting agents operate \"far beyond their intended scope\" (ASI03), poisoned MCP and agent-to-agent supply chains (ASI04), memory poisoning that persists across sessions (ASI06), cascading failures through automated pipelines (ASI08), and polished explanations that talk humans into approving harmful actions (ASI09).\n\nRead that list again and notice what's missing: none of the fixes live inside the model. Prompt injection is not a bug you patch. It's what happens when you feed instructions and data down the same channel. The only durable defense is **architectural**: assume the model will be compromised, and limit what a compromised model can do.\n\nIn February 2026, Wiz [reported](https://www.wiz.io/blog/exposed-moltbook-database-reveals-millions-of-api-keys) that Moltbook, a social network for AI agents, exposed its production database through a client-side key with no row-level security behind it. The exposure included about **1.5 million API authentication tokens**, more than 17,000 owner email addresses and thousands of private agent-to-agent messages, some containing third-party API keys in plaintext. Wiz said the data was secured within hours of disclosure.\n\nThe lesson isn't \"configure your database.\" It's that **agent credentials are the new crown jewels**, and most stacks store them like session cookies. A stolen agent token isn't a stolen login. It's a stolen *worker* that already has standing permission to act.\n\nHere's the framework I use. A production agent system needs five things that sit **outside** the model, enforced by code that the model can't talk its way past.\n\nAn agent needs its own identity, separate from the user who launched it and from the developer who built it. The questions an auditor will ask are \"which agent did this, on whose behalf, and under which grant?\" If your logs say only `service-account-prod`, you can't answer any of them.\n\nThe 2026 MCP spec pushes hard in this direction. The [2026-07-28 release](https://blog.modelcontextprotocol.io/posts/2026-07-28/) formally deprecates Dynamic Client Registration in favor of **Client ID Metadata Documents**, where a client's identity is an HTTPS URL it controls. It also requires that client credentials be **bound to the authorization server that issued them**, never reused across issuers ([changelog](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/docs/specification/2026-07-28/changelog.mdx)). That's the protocol admitting that \"anonymous clients registering themselves\" was not a foundation you could build governance on.\n\nRoles answer \"what kind of thing is this?\" Agents need an answer to a different question: **\"what exactly may this run do, to what, for how long, and up to how much?\"**\n\nThat means short-lived, narrowly scoped, task-bound grants:\n\n`*`. The MCP security guidance explicitly lists wildcard scopes such as `all` and `full-access` as common mistakes (\nThe agent never touches a tool directly. Every call goes through a **policy enforcement point**: a gateway that authenticates the agent, evaluates the call against policy and either allows it, denies it, or holds it for a human.\n\nThe 2026 MCP spec made this architecture much cheaper to build. Streamable HTTP requests must now carry the method and tool name in `Mcp-Method` and `Mcp-Name` headers, specifically so \"your gateway, rate limiter, or WAF can route and meter on those headers instead of parsing JSON bodies\" ([MCP blog](https://blog.modelcontextprotocol.io/posts/2026-07-28/)). The protocol core also went stateless, so any request can land on any instance behind an ordinary load balancer. Put together, that makes agent traffic look like ordinary web traffic, and ordinary web traffic is something we know how to police.\n\nA policy at that gateway can be boring, and it should be:\n\n```\n# agent-policy.yaml: evaluated at the gateway, never by the model\nagent: support-triage@arknet-example\non_behalf_of: required          # no action without a human principal\ntools:\n  crm.read_ticket:\n    allow: true\n  crm.update_ticket:\n    allow: true\n    constraints:\n      fields: [status, priority, internal_note]   # never customer-facing fields\n  billing.issue_refund:\n    allow: true\n    constraints:\n      max_amount_usd: 50\n      max_per_run: 1\n    require_approval_above_usd: 0   # every refund needs a human click\n  email.send:\n    allow: false                    # drafts only; humans send\nbudgets:\n  max_tool_calls_per_run: 40\n  max_wall_clock_seconds: 300\non_violation: halt_and_page\n```\n\nNote what this does. It doesn't ask the model to be careful about refunds. It makes an expensive refund **impossible** without a human, whatever the model has been convinced of.\n\nThe spec adds one more useful primitive. **Multi Round-Trip Requests** let a server return `input_required` and pause a tool call until the client supplies an answer, such as a user's confirmation. That turns human approval into a protocol feature instead of a UI hack. Supabase's team, quoted in the same release post, says it lets their tools confirm with the user \"before it acts, like the cost of a new project before it's created, or a query that would delete data.\"\n\nFor every action, record who asked, which agent acted, the grant it used, the inputs, the policy decision and the result. Write it somewhere the agent can't edit.\n\nThis isn't paperwork. It's how you debug a non-deterministic system, and it's what regulators are converging on. In the EU, the AI Act's transparency duties under Article 50 have applied since 2 August 2026, and the \"Digital Omnibus\" amendment moved the high-risk obligations to **2 December 2027** for Annex III systems and **2 August 2028** for systems embedded in regulated products ([Regulation (EU) 2026/1744](https://eur-lex.europa.eu/eli/reg/2026/1744/oj/eng); [European Commission](https://digital-strategy.ec.europa.eu/en/news/ai-omnibus-enters-force)). The delay doesn't remove the obligation. It's a runway for building logging and oversight before they're mandatory. Teams that build the evidence plane now will treat those deadlines as a non-event.\n\nWhen something goes wrong, and with probabilistic systems at scale it will, you need to answer one question fast: **how long does it take to stop every instance of this agent, everywhere, and revoke everything it holds?**\n\nIf the honest answer is \"we'd redeploy,\" you don't have a kill switch. You need central revocation of agent credentials, a circuit breaker at the gateway per agent and per tool, and automatic tripping on anomalies such as a spike in denied calls, unusual tool sequences or budget burn far above normal. OWASP's ASI08 (cascading failures) is exactly the scenario where seconds matter.\n\n**Put the boundary where the model can't reach it.**\n\nEverything in a system prompt is advice. Everything in the gateway, the token and the database is law. A well-designed agent system works safely even with a fully compromised model, because the model never held the power to do damage. It held the power to *ask*.\n\nThat's the same principle we already apply to every other untrusted workload: containers don't police themselves, browsers sandbox the JavaScript they run, and banks don't let tellers approve their own overrides. Agents are the newest untrusted workload, and they're also the most persuasive one, because they can write a convincing explanation for anything they do. OWASP gave that its own entry (ASI09) for a reason.\n\nAsk your team these five questions. Each \"no\" is a gap in one plane.\n\nEvery \"no\" is a place where your security depends on the model choosing to behave. That's fixable, and fixing it has a payoff beyond risk. It means the competitive edge in agents won't come from the smartest model. Everyone rents that from the same handful of labs. **It comes from being the team that can safely give an agent more authority than your competitors dare to.**\n\nAutonomy is a budget. The control plane is how you earn more of it.\n\n*Michael, ArkNet Digital: AI agents, MCP infrastructure, security and GRC engineering. [arknet.digital](https://www.arknet.digital)*\n\n*If you're putting agents into production and want a second pair of eyes on the identity, policy or audit layer, I'm happy to talk. And if you think one of the five planes is unnecessary, make the case in the comments.*", "url": "https://wpnews.pro/news/agents-don-t-need-better-prompts-they-need-a-control-plane", "canonical_source": "https://dev.to/arknetdigital/agents-dont-need-better-prompts-they-need-a-control-plane-3abi", "published_at": "2026-11-22 02:37:51+00:00", "updated_at": "2026-11-22 02:42:49.993609+00:00", "lang": "en", "topics": ["ai-agents", "ai-safety", "agent-protocols", "ai-tools"], "entities": ["OWASP", "Wiz", "Moltbook", "Model Context Protocol", "Anthropic"], "also_reported_by": [], "takeaway": "Enforce agent permissions outside the model with per-agent identities and short-lived, task-bound scopes instead of wildcards like 'all' or 'full-access', and bind client credentials to their issuing authorization server as the 2026-07-28 MCP spec requires.", "recommendation": {"advice": "Assume the model will be compromised: give each agent its own identity, issue short-lived task-bound scopes instead of wildcard grants, and bind MCP client credentials to the authorization server that issued them.", "playbook": "agent-security", "playbook_url": "https://wpnews.pro/playbooks/agent-security"}, "alternates": {"html": "https://wpnews.pro/news/agents-don-t-need-better-prompts-they-need-a-control-plane", "markdown": "https://wpnews.pro/news/agents-don-t-need-better-prompts-they-need-a-control-plane.md", "text": "https://wpnews.pro/news/agents-don-t-need-better-prompts-they-need-a-control-plane.txt", "jsonld": "https://wpnews.pro/news/agents-don-t-need-better-prompts-they-need-a-control-plane.jsonld"}}