AgentTrap: Stateful Feedback Deception against Autonomous Penetration Testing Agents
Yuelin Wang, Jiongchi Yu, Yanbang Sun
Key points
From the paper's conclusion- We evaluate AgentTrap against eight autonomous penetration-testing agents in a deployed web application containing a real application endpoint and a separate honeypot endpoint configured under three defense strategies.
Abstract
Autonomous penetration testing agents conduct multi-step attacks by continuously adapting their plans and actions to target responses. As a common defense, honeypots can be deployed to divert these agents from real assets by presenting decoy services, while also supporting attack tracing and active counterattacks. However, conventional honeypots rely primarily on static artifacts and predefined responses, leaving them unable to adapt to the evolving attack strategies of autonomous penetration testing agents. To this end, we present AgentTrap, the first closed-loop honeypot tailored for autonomous penetration testing agents. AgentTrap uses sentinel endpoints to avoid benign interference, stateful deception grounded in the protected application, and behavior-guided escalation to sustain engagement and collect agent-side behavioral evidence with controlled disclosures. We evaluate AgentTrap against eight autonomous penetration-testing agents in a deployed web application containing a real application endpoint and a separate honeypot endpoint configured under three defense strategies. Compared with no defense, AgentTrap reduces the aggregate real-target attack success rate from 95.8% to 79.2% and successfully elicits attacker API keys in 18.8% of the runs, outperforming static deception and fixed escalation. Furthermore, trace analysis shows that resistance to such counterattacks depends jointly on model-level recognition of deceptive requests and architecture-level isolation of sensitive resources.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Optional Traps: An Empirical Study of LLM Agents Against Credential Deception and Alert-Driven RevocationarXiv · 2026
- A Gingerbread House for LLM Agents: Source-Planned Honeypots That Lure Autonomous Attackers into an Isolated ShadowarXiv · 2026
- LLM-Based Penetration Testing in the Presence of HoneypotsComputers · 2026
- Honeypots for AI Agent Insider ThreatsarXiv · 2026
- Stinging the Swarm: Extracting Attacker Intelligence from a Twin-Controller OT HoneypotarXiv · 2026
- Say Shibboleth: Fingerprinting the LLMs and Harnesses Behind Agentic AttacksarXiv · 2026