Briefing · Paper · source · published · Boston Identity
No app, no developer: least privilege for an AI agent has to come from the task, six security researchers argue
Four Google researchers, one also at UW Madison, join Earlence Fernandes of UC San Diego and Johann Rehberger of Embrace The Red to apply classic systems security to AI agents. Their workshop report argues that hardening the model is often not enough, and that an agent's least privilege has to be worked out from each task, because there is no app whose permissions a developer declared. Its eleven retold attacks, ten from Rehberger's own blog, are all marked as information-flow failures.
arXiv · Mihai Christodorescu, Earlence Fernandes, Ashish Hooda, Somesh Jha, Johann Rehberger, Khawaja Shams · December 1, 2025 · read
What's happening
Finding4With no app developer to declare permissions, an agent's least privilege has to be predicted from its task description, the authors argue.
The authors argue that least privilege cannot reach an agent the way it reached phone apps, where a developer declares the permissions up front. "In agentic systems, there is no app developer and there is no app," they write, only a natural-language task that can change, so the agent's privilege "needs to be predicted from the task description." Their example is a browser agent asked to comment on GitLab issue 7745. It needs that issue page and write access to its comment box, and nothing else in GitLab or the user's browser session. A follow-up request to summarize the issue changes what it needs, while untrusted text is already in its context. Today, they note, an agent typically has uniform access to all tool calls, and they cite OpenAI's advice to enable only the connectors a task needs as least privilege enforced by hand. Existing work, they write, does not solve the problem of specifying the policy.
flag a problem with BI-FIND-2025-0256
The paper's eleven attacks are earlier public write-ups the authors did not rerun, and its Table 1 marks all eleven as failures of secure information flow.
The paper's eleven attacks are earlier public write-ups, and the authors ran none of them again. Ten cite co-author Johann Rehberger's own Embrace The Red blog posts and one, Cursor's AgentFlayer, a post by M. Simakov on Zenity's research site. The authors' Table 1 marks all eleven as failures of secure information flow and six as failures of least privilege. The other principles are ticked less often: complete mediation in three cases, and tamper resistance of the trusted base and the human as weak link in two each. The table also disagrees with the authors' own prose in two places: the Cursor text names four violated principles where the table ticks two, and the ChatGPT Operator text names only information flow where the table adds the human weak link.
flag a problem with BI-FIND-2025-0258
Figure steps
- The attacker hides an instruction in a comment in a code file the developer will ask Claude Code to work on.
- Claude Code reads the file during the task and follows the hidden instruction.
- It reads an API key from the developer's .env file.
- It runs ping with the key placed in the hostname. Approval covered many commands that could send data to unknown domains, but ping ran without asking.
- Resolving that hostname is a DNS lookup, which carries the key to the attacker's domain.
Claude Code asked before many commands that could send data out, but not before ping, so a key read from .env left inside an ordinary DNS lookup.
Drawn from the paper's Claude Code case and its figure 3Source dated December 1, 2025Passage: Eleven case studies of real attacks
Swipe for the full figure →
Training a model to resist attacks is often not enough, the authors argue, so they would layer three defenses, starting with separating instructions from data.
The paper starts from the position that training a model to resist attacks is useful but often not enough, and compares the goal of a model that is always helpful and harmless with software that is always helpful and harmless. The language model sits inside the agent's trusted computing base, the parts that must work for security to hold, and it behaves probabilistically, so the authors say such a base falls short of strong guarantees and that it is unclear what an agent's security assumption could be. For the near term they would layer three defenses. Separating instructions from data "will cut out a large swath of prompt injections, but it is unlikely to fully solve" the problem, because a model that acts on data is shaped by it. On top of that go least-privilege access control and information-flow control, which they say still needs precise tracking of how data moves through a model.
Also reported in +1 briefing
flag a problem with BI-FIND-2025-0257
Human approval left gaps in the paper's cases: Claude Code let ping run unapproved, and a hidden prompt used it to send .env secrets out in a DNS lookup.
Several of the cases turn on human approval as the control, and the paper shows where it breaks. In the Claude Code case (CVE-2025-55284), Claude Code "had implemented human approval for many shell commands that could send" data to unknown domains but let ping run without approval. A prompt hidden in a code file had it read secrets such as API keys from a .env file and send them out inside a DNS lookup. The Cursor attack required the developer to have switched off confirmation for the Jira MCP server or turned on Auto Run. For the browsing agent in the ChatGPT Operator case, the authors write that confirming every navigation step "shifts the burden to the user," who may lack the expertise or patience to judge it, and they prefer sandboxing or information-flow control there. Elsewhere they still propose approval, for Copilot's access to sensitive data, for changes to Amp's configuration files and, at a minimum, for what ChatGPT stores in its memory. They pair it with limits set before the agent runs: for Claude Code, ping and nslookup arguments restricted to trusted or user-approved domains; for Devin, a default-deny rule on reading sensitive environment files unless the current task is authorized to.
flag a problem with BI-FIND-2025-0259
Section by section
4showing 4 of 4
[1]Premise and classic security principles
Mihai Christodorescu, Google · Earlence Fernandes, UC San Diego · Ashish Hooda, Google · Somesh Jha, Google; UW Madison · Johann Rehberger, EmbraceTheRed · Khawaja Shams, Google
AI trustAgentic identity
Premise and classic security principles
Mihai Christodorescu, Google · Earlence Fernandes, UC San Diego · Ashish Hooda, Google · Somesh Jha, Google; UW Madison · Johann Rehberger, EmbraceTheRed · Khawaja Shams, Google
Workshop report (SAGAI 2025) argues model hardening or alignment alone is insufficient for agent security, as 50 years of systems security show. It defines the TCB, security policy, boundary and five principles (least privilege, tamper resistance, complete mediation, secure information flow, human weak link).
technical artifactfrom published text
[2]Four challenges: probabilistic TCB, dynamic policy, fuzzy boundary, prompt injection as code loading
Mihai Christodorescu, Google · Earlence Fernandes, UC San Diego · Ashish Hooda, Google · Somesh Jha, Google; UW Madison · Johann Rehberger, EmbraceTheRed · Khawaja Shams, Google
AI trustAgentic identity
Four challenges: probabilistic TCB, dynamic policy, fuzzy boundary, prompt injection as code loading
Mihai Christodorescu, Google · Earlence Fernandes, UC San Diego · Ashish Hooda, Google · Somesh Jha, Google; UW Madison · Johann Rehberger, EmbraceTheRed · Khawaja Shams, Google
Authors argue the LLM in an agent's TCB is probabilistic, privilege must be predicted from a natural-language task (no developer, no app), agents lack abstraction layers for mediation (CaMeL, FIDES, ceLLMate named as partial approaches), and prompt injection resembles dynamic code loading without CSP/SOP-like controls.
technical artifactfrom published text
[3]Eleven case studies of real attacks
Mihai Christodorescu, Google · Earlence Fernandes, UC San Diego · Ashish Hooda, Google · Somesh Jha, Google; UW Madison · Johann Rehberger, EmbraceTheRed · Khawaja Shams, Google
AI trustAgentic identity
Eleven case studies of real attacks
Mihai Christodorescu, Google · Earlence Fernandes, UC San Diego · Ashish Hooda, Google · Somesh Jha, Google; UW Madison · Johann Rehberger, EmbraceTheRed · Khawaja Shams, Google
Eleven published prompt-injection exploits (Copilot, Devin x2, ChatGPT memory and Operator, Amp, DeepSeek, Terminal DiLLMa, Cursor, Claude Code CVE-2025-55284, AI ClickFix), mostly Rehberger's, are mapped to violated principles and defenses. Secure Information Flow is marked in all 11; Least Privilege in 6. Analysis is the authors' own; no new experiments.
technical artifactfrom published text + figures
[4]Open research problems and conclusion
Mihai Christodorescu, Google · Earlence Fernandes, UC San Diego · Ashish Hooda, Google · Somesh Jha, Google; UW Madison · Johann Rehberger, EmbraceTheRed · Khawaja Shams, Google
AI trustAgentic identity
Open research problems and conclusion
Mihai Christodorescu, Google · Earlence Fernandes, UC San Diego · Ashish Hooda, Google · Somesh Jha, Google; UW Madison · Johann Rehberger, EmbraceTheRed · Khawaja Shams, Google
Three near-term mechanisms: instruction-data separation (will not fully solve prompt injection), least-privilege access control for dynamic tasks, and information-flow control (label explosion in LLMs). Long-term: guarantees from probabilistic TCBs, security-aware model architectures. Authors say it is unclear what the agent security assumption could be.
opinionfrom published text