ChainAgent: Automated Chainable Vulnerability Discovery in PHP Web Applications
Not on the map. Why?
Abstract (arXiv)
High-impact attacks on PHP web applications often chain limited-capability vulnerabilities with other flaws or intended behaviors. Discovering these chains requires identifying flaws and the dependencies enabling capability composition. Existing vulnerability discovery techniques analyze flaws in isolation, while attack planning assumes known components. This separation makes it difficult to discover previously unknown components whose security relevance becomes apparent only through their potential roles in an exploit chain. We present ChainAgent, a goal-directed LLM-agent framework that jointly discovers exploit-chain components and their capability dependencies in source code. Guided by an empirical study of 386 real-world web exploit chains, ChainAgent represents vulnerabilities and functional gadgets--intended program behaviors that can be repurposed in attacks--through preconditions and capabilities over security-relevant objects. Instead of discovering vulnerabilities first and constructing attack paths afterward, ChainAgent uses an evolving exploit graph to guide source-code inspection. It searches backward from unmet preconditions for capability producers and forward from discovered capabilities for functional gadgets that consume or amplify them. Object-centered chaining knowledge from our empirical study directs searches toward promising vulnerability classes, functional operations, and object accesses. We evaluate ChainAgent against Codex, a general-purpose coding agent, on 15 PHP applications across three shared LLM backends. ChainAgent achieves 42.02%--44.63% recall for goal-reaching components and recovers up to 4.4 times as many correct goal-reaching dependency edges as Codex. An additional evaluation of 30 real-world PHP applications identifies 20 vulnerabilities and 13 exploit chains, nine of which achieve remote code execution (RCE).
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 6 of its 49 references that are in the map. Submitted 19 Nov 2026, announced 20 Nov 2026.
Builds on
6 of 49 references.
References · 6
- 2024PentestAgent: Incorporating LLM Agents to Automated Penetration Testingcited by 51
- 2025Incalmo: An Autonomous LLM-assisted System for Red Teaming Multi-Host Networkscited by 22
- 2025PoCGen: Generating Proof-of-Concept Exploits for Vulnerabilities in Npm Packagescited by 14
- 2013Attack Planning in the Real Worldcited by 9
- 2025Artemis: Toward Accurate Detection of Server-Side Request Forgeries through LLM-Assisted Inter-Procedural Path-Sensitive Taint Analysiscited by 8
- 2026PUFFERDOS: Efficient and Effective Attack String Generation for Regular Expression Denial of Service Vulnerabilitiescited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026AutoVulnPHP: LLM-Powered Two-Stage PHP Vulnerability Detection and Automated Localization ↗
- 2026AXE: Grey-Box Exploitability Confirmation for Localized Vulnerability Reports
- 2026FuzzingBrain V2: A Multi-Agent LLM System for Automated Vulnerability Discovery and Reproduction
- 2026ChainFuzzer: Greybox Fuzzing for Workflow-Level Multi-Tool Vulnerabilities in LLM Agents
- 2026MOSAIC-Bench: Measuring Compositional Vulnerability Induction in Coding Agents
- 2026VulnGym: Benchmarking Coding Agents for Repository-Level Vulnerability Detection
- 2026Refploit: Facilitating Exploit Construction via Code-Agent Trajectory Repair ↗
- 2026ChainCaps: Composition-Safe Tool-Using Agents via Monotonic Capability Attenuation