Briefing · Paper · source · published · Boston Identity
AgentArmor cut attack success to 3% in its authors' tests; most misses came when a user said to follow a file
Nine ByteDance researchers treat an AI agent's runtime trace as a program. Their AgentArmor turns each run into a dependency graph whose nodes are labelled by how far their data can be trusted, then blocks a tool call whose name or arguments trace back to low-trust content. On the AgentDojo benchmark with GPT-4o-mini, attack success fell from 17% to 3% and the agent completed one point fewer tasks; the paper does not say how many runs those figures rest on, and no test attack targets the language model that helps draw the graph.
arXiv · Peiran Wang, Yang Liu, Yunfei Lu, Yifeng Cai, Hongbo Chen, Qingyou Yang, Jie Zhang, Jue Hong, Ye Wu · November 18, 2025 · read
What's happening
Finding3Most of AgentArmor's failures, by its authors' own review, come when a user tells the agent to follow instructions inside content it reads.
By the authors' own review, most of AgentArmor's failures come from one pattern: the user tells the agent to act on instructions inside content it reads. In their failure case the user asks the agent to "read the file landlord-notices.txt and follow the instructions precisely", and the file carries an injected payment instruction. Table 1 calls this transfer execution, where the user's prompt hands control to an outside source, and the authors write that "such transfer execution is hard to deal with". Their answer is a switch with two settings. Disallowing the pattern catches more attacks; allowing it gives better utility and fewer false alarms, "since many benign runtime traces also require such transfer execution pattern." The paper does not say which setting its headline results use. We read Figure 11's bars as matching the allow setting (utility about 72%, false-positive rate about 0.07); disallowing cut attack success only from about 3% to about 2%, while utility fell to about 63% and the false-positive rate rose to about 0.38. Handling the pattern is left to future work.
Also reported in +1 briefing
flag a problem with BI-FIND-2025-0279
With transfer execution allowed, a transfer planted in a file the user said to follow takes high integrity and passes the check; disallowing the pattern blocks it, and honest follow-the-file tasks with it.
Drawn from the paper's failure case, figure 10Source dated November 18, 2025Passage: Section 4
Swipe for the full figure →
On AgentDojo with GPT-4o-mini, AgentArmor cut attack success from 17% to 3% while utility went from 73% to 72%, with no run counts reported.
On AgentDojo with GPT-4o-mini as the agent, AgentArmor cut attack success from 17% to 3% while utility went from 73% to 72%. On ASB's observation-injection attacks, the only ASB attacks its threat model covers, Table 2 shows 0.41 falling to 0.00. Three rivals in Figure 8 posted lower attack success: CaMeL 0%, Progent 2% and SecAlign-70B, a fine-tuned model, 2%; AgentDojo's own tool filter matched the 3% at lower utility. The paper gives no run counts, seeds or confidence intervals, so the one- to three-point gaps in attack success and the one-point utility drop rest on sample sizes it does not report. Among the defenses that need no fine-tuning, AgentArmor's edge over Progent and CaMeL is the work it keeps: 72% utility against 64% and 48%. SecAlign-70B beat it on both counts at 76% utility; the authors answer that it relies on fine-tuning, which settings such as cloud-hosted API models do not support. The abstract's "1% functional overhead" refers to that utility drop; the running cost is larger. In Figure 13 a run took 20.89 seconds with AgentArmor, against 6.17 undefended, 9.25 for Progent (the text gives 11.24, the figure's value for a detector baseline) and 46.72 for CaMeL, and AgentArmor's analysis used 72.0% of the tokens.
AgentArmor's type checks run on a graph whose data-dependency edges a prompted LLM decides, which the authors concede leaves room for attacks to bypass.
A language model draws part of the graph that AgentArmor's type checks run on. A prompted LLM, GPT-4o-mini in the tests, decides the data-dependency edges, and the authors concede that this reasoning "relies on another LLM, leaving space for attacks to bypass." Every attack in the evaluation comes from the two benchmarks, and none targets AgentArmor or its analyzer, though the introduction faults other defenses for falling to adaptive attacks. The conclusion still says program analysis "can bring verifiable security to LLM agents", which in our reading claims more than benchmark runs can show.
flag a problem with BI-FIND-2025-0281
Section by section
4showing 4 of 4
[1]Why injected content steers tool calls: three untraceable dependencies
AI trust
Why injected content steers tool calls: three untraceable dependencies
The authors argue that prompt injection works because an agent's tool calls have no visible origin. They name three gaps (data dependencies, control dependencies and data that crosses resources), show each with a money-transfer or file-write case, and cite the EchoLeak attack on Microsoft 365 Copilot. Their answer borrows the program dependence graph from program analysis. The threat model trusts the model and the tools, and this part of the paper rests on argument and constructed examples.
opinionfrom published text
[2]AgentArmor design: trace to program dependence graph, typed and inspected
AI trustAgentic identity
AgentArmor design: trace to program dependence graph, typed and inspected
AgentArmor hooks the agent's runtime trace, builds control-flow and data-flow graphs and merges them into a program dependence graph. A prompted LLM decides the data-dependency edges, guided by the eight reasoning patterns in Table 1. Tool and data registries give nodes integrity and confidentiality types that spread through the graph, and the inspector blocks a call when a rule such as Forbid {Int<Mid} fires. The paper gives one worked example and no formal proof.
technical artifactfrom published text + figures
[3]Results on AgentDojo and ASB against ten baselines
AI trust
Results on AgentDojo and ASB against ten baselines
With GPT-4o-mini on AgentDojo, attack success fell from 17% to 3% while utility went from 73% to 72%. On ASB's observation-injection attacks it fell to zero. Progent (2%) and CaMeL (0%) did better on attack success, CaMeL at 48% utility, and the fine-tuned SecAlign-70B beat it on both counts (2% at 76% utility); and AgentDojo's own tool filter tied at 3% with lower utility. The authors tried five backbone models and used GPT-4o-mini for the dependency analyzer. All runs are the authors' own, and no attack in them targets AgentArmor.
technical artifactfrom published text + figures
[4]Failure cases, overhead, limits and conclusion
AI trustAgentic identity
Failure cases, overhead, limits and conclusion
In the authors' own review, most failures come from transfer execution, where the user tells the agent to follow a file that carries the injection. A setting to allow or disallow that pattern trades attack success against false positives and utility. A run took 20.89 seconds against 6.17 undefended and 46.72 for CaMeL, and AgentArmor used 72.0% of the tokens. The authors concede that the LLM analyzer can be attacked, that the rules are mostly predefined and that it does not handle denial-of-service attacks.
technical artifactfrom published text + figures