Adversarial Input Propagation Through Multi-Step Tool-Using LLM Systems

Adversarial Input Propagation Through Multi-Step Tool-Using LLM Systems: Error Amplification Across Verification and Strategy-Selection Phases

2026-05-18 · agentic-ai benchmarks-eval · medium · source → · wiki →
key claims
  1. Indirect prompt injection succeeds because tool-using Large Language Model applications routinely concatenate retrieved content with user instructions, leaving models unable to reliably separate informational context from actionable commandsGreshake et al. (2023)Yi et al. (2025)Owasp (n.d.)
  2. Once the loop's perception stage encodes a corrupted task state, strategy selection can remain internally coherent while optimizing for the wrong objective, so later tool calls inherit rather than repair the original semantic errorAnthropic (2026)Mitchell (2026)Greshake et al. (2023)
  3. Tool use and persistent memory can extend adversarial corruption beyond one response by letting a locally plausible mistake change external state and, in documented cases, influence later sessionsMicrosoft (2025)Paloaltonetworks (n.d.)Greshake et al. (2023)
  4. Generic self-verification by the same model class is not an independent safety layer, because intrinsic self-correction remains weak without external feedback and usually inspects the same contaminated context that produced the original mistakeHuang et al. (2024)Yi et al. (2025)Mitchell (2026)
  5. Structured verification can recover some reasoning errors only when it introduces extra constraints such as explicit condition isolation, which shows that correction comes from added independence rather than from reflection aloneWu et al. (2024)Huang et al. (2024)
  6. Unexpected environmental shifts and adversarial prompting are propagation-equivalent at the loop level when they both create observations that look familiar to the model while no longer preserving the environment's real causal structureAmodei et al. (2016)Ziegler et al. (2022)Mitchell (2026)
  7. A useful formal approximation is that expected semantic error grows across repeated steps whenever path-dependent amplification and persistence exceed the error removed by independent correction signalsHuang et al. (2024)Greshake et al. (2023)Paloaltonetworks (n.d.)

Research Question

How do adversarial inputs or unexpected environmental shifts propagate error through a multi-step tool-using Large Language Model (LLM) system's verification and strategy-selection phases when the underlying model lacks grounded knowledge of how actions and environmental changes actually produce outcomes in the system?

Findings

Executive Summary

Adversarial inputs and environmental shifts propagate through multi-step tool-using Large Language Model systems mainly by corrupting the working state that later strategy and verification steps reuse, not by causing one isolated bad output.

When verification is implemented as another free-form judgment from the same model on the same context, it is usually not an independent check and cannot reliably detect blind-spot-consistent errors.

Prompt injection, meaning malicious instructions embedded in content that the model later treats as authoritative instructions, is the clearest empirical example in this item because attacker text can be ingested as data, reinterpreted as instructions, and then propagated through tool calls, memory summaries, or future plans.

The best-supported formal picture is an amplification process in which error grows whenever path dependence and persistence outpace independent correction, which means agent loops without external verifiers mostly redistribute and sometimes magnify causal ignorance rather than curing it.

Key Findings

  1. Indirect prompt injection succeeds because tool-using Large Language Model applications routinely concatenate retrieved content with user instructions, leaving models unable to reliably separate informational context from actionable commands.
  2. Once the loop's perception stage encodes a corrupted task state, strategy selection can remain internally coherent while optimizing for the wrong objective, so later tool calls inherit rather than repair the original semantic error.
  3. Tool use and persistent memory can extend adversarial corruption beyond one response by letting a locally plausible mistake change external state and, in documented cases, influence later sessions.
  4. Generic self-verification by the same model class is not an independent safety layer, because intrinsic self-correction remains weak without external feedback and usually inspects the same contaminated context that produced the original mistake.
  5. Structured verification can recover some reasoning errors only when it introduces extra constraints such as explicit condition isolation, which shows that correction comes from added independence rather than from reflection alone.
  6. Unexpected environmental shifts and adversarial prompting are propagation-equivalent at the loop level when they both create observations that look familiar to the model while no longer preserving the environment's real causal structure.
  7. A useful formal approximation is that expected semantic error grows across repeated steps whenever path-dependent amplification and persistence exceed the error removed by independent correction signals.

Assumptions

Analysis

The strongest evidence in this item is on indirect prompt injection and intrinsic self-correction, because those claims rest on direct primary studies and official security guidance rather than on analogy alone.

The weakest element is the cross-domain bridge from classical adversarial examples to language-model agent loops, so Goodfellow et al. is used here to motivate the adversarial-input framing rather than as direct evidence about tool-using Large Language Model applications.

Wu et al. is the main rival interpretation because it shows that models can sometimes improve answers during verification, but its gains require key-condition isolation rather than unconstrained reflection, which supports rather than contradicts the independence claim.

Another rival explanation is that failures arise only from overly permissive tools rather than from model-level causal limits, but Greshake, Yi, and Microsoft all show that misclassification of context as instructions already misroutes the loop before any one tool policy is discussed.

The formal propagation model is therefore best read as a structural synthesis: attack severity depends on path dependence, persistence, and verifier independence, not only on raw model accuracy at one isolated step.

Risks, Gaps, and Uncertainties

Open Questions


sources


cites
cites Agentic Tool-Feedback Loops and Explanatory Reach: Does Wrapping an LLM in a Perception-Action Cycle Introduce Genuine Understanding or Just Delay Failure?
cites What security capabilities are required in an enterprise Artificial Intelligence (AI) system to address prompt injection, Retrieval-Augmented Generation (RAG)-based attacks, model supply chain compromise, and data exfiltration beyond basic Application Programming Interface (API) access controls and audit logging?
related (frontmatter)
related How do coupled enterprise risks manifest differently in agentic Artificial Intelligence (AI), meaning autonomous multi-step systems, versus generative AI deployments, and what integrated risk frameworks best predict cascading failures?
related Human cognitive bias toward Artificial Intelligence (AI) correctness and explainability: automation bias, Reinforcement Learning from Human Feedback (RLHF) sycophancy, and mechanistic interpretability limits
related Formal Generalisation Bounds for Tool-Using LLM Systems When Tools Return Non-Deterministic Outputs Outside the Training Distribution
version history
versiondatecommitsummary
1.02026-05-19b550c0eInitial completion

Connected items

Loading…

View full knowledge graph →