arXiv:2611.04673cs.CRNov 2026

Manuscript Offprint

arXiv:2611.04673

Right Tool, Wrong Parameters: Defending LLM Agents Against Parameter Poisoning

Yao Wang, Zehua Ma, Weiming Zhang, Han Fang

ABSTRACT

Indirect Prompt Injection (IPI) poses a critical threat to LLM agents. Existing defenses largely focus on whether an injection induces a new tool invocation or unintended action. In this paper, we study a different attack surface, parameter poisoning, where the attacker preserves the intended action but manipulates one or more tool arguments, such as a recipient or other task-critical value. Such attacks are difficult to detect because no new action is introduced, while parameter changes themselves are often legitimate parts of the user's request. Our key insight is that the legitimacy of a parameter change should be determined by the trust of the information flow that produces it under the user query. The query induces a task-specific trust hierarchy over available information fields: some are trusted to determine particular parameters, while others should have little or no influence. Based on this insight, we propose AuthorityFlow, a three-stage parameter-level defense. First, it interprets the user query to construct a task-specific trust hierarchy over the information fields available to the agent. Second, for each tool argument, it traces the information flow that produces its current value and attributes the value to its supporting field. Finally, it accepts the value only when that field is trusted to determine the parameter under the current task, allowing high-trust changes while flagging low-trust influence as potential parameter poisoning. We further introduce FactAuthBench for evaluating parameter poisoning in LLM agents. Without defense, the attack success rate reaches 93.06%. AuthorityFlow reduces it to 9.03%, while retaining 82.64% benign task utility compared with 90.28% without defense. Our results show that effective IPI defense requires reasoning not only about what action an agent takes, but also about which information is trusted to determine its parameters.

1 INTRODUCTION

Large Language Model (LLM)-based agents are evolving from conversational systems into action-oriented systems that can perceive external environments, invoke tools (Schick et al., 2023; Li et al., 2023; Qin et al., 2024), and complete complex tasks (Yao et al., 2022; Liu et al., 2024a). To perform real-world tasks such as travel planning, financial operations, and workplace collaboration, agents must process information from emails, webpages, documents, and external tool outputs, and use this information to guide subsequent decisions (Yao et al., 2024; Zhou et al., 2024; Drouin et al., 2024). This reliance on external content also creates a major security risk: attackers can manipulate content that the agent encounters during a legitimate task and thereby influence actions executed with the user's privileges (Greshake et al., 2023; Chen et al., 2024). Indirect Prompt Injection (IPI) exploits this attack surface.

Existing IPI defenses largely focus on instruction-level IPI, where untrusted external content induces a new tool invocation or causes the agent to deviate from the user's intended action (Jia et al., 2025; Zhu et al., 2025; Chen et al., 2025f). As illustrated in Figure 1(a), a typical attack embeds malicious instructions in emails, webpages, or other external content, causing the agent to deviate from the user task and execute attacker-specified actions. Accordingly, existing defenses mainly aim to detect, isolate, or suppress such injected instructions (Hines et al., 2024; Chen et al., 2025e; Zhang et al., 2025b). However, preserving the intended action does not guarantee safe execution. As shown in Figure 1(b), an attacker can leave the intended action unchanged while manipulating one or more

Figure

(a) Instruction-level IPI

(b) Parameter poisoning

Figure 1: Instruction-level IPI versus parameter poisoning. (a) An instruction-level defense blocks the injected instruction. (b) An attacker-supplied account becomes the transfer destination despite the unchanged protected payee record. Blocking injected instructions alone does not prevent unauthorized influence over tool parameters.

task-critical arguments through attacker-controlled external information. The agent may still follow the normal “retrieve information–interpret state–invoke tool” workflow and invoke the expected tool, yet use an attacker-influenced recipient, location, amount, or other argument. We refer to this attack surface as parameter poisoning. Such attacks are difficult to detect because they introduce no obviously malicious new action, while parameter changes are a normal and often necessary part of legitimate agent tasks. The key question is therefore not only what action should the agent take, but also which information should be trusted to determine the parameters of that action?

The key challenge is that trust in agentic tasks is neither static nor inherent to an information source. Whether a field should be allowed to determine a tool parameter depends on how that field is used under the current user request. The same external source may legitimately provide information required by one task, yet remain unauthorized to determine a different, security-sensitive argument. We therefore view parameter poisoning through the lens of query-conditioned trust flow: the user query induces a task-specific trust hierarchy over the information available to the agent, specifying which fields are sufficiently trusted to influence particular tool parameters. Parameter legitimacy should then be judged by tracing which information contributes to its value and whether that information carries sufficient trust for that use. Under this view, parameter poisoning occurs when low-trust information is allowed to influence a parameter that it is not authorized to determine.

Motivated by this observation, we propose AuthorityFlow, a task-aware parameter authorization framework for LLM agents. AuthorityFlow first interprets the trusted user request together with tool semantics and source provenance to establish task-specific authorization boundaries over the information available to the agent. It then traces each candidate tool argument to the evidence that supports its value. Finally, AuthorityFlow checks whether that evidence is authorized to determine the corresponding parameter in the current task. This verification combines two conditions: whether the evidence semantically supports the candidate value and whether its source is authorized for that use. In this way, AuthorityFlow permits legitimate parameter changes supported by appropriate evidence while preventing low-authority information from exerting unauthorized influence over tool arguments.

To evaluate the risk of parameter poisoning and the effectiveness of AuthorityFlow, we build FactAuthBench, an extended benchmark based on the widely used AgentDojo environment (Debenedetti et al., 2024). FactAuthBench covers four categories of tool-interaction scenarios and contains 144 paired benign–attack cases. Without defense, parameter poisoning achieves a 93.06% attack success rate, showing that attacker-controlled information can substantially influence task-critical tool arguments. AuthorityFlow reduces the attack success rate to 9.03%, while retaining 82.64% benign task utility, compared with 90.28% without defense. Several existing IPI defenses still exhibit substantially higher attack success rates on FactAuthBench. These results indicate that protecting instruction or action integrity alone does not fully prevent unauthorized influence over the parameters that determine tool execution.

The main contributions of this work are as follows:

  • Parameter Poisoning. We study a parameter-level attack surface in IPI, where attacker-controlled external information manipulates task-critical tool arguments without causing the agent to deviate from the intended action.

  • AuthorityFlow. We propose a task-aware parameter authorization framework that mitigates parameter poisoning by jointly verifying semantic support for candidate parameter values and use-specific authorization of their supporting sources.

  • FactAuthBench and Evaluation. We construct FactAuthBench with 144 paired cases for systematically evaluating parameter poisoning in LLM agents, and show through end-to-end experiments that AuthorityFlow substantially reduces attack success while preserving high utility on benign tasks.

References (47)