ThreatForest: Multi-Agent Attack Tree Generation with Pluggable TTP Framework Mapping
Cristian Leo, Anton Dykyi, Danny Cortegaca, Daniel Begimher, Prakash Jha
Abstract
Threat modeling is essential for secure software development, yet manual analysis of cloud-native architectures is slow and demands scarce security expertise. We present ThreatForest, a multi-agent system that generates structured attack trees from source code repositories, maps attack steps to adversary tactics, techniques, and procedures (TTPs) from a pluggable set of frameworks (MITRE ATT&CK, CAPEC, and cloud-specific threat matrices), and synthesizes actionable mitigations. ThreatForest decomposes threat modeling into a multi-stage agent pipeline -- repository analysis, context refinement, threat generation, parallel attack-tree construction with TTP mapping and mitigation synthesis, and report generation -- orchestrated as a directed graph with deterministic verification gates, bounded retries, and three human-in-the-loop validation points. A domain-specific sentence-transformer maps each attack step to candidate techniques by cosine similarity; we show empirically that this embedding stage, not the surrounding pipeline, is the dominant accuracy bottleneck. We evaluate ThreatForest across seven application domains on a sixteen-dimension rubric, scored by a panel of independent LLM raters with an adversarial verification pass and expert review. Panel-measured quality reaches 0.63-0.68 (on a 0-1 scale) for threat statements, attack trees, and mitigations, but only 0.29 for embedding-only TTP mapping -- a gap stable across all seven domains that isolates the binding constraint. A controlled single-call baseline on the same model more than doubles mapping defensibility, pinning the limitation on the embedding encoder rather than the multi-agent design. To our knowledge, ThreatForest is the first end-to-end system that turns a code repository into TTP-mapped attack trees with evidence-based mitigations across adversary frameworks, with a reusable framework for benchmarking such systems.
Create a lesson
Related papers
Attacks and Defenses in Decentralized Multi-Agent Systems with Hop-by-Hop Task Decomposition and Delegation
Shared title terminology · Matthew D. Laws, Maria Lazou, Alina Oprea et al.
Adversarial Attacks in Multi-Agent LLM Pipelines: Unveiling Structural Vulnerabilities in Agentic AI Architectures
Shared title terminology · Faisal Haque Bappy, Tahrim Hossain, Tarannum Shaila Zaman et al.
From Monoliths to Swarms: A Study of Attack Surface Evolution in the Transition to Multi-Agent Web Systems
Shared title terminology · Yashaswi Malla, Sandra Siby
ALIoTh: Orchestrating Multi-Agent LLMs for Autonomous IoT Penetration Testing
Shared title terminology · Pironti Francesco Aurelio, Arena Luigi, Blefari Francesco et al.
Stateful Cooperative Agents Safeguarding LLMs Against Evolving Multi-Turn Attacks
Shared title terminology · Siyuan Li, Zehao Liu, Haoyu Li et al.
Agent Harness Distillation: Inference-Time Harness Extraction and Exploitation in Autonomous Multi-Agent Systems
Shared title terminology · Yu Cui, Wuli Yang, Yirui Shi et al.