Argus: Reorchestrating Static Analysis via a Multi-Agent Ensemble for Full-Chain Security Vulnerability Detection

Zi Liang, Qipeng Xie, Jun He, Bohuan Xue, Weizheng Wang, Yuandao Cai, Fei Luo, Boxian Zhang, Haibo Hu, Kaishun WuarXiv 2026

TL;DR

Argus is a novel multi-agent framework that reorchestrates vulnerability detection by shifting from an LLM-assisted static analysis approach to a fully LLM-centered workflow. By integrating supply chain analysis, Retrieval-Augmented Generation (RAG), and a recursive data-flow tracing mechanism ($Re^3$), Argus uncovers complex vulnerabilities that traditional tools miss, successfully identifying several critical zero-day bugs that have received official CVE assignments.

What Problem Does This Paper Address?

Static Application Security Testing (SAST) tools (like CodeQL) are the bedrock of secure software development. They perform taint analysis by tracing untrusted data from "sources" (user inputs) to potentially dangerous "sinks" (like system command executions).

However, traditional SAST tools rely on rigid, handcrafted symbolic rules. This makes them prone to high false-positive rates and blind to novel, system-specific flaws. More critically, advanced language features like reflection or multi-threading often break data flows, causing traditional tools to miss real vulnerabilities.

While researchers have turned to Large Language Models (LLMs) to solve this, existing approaches treat the LLM as a simple assistant plugged into a traditional pipeline. This setup suffers from severe hallucinations, shallow reasoning depth, and massive token costs. Furthermore, existing tools treat codebases as isolated silos, completely ignoring the security risks introduced by third-party software supply chain dependencies.

Methods

Argus introduces a paradigm shift: it places the LLM multi-agent system at the center of the architecture, treating traditional SAST tools and dependency graphs as supplemental resources.

The overall workflow of the Argus framework, detailing the multi-agent collaboration and integration with CodeQL.

The framework consists of three core innovations:

  1. Full Supply Chain Analysis via RAG: Argus parses project management files (e.g., pom.xml) to map out active dependencies. It then deploys RAG agents to query authoritative databases (NVD, GHSA, Snyk) and community forums to harvest vulnerability context, ensuring the system scans the entire software supply chain.
  2. Collaborative Multi-Agent Workflows: The framework decouples the SAST pipeline into specialized agents, including Dependency Scanning, CVE Retrieval, PoC (Proof of Concept) Generation, and Flow Reviewing. The PoC agent leverages the ReAct (Reasoning and Acting) paradigm to iteratively write and verify exploit code against the codebase.
  3. The $Re^3$ Data Flow Analysis: To overcome broken data flows, Argus introduces a Retrieval, Recursion, and Review workflow:
  4. Retrieval: Uses CodeQL to find direct paths from source to sink.
  5. Recursion: If a path is blocked or broken, Argus traces upstream function calls backward to find "surrogate sinks," then runs forward analysis again to bridge the gap.
  6. Review: A dedicated LLM agent audits the candidate flows using end-to-end reachability and hop-by-hop analysis to filter out false positives by checking for proper sanitization or validation logic.

Datasets

The authors evaluated Argus on seven large-scale, popular open-source Java repositories: PublicCMS, JeecgBoot, Ruoyi, JSPWiki, DataGear, Yudao-Cloud, and KeyCloak.

These repositories represent modern, industrial-grade software ecosystems. Each codebase contains at least 100,000 lines of code (LoC), thousands of commits, and significant GitHub community traction, providing a rigorous, real-world benchmark for vulnerability detection.

Key Insights and Ideas

  • LLM-Centered Orchestration: Flipping the script from "LLM-assisted SAST" to "SAST-assisted LLM" allows the framework to combine the precision of symbolic analysis with the deep contextual reasoning of language models.
  • The Value of "Incorrect" Seeds: In case studies, even when an agent initially flagged an incorrect sink, the recursive ($Re^3$) mechanism successfully used it as a seed to trace backward and uncover the actual, hidden vulnerability.
  • Recycling Outdated Vulnerabilities: Argus proved that even when a known CVE is patched, the fix often leaves alternative, unreviewed data paths to the same dangerous sink open. Argus successfully "recycled" these contexts to discover entirely new zero-days.
An example of vulnerable data flows in DataGear detected by Argus, showcasing how new flows reuse access paths from previously fixed vulnerabilities.

Key Results

  • Zero-Day Discoveries: Argus successfully mined multiple critical zero-day vulnerabilities in heavily audited production repositories, which have since been officially assigned CVE numbers.
  • Baseline Outperformance: In head-to-head evaluations, traditional CodeQL and IRIS (a state-of-the-art Java LLM baseline) failed to detect vulnerabilities in the majority of realistic SAST scenarios due to rigid rule constraints. Argus consistently identified true vulnerabilities across the codebases.
  • Cost Efficiency: Despite its multi-agent depth, Argus proved highly practical for industrial deployment. For a typical repository, it completed its full detection process in roughly 0.44 hours at an average LLM token cost of just $2.54.

Limitations and Future Work

While Argus marks a major advancement, it operates exclusively within the realm of static analysis. It does not incorporate dynamic vulnerability detection techniques, such as fuzzing, which could provide runtime validation of the generated PoCs.

Additionally, the authors note that the multi-agent framework could be further optimized. Future iterations could implement reinforcement learning (RL) within a simulated vulnerability environment, rewarding agents based on sink discovery accuracy and data flow completeness to further refine their reasoning efficiency.

Summary updated

BibTeX
@misc{liang2026argus,
  author = {Zi Liang and Qipeng Xie and Jun He and Bohuan Xue and Weizheng Wang and Yuandao Cai and Fei Luo and Boxian Zhang and Haibo Hu and Kaishun Wu},
  title = {{Argus: Reorchestrating Static Analysis via a Multi-Agent Ensemble for Full-Chain Security Vulnerability Detection}},
  year = {2026},
  eprint = {2604.06633},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.06633},
}
Figure