techniques / CAT-007
Bottomless Decoy File Tree
Decoy directory tree that never ends or loops back on itself, with sensitive-sounding names and notes pointing to the next file. Exploits pentest agents' depth-first exploration.
| family | tarpit |
|---|---|
| goals | delaydegradedetect |
| delivery | network-servicefilegenerated |
| targets | pentest |
| implementations | Mantis (research) |
sightings 0
none
mechanism
Agents tend to exhaust one branch before backtracking. Mantis serves a generated FTP tree of infinite depth whose listings repeat an instruction to keep looking; commands other than ls and cd return "command not found", and thousands of entries per listing can fill context. CHeaT uses static variants. Access to looped files doubles as detection.
variants
| Generated infinite tree | Mantis agent-tarpit, entered via an injection after the agent exploits a decoy. |
|---|---|
| Nested lure directory | One enticing directory (e.g. private_docs) with hundreds of nested subdirectories (CHeaT). |
| Circular references | file1 says the credentials are in file2, file2 points to file3, file3 points back to file1 (CHeaT). |
references
- Hacking Back the AI-Hacker: Prompt Injection as a Defense Against LLM-driven Cyberattacks · George Mason University · 2024-10
- Mantis agent-tarpit vs three LLM pentest agents including PentestGPT (modified) and HackingBuddyGPT: agents kept searching depth-first without backtracking; less reliable than Mantis's command-injection mode because agents sometimes left to inspect downloaded files.
- Cloak, Honey, Trap: Proactive Defenses Against LLM Agents · USENIX Security 2025 · 2025-08
- PentestGPT, FTP server with a
private_docsdirectory nested 250 levels, 20 trials: the agent consistently followed the tree to its deepest level. - PentestGPT on GPT-4o, circular file references: hallucinated hidden files after 3 cycles and hidden credentials after 8. Models that recognized the loop kept re-checking.
- PentestGPT, FTP server with a
added 2026-12-01 · yaml