LLM-generated attack-defense trees automate adversary modeling in DevSecOps
Integrating Security Chaos Engineering with an LLM can automatically create attack-defense trees that model adversary behavior
AI/ML arXiv 15 Feb 2026 Method Prototype evidence
Published as “Anticipating Adversary Behavior in DevSecOps Scenarios through Large Language Models”
Why it matters
The approach demonstrates that LLM-driven attack-defense modeling can be directly used to design and test realistic adversary scenarios in DevSecOps pipelines.
Summary
The paper shows that LLM-generated attack-defense trees can anticipate adversary behavior, with QwQ-32B achieving a TreeScore of 71.60% versus 61.73% for GPT-4 and successfully driving a privilege-escalation Security Chaos Engineering experiment on an AWS Spot instance. Evidence comes from a single military logistics case study comparing two general-purpose LLMs and a single SCE validation, so the claim is supported but limited in scale.
What they found 2
- QwQ-32B outperformed GPT-4 in overall tree quality, achieving a higher TreeScore.
“Overall, as we can appreciate in Table I, a comparison of final scores reveals that QWQ-32B achieved a TreeScore = 71.60%, while GPT-4 scored a TreeScore = 61.73%.”
- The generated attack-defense tree enabled a successful privilege-escalation SCE experiment on an EC2 Spot instance.
“Subsequently, we executed the SCE experiment in ChaosXploit, achieving privilege escalation in an EC2 Spot instance, as part of a military supply chain system in a cyber defense scenario.”
What’s new here 4
- Introduces a systematic LLM-based flow to generate attack-defense trees from structured prompts.
- Defines quantitative metrics (MITREScore, OrderedScore, UsableScore) to assess tree realism, hierarchy, and executability.
- Provides a comparative evaluation of two general-purpose LLMs (GPT-4 and QwQ-32B) for this task.
- Validates the generated trees by executing a real SCE privilege-escalation experiment in a cloud environment.