Multi-Agent Taint Specification Extraction for Vulnerability Detection
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Static Application Security Testing (SAST) tools using taint analysis are widely viewed as providing higher-quality vulnerability detection results compared to traditional pattern-based approaches. However, performing static taint analysis for JavaScript poses two major challenges. First, JavaScript's dynamic features complicate data flow extraction required for taint tracking. Second, npm's large library ecosystem makes it difficult to identify relevant sources/sinks and establish taint propagation across dependencies. In this paper, we present SemTaint, a multi-agent system that strategically combines the semantic understanding of Large Language Models (LLMs) with traditional static program analysis to extract taint specifications, including sources, sinks, call edges, and library flow summaries tailored to each package. Conceptually, SemTaint uses static program analysis to calculate a call graph and defers to an LLM to resolve call edges that cannot be resolved statically. Further, it uses the LLM to classify sources and sinks for a given CWE. The resulting taint specification is then provided to a SAST tool, which performs vulnerability analysis. We integrate SemTaint with CodeQL, a state-of-the-art SAST tool, and demonstrate its effectiveness by detecting 106 of 162 vulnerabilities previously undetectable by CodeQL. Furthermore, we find 4 novel vulnerabilities in 4 popular npm packages. In doing so, we demonstrate that LLMs can practically enhance existing static program analysis algorithms, combining the strengths of both symbolic reasoning and semantic understanding for improved vulnerability detection.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 22 of its 86 references that are in the map. First posted on arXiv 15 Jan 2026.
Builds on
22 of 86 references.
Closest ancestors · 1
Same direction, newest first
- 2025From CVE Entries to Verifiable Exploits: An Automated Multi-Agent Framework for Reproducing CVEs1 Sep
Other references · 21
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2023Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMscited by 946
- 2023ChatDev: Communicative Agents for Software Developmentcited by 893
- 2024IRIS: LLM-Assisted Static Analysis for Detecting Security Vulnerabilitiescited by 100
- 2024Non-Determinism of "Deterministic" LLM Settingscited by 84
- 2019Small World with High Risks: A Study of Security Threats in the npm Ecosystemcited by 36
- 2021PyCG: Practical Call Graph Generation in Pythoncited by 16
- 2025A Simple Ensemble Strategy for LLM Inference: Towards More Stable Text Classificationcited by 8
- 2025QLPro: Automated Code Vulnerability Discovery via LLM and Static Code Analysis Integrationcited by 6
- 2024Utilizing Precise and Complete Code Context to Guide LLM in Automatic False Positive Mitigationcited by 4
9 more
- 2025Open Source, Open Threats? Investigating Security Challenges in Open-Source Softwarecited by 4
- 2023Study of JavaScript Static Analysis Tools for Vulnerability Detection in Node.js Packagescited by 2
- 2023Seneca: Taint-Based Call Graph Construction for Java Object Deserializationcited by 2
- 2025Identifying Helpful Context for LLM-based Vulnerability Repair: A Preliminary Studycited by 2
- 2025LLM-Driven SAST-Genius: A Hybrid Static Analysis Framework for Comprehensive and Actionable Securitycited by 2
- 2021Accelerating JavaScript Static Analysis via Dynamic Shortcuts (Extended Version)cited by 1
- 2021InspectJS: Leveraging Code Similarity and User-Feedback for Effective Taint Specification Inference for JavaScriptcited by 1
- 2023npm-follower: A Complete Dataset Tracking the NPM Ecosystemcited by 1
- 2025Call Me Maybe: Enhancing JavaScript Call Graph Construction using Graph Neural Networkscited by 1
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026Understanding Implicit Trust Errors in Core Carrier Networks through Multi-Agent Flaw Discovery and Analysiscited by 0
- 2026FlowArk: Boosting Agentic Data-flow Analysis for Android Apps via Context-Aware Knowledge Reusecited by 0
- 2026The History Is the Detector: Executing CVE Patch History, End-to-Endcited by 0
- 2026The History Is the Detector: Executing CVE Patch History, End-to-End4 Sep 2026
- 2026FlowArk: Boosting Agentic Data-flow Analysis for Android Apps via Context-Aware Knowledge Reuse13 Jul 2026
- 2026Understanding Implicit Trust Errors in Core Carrier Networks through Multi-Agent Flaw Discovery and Analysis11 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2026Taint-Style Vulnerability Detection and Confirmation for Node.js Packages Using LLM Agent Reasoning
- 2026Argus: Reorchestrating Static Analysis via a Multi-Agent Ensemble for Full-Chain Security Vulnerability Detection
- 2025Benchmarking LLMs and LLM-based Agents in Practical Vulnerability Detection for Code Repositories
- 2026AXE: Grey-Box Exploitability Confirmation for Localized Vulnerability Reports
- 2026FuzzingBrain V2: A Multi-Agent LLM System for Automated Vulnerability Discovery and Reproduction
- 2026Exploring Automated Vulnerability Identification in JavaScript Code Using Large Language Models
- 2026A Multi-Agent Framework for Automated Exploit Generation with Constraint-Guided Comprehension and Reflection
- 2025VulAgent: Hypothesis-Validation based Multi-Agent Vulnerability Detection