← Lab /Security & privacy

LLM agents often execute forged tool calls despite recognizing spoofed authority

Recognition of spoofed authority by LLM agents does not prevent execution of malicious tool calls

Security & privacy arXiv 28 Aug 2026 Defense Prototype evidence Threat model

Published as “Recognition Without Enforcement: Configuration-Dependent Failures in LLM Agent Instruction Arbitration and External Control”

Why it matters

Deployers cannot rely on LLM self-arbitration for security; external enforcement mechanisms are required to reliably block authority-spoofing attacks.

Summary

LLM agents can recognize forged authority but still execute harmful tool calls; fleet-wide average execution under diverse attacks is 1.21% [0.5-2.1%] with deterministic failures in specific prompt-model cells, and an external reference monitor using HMAC-SHA256 and capability gating blocks all tested attacks. The evidence is based on large-scale behavioral sweeps and linear probes showing near-ceiling source-metadata decoding yet no enforcement under permissive configurations.

What they found 2

  1. Average execution of forged authority attacks across the fleet is low but non-zero.

    “average execution under diverse attacks is 1.21% [0.5-2.1%] (modelclustered bootstrap CI over 14,294 analyzed spoofed trials from 29 models, 4.5× wider than naive trial-level pooling)”

  2. Source-metadata markers are linearly decodable from hidden states with near-ceiling accuracy.

    “Linear probes confirm provenance-relevant information is linearly present in model activations during normal forward passes (97.5-100% accuracy, 4 models; note: near-ceiling accuracy at layer 0 indicates substantial contribution from chat-template positional features rather than abstract trust semantics, see §3 for controls and caveats)”

Caveats 4

  • a separate adaptive red-team found one implementation flaw (a since-patched clock-skew admission), not a cryptographic bypass
  • Content removal (simulating admission-layer filtering) eliminates channel-forgery vulnerability across all 37 models; residual semantic-escalation execution is confined to OpenAI endpoints (concentrated in the GPT-4.x generation, with two small reasoning-model cells: o3 at 2% and o3-mini at 6%)
  • All behavioral evaluations use benign proxy tasks (file deletion, email routing). Transfer to genuinely harmful payloads is hypothesized, not empirically demonstrated.
  • The recognition-enforcement gap is not explained by inability to decode source metadata; source-format information is linearly available, can be articulated on demand, and yet does not condition action selection under tested configurations and interventions.

What’s new here 4

  • Demonstrates that source-format metadata is linearly decodable from model activations yet not used for action selection.
  • Provides a fleet-scale (46 endpoints, >256k trials) characterization of the vulnerability, showing heterogeneous and temporally unstable attack surfaces.
  • Shows that prompt-layer defenses fail to generalize across models, while an external cryptographic monitor can deterministically block channel-forgery attacks.
  • Introduces the InstructionArbitrationBench artifact with full attack prompts and sanitized behavioral data.

Threat model stated by the source

Adversaryattacker who can write to persistent memory records and influence tool outputs
Capabilitywrite/poison memory, influence tool outputs; cannot modify system prompt or cryptographic keys