mlsanityData to 14 Oct 2026

CHASE: LLM Agents for Dissecting Malicious PyPI Packages

arXiv 2601.06838 ↗First posted 11 Jan 2026cs.CR cs.SEcited by 0

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

Modern software package registries like PyPI have become critical infrastructure for software development, but are increasingly exploited by threat actors distributing malicious packages with sophisticated multi-stage attack chains. While Large Language Models (LLMs) offer promising capabilities for automated code analysis, their application to security-critical malware detection faces fundamental challenges, including hallucination and context confusion, which can lead to missed detections or false alarms. We present CHASE (Collaborative Hierarchical Agents for Security Exploration), a high-reliability multi-agent architecture that addresses these limitations through a Plan-and-Execute coordination model, specialized Worker Agents focused on specific analysis aspects, and integration with deterministic security tools for critical operations. Our key insight is that reliability in LLM-based security analysis emerges not from improving individual model capabilities but from architecting systems that compensate for LLM weaknesses while leveraging their semantic understanding strengths. Evaluation on a dataset of 3,000 packages (500 malicious, 2,500 benign) demonstrates that CHASE achieves 98.4% recall with only 0.08% false positive rate, while maintaining a practical median analysis time of 4.5 minutes per package, making it suitable for operational deployment in automated package screening. Furthermore, we conducted a survey with cybersecurity professionals to evaluate the generated analysis reports, identifying their key strengths and areas for improvement. This work provides a blueprint for building reliable AI-powered security tools that can scale with the growing complexity of modern software supply chains. Our project page is available at https://t0d4.github.io/CHASE-AIware25/

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 19 of its 53 references that are in the map. First posted on arXiv 11 Jan 2026.

Builds on

19 of 53 references.

References · 19

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
  3. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  4. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
  5. 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 560
  6. 2020Backstabber's Knife Collection: A Review of Open Source Software Supply Chain Attackscited by 61
  7. 2023Large Language Models for Code Analysis: Do LLMs Really Do Their Job?cited by 45
  8. 2019Small World with High Risks: A Study of Security Threats in the npm Ecosystemcited by 37
  9. 2023An Empirical Study of Malicious Code In PyPI Ecosystemcited by 19
  10. 2025On Benchmarking Code LLMs for Android Malware Analysiscited by 13
  11. 2023Killing Two Birds with One Stone: Malicious Package Detection in NPM and PyPI using a Single Model of Malicious Behavior Sequencecited by 9
  12. 2022Practical Automated Detection of Malicious npm Packagescited by 8
7 more
  1. 2024When Fuzzing Meets LLMs: Challenges and Opportunitiescited by 8
  2. 2022A Benchmark Comparison of Python Malware Detection Approachescited by 7
  3. 2024DONAPI: Malicious NPM Packages Detector using Behavior Sequence Knowledge Mappingcited by 6
  4. 2024Leveraging Large Language Models to Detect npm Malicious Packagescited by 6
  5. 2025MalGuard: Towards Real-Time, Accurate, and Actionable Detection of Malicious Packages in PyPI Ecosystemcited by 5
  6. 2024Towards Robust Detection of Open Source Software Supply Chain Poisoning Attacks in Industry Environmentscited by 4
  7. 2024A Large-scale Fine-grained Analysis of Packages in Open-Source Software Ecosystemscited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Many Hands Make Light Work: An LLM-based Multi-Agent System for Detecting Malicious PyPI Packages
  2. 2025SEC-bench: Automated Benchmarking of LLM Agents on Real-World Software Security Tasks
  3. 2025From LLMs to Agents: A Comparative Evaluation of LLMs and LLM-based Agents in Security Patch Detection
  4. 2025LLMs as Firmware Experts: A Runtime-Grown Tree-of-Agents Framework
  5. 2026LLM-Based Agents for Software and Systems Security: Approaches, Applications, and Assessment
  6. 2026Beyond Predefined Sinks: Security-Aware Dependency Analysis for LLM Agents
  7. 2026Argus: Reorchestrating Static Analysis via a Multi-Agent Ensemble for Full-Chain Security Vulnerability Detection
  8. 2026Toward Safe LLM Agents: A Survey of Specification, Verification, and Enforcement