← Lab /Security & privacy

Hardening blocks LLM agents; deception only speeds detection, not prevention

LLM agents can bypass optional decoys, and deception adds no preventive benefit beyond hardening

Security & privacy arXiv 14 Nov 2026 Measurement Prototype evidence Threat model

Published as “Optional Traps: An Empirical Study of LLM Agents Against Credential Deception and Alert-Driven Revocation”

Why it matters

Fast, attributable detection and scoped revocation are feasible against LLM agents, but defenders must first close real weaknesses; deception alone does not stop exfiltration.

Summary

Hardening the API by removing the debug key leak stopped all exfiltration (0/20 successes) and adding deception did not improve prevention, but it provided fast detection and per-client revocation in 19 of 20 defended sessions. A live 9.7B model ignored optional decoys and exploited the genuine leak, showing that traps placed beside the attack path are ineffective. On Google Cloud, a real OpenCanary alert triggered revocation within 303 ms without affecting a legitimate client. All experiments were lab-scale with synthetic targets and small local models, so the findings are not a production claim.

What they found 2

  1. Hardening alone prevented all exfiltration; deception added only detection and revocation.

    “Deception added detection and per-client revocation in 19 of 20 defended sessions, but no measurable prevention beyond hardening.”

  2. A real OpenCanary login alert caused revocation of the attacking client within an observed upper bound of 303 ms.

    “the gateway logged defense.revoked for that peer at 08:14:17.970 and defense.denied on the export at 08:14:18.046”

Caveats 5

  • Deception did not reduce the exfiltration success rate beyond what hardening achieved; both hardened and defended conditions had 0/20 successes.
  • Every result is bounded by one synthetic target, small samples and two small local models; none is a claim about production systems.
  • One mock API with one planted weakness; local models of 4B and 9.7B parameters; one runtime and host per study.
  • Study 2 has only 20 paired trials, so Wilson intervals for 0/20 still allow up to 16.1% success.
  • Studies 1, 3 and 4 are single runs or single engagements and are exploratory.

What’s new here 4

  • Evaluates deception against LLM agents with a hardened-versus-defended ablation that isolates the preventive effect of closing a real weakness.
  • Implements alert-driven per-client revocation using a real OpenCanary sensor on Google Cloud, measuring sub-second response time.
  • Shows that optional decoys are ignored by goal-directed LLM agents, and that bait must be placed on the attacker’s required path.
  • Explores multi-agent swarm engagements revealing false-positive risk when benign LLM clients take the bait.

Threat model stated by the source

AdversaryLLM agent
Capabilitypath-only HTTP tool that can read any response, use discovered credentials, but cannot run code on the target, reach the internet, or alter the sensor
AssumesDefender controls the gateway, sensor and adapter; Client identity is derived from the socket peer (or signed header in Study 4); X-Forwarded-For is ignored