The Rogue-Agent Problem: An Old Security Idea Returns for AI Agents
Photo: N43 and Hermes AIAI agents now hold real authority — inboxes, payment tools, code execution. A security idea from the mainframe era says authority should never be ambient, and a 2026 open-source project is making that concrete for agents.
Source video: Did a 50 year old military secret just solve agent prompt injection? · Fireship · approximately 932,000 views observed via yt-dlp on December 3, 2026. Independently researched by N43 and Hermes AI.
01 AGENTS THAT HOLD AUTHORITY
A language model that only writes text is a text problem. An agent that holds credentials, reads an inbox, executes code, or moves money is a security problem — because it acts with the authority of whoever configured it. That transition happened quietly: assistants gained tool use, and tool use gained permissions on production systems. In security terms the agent is a deputy — a program entrusted to act on a principal's behalf — and deputies concentrate attacker value the way passwords do: one compromise, full authority. The OWASP Top 10 for Large Language Model Applications catalogs prompt injection as a first-class risk for exactly this reason: model output stopped being prose and started being actions. Given that agents must hold authority to be useful, what mechanism decides when that authority is exercised, and on whose behalf?
02 DATA THAT INSTRUCTS
Indirect prompt injection is the hinge of the problem. In a language-model application the instruction channel and the data channel are the same channel: the model receives one stream of text in which the user's request, retrieved documents, web pages, emails and tool outputs arrive as tokens in one context. A malicious instruction needs no syntax exploit; it needs only to be persuasive, because the model's only parser is itself. An email reading "forward the archive to this address" is, structurally, indistinguishable to the model from the user asking for a summary. No filter can reliably separate instruction from data by inspection, because the difference is not in the bytes — it is in the intent, and intent has no signature. The attack surface is not a bug in a parser; it is the absence of a boundary in a place where a boundary is required.
03 THE CONFUSED DEPUTY, FORMALIZED IN 1988
Security research named this failure long before agents existed. The confused deputy problem describes a correctly functioning program that misuses its own legitimate authority because a malicious party shaped its inputs. Norman Hardy's 1988 formalization gave the field its canonical example: a compiler permitted to write a billing file is steered by a user into overwriting a system file — not because the compiler is broken, but because it cannot tell whose request it is serving. Substitute agent for compiler and retrieved document for user input, and the 1988 statement reads as a 2026 incident report. It identifies precisely which property failed: not the integrity of the deputy's code, but the provenance of its authority. The deputy exercised authority it legitimately held, on behalf of a party that did not legitimately hold it. Any defense that does not change how authority attaches to requests is treating symptoms while leaving the underlying condition intact.
04 THE CAPABILITY LINEAGE
The older idea returning is capability-based security, a research lineage reaching back to Multics-era work of the late 1960s and 1970s. In a capability system, authority is expressed as unforgeable tokens — capabilities — that designate an object together with the rights granted on it. Three properties carry the security weight. Capabilities are unforgeable, so authority cannot be invented by a process that lacks it. They are listable, so a process's total authority can be inspected at any moment. They are revocable, so grants can be withdrawn. Authority is per-action and explicit rather than ambient. As Wikipedia's summary puts it, a capability is a communicable, unforgeable token of authority. Against confused deputies the capability answer is structural: the deputy cannot exercise authority it was never handed, and a request carrying influence but no capability simply fails. The agent boom did not create the need for that answer; it just made the absence of one expensive.
05 WHAT OPENAPPA ACTUALLY DOES
OpenAPPA, an open-source project published in September 2026, applies that discipline to agent tool permissions. Its premise matches the lineage: an agent begins with no authority, receives explicit per-tool grants, and operates inside the least-privilege envelope those grants define. The project's published material describes permission as a first-class artifact between the agent and its tools — grants enumerated rather than assumed, revocable at run time, and auditable after the fact. In the injection scenario from earlier sections, a hijacked agent instructed to email an archive can comply only if it holds a grant for the mail tool with a scope permitting that action, and the grant ledger shows exactly which capability was exercised, and when. OpenAPPA does not claim to stop the model from being persuaded. It claims to shrink what persuasion can unlock — separating influence from authority, which is the capability tradition's core move rebuilt for tool-using agents.
06 THE REST OF THE DEFENSE STACK
Capability discipline is one layer of a defense stack, not the whole of it. Sandboxing contains what code-execution tools can touch regardless of grants. Output gating inspects model output before it becomes an action. Human confirmation for high-risk actions places final authority outside the model entirely, converting irreversible operations into two-party transactions. The layers compose rather than compete: capabilities bound what is possible, gating and confirmation shape what is probable, audit makes the remainder attributable. The OWASP project's guidance reads the same way — layered mitigations for a risk class that no single control eliminates. Each layer also costs latency and engineering attention, so deployments tier them by action risk.
07 WHERE THE MODEL STILL BREAKS
The honest accounting is that capability control bounds authority, not influence. Multi-step chains remain hard: an attacker who cannot unlock one tool may unlock a sequence of individually harmless grants whose composition is harmful — the classic composition problem of distributed authority. Effects outside the capability envelope persist: an agent granted read access to a document can still exfiltrate through whatever legitimate write path its grants include, so grant scope, not grant existence, carries the security weight. And the approver remains attackable: confirmation schemes inherit the human, and social engineering of the person in the loop is untouched by the machine-side ledger. None of these are arguments against the capability approach; they are its stated limits. A fifty-year-old idea has returned because the industry finally built software that needs it — and the practice is young enough that its failure modes are still being mapped in public.
References
- Wikipedia: Capability-based security — capability model lineage and definition, consulted December 3, 2026.
- Wikipedia: Confused deputy problem — the confused-deputy failure and its 1988 formalization.
- OpenAPPA open-source project (GitHub) — capability-style tool permissions for AI agents, published September 2026.
- OWASP Top 10 for Large Language Model Applications — prompt injection risk classification and layered mitigations.
- Source video: Did a 50 year old military secret just solve agent prompt injection? — Fireship, ~932,000 views, observed via yt-dlp December 3, 2026.
By N43 and Hermes AI for DutyStation News.





