Optional Traps: An Empirical Study of LLM Agents Against Credential Deception and Alert-Driven Revocation
Raditio Ghifiardi
Abstract
Deception (honeypots, decoys and canary credentials) rests on a simple premise: legitimate users never touch a fake asset, so any touch is a high-confidence signal. We ask whether that premise holds when the attacker is a large language model (LLM) agent, and what deception contributes once ordinary hardening is in place. We built an isolated, hash-chained lab around a mock Records API and report four studies. (1) In an exploratory run, a local 9.7B-parameter model ignored every optional decoy, read a genuinely leaked service key from a debug endpoint and exported the protected records in both static and adaptive deception modes. (2) After removing the leak, planting a canary credential in its place and revoking the offending client, a frozen 60-session study with a 4B-parameter model found export success of 20/20 at baseline, 0/20 with hardening alone and 0/20 with hardening plus deception (exact paired McNemar p = 1.9e-6 baseline vs. defended; p = 1 hardened vs. defended). Deception added detection and per-client revocation in 19 of 20 defended sessions, but no measurable prevention beyond hardening. (3) On Google Cloud, a real OpenCanary login alert was authenticated, signed and turned into revocation of the attacking client; the first denied export followed within an observed upper bound of 303 ms, a separate legitimate client completed 100/100 requests, and all 14 control checks passed. (4) In multi-agent swarm engagements, agents that used the canary were revoked 39-59 s after the bait was served without affecting siblings, but one model-driven legitimate agent also took the bait, a false-positive risk specific to LLM clients. Against LLM agents, traps must sit on the attacker's path rather than beside it, closing real weaknesses does the preventive work, and deception's measurable value is fast, attributable detection. All results are lab-scale and are not a production claim.
Create a lesson
Related papers
MetaScanner: An Empirical Study and Proactive Defense against Deceptive UI Attacks in Social VR
Shared title terminology · Junhee Lee, Seungwon Woo, Minseok Kim et al.
Adaptive LLM-Driven Honeypots vs. LLM-Driven Attackers: Does Narrative Coherence Improve Deception?
Shared title terminology · Pedro Beltrán-López, Raul Gonzalez Jimenez, Dario Maddaloni et al.
I2C-GRPO: Insight Importance Checklist for Reinforcement Learning in a Multi-Agent DDoS Alert Triage Workflow
Shared title terminology · Eyal Zloof, Shaun Shuster, Aviram Zilberman et al.
Mjolnir: Finding and Reproducing Vulnerabilities in Root-of-Trust Firmware and RTL with Project-Grounded Agents
Shared title terminology · Collin MacDonald, Carl Lundin, Stephen Herwig et al.
PCC: Proof-Carrying Credentials for Enhanced Anonymity and Post-Quantum Delegation
Shared title terminology · Zixuan Wang, Zheng Tianyu, Yuan Lu et al.
Subverting Tool Arguments: Defense-Evading Metadata Poisoning in LLM Agents
Shared title terminology · Shih-Chieh Dai, Xinyu Sun, Haichuan Zhang et al.