arXivPreprintOpen accesscs.AI

CVE2AP: Automated Generation of PDDL-Encoded Attack Paths via Large Language Models

Lin Cui, Vincenzo Scotti, Raffaela Mirandola

Key points

From the paper's conclusion
  • CVE2AP is an LLM-based approach for automatically generating PDDL-encoded attack paths from natural language CVE descriptions.
  • CVE2AP leverages structured prompting and incorporates an error-feedback mechanism that iteratively refines the generated paths using planner-reported syntactic and solvability errors.
  • Results demonstrate that CVE2AP effectively generates high-quality PDDL-encoded attack paths, achieving up to 86.9 ext{%} syntax correctness, 78.6 ext{%} solvability, and 93.1 ext{%} semantic correctness under LLM-as-expert evaluation, with exttt{GPT-5.5} offering the best quality-cost trade-off and error feedback yielding the most consistent quality improvement.

Abstract

Attack Path (AP) modeling is fundamental to cybersecurity analysis, where the Planning Domain Definition Language (PDDL) has been widely adopted to encode APs into formal and machine-verifiable representations for automated reasoning about vulnerability exploitation, attack progression, and their potential impacts. However, existing AP modeling approaches largely rely on expert-driven manual construction, limiting their scalability and ability to keep pace with rapidly evolving cyber threats. Large language models (LLMs) are promising candidates, as their extensive pre-trained knowledge and reasoning capabilities enable them to interpret and transform threat intelligence into formal representations. In this paper, we propose \textbf{CVE2AP}, an LLM-based approach for automatically generating PDDL-encoded attack paths from natural language CVE (Common Vulnerability Exposure) descriptions. CVE2AP leverages structured prompting and incorporates an error-feedback mechanism that iteratively refines the generated paths using planner-reported syntactic and solvability errors. We conduct a systematic empirical evaluation across multiple LLMs and generation configurations, assessing generation quality across syntactic, solvability and semantic dimensions, together with token consumption and generation time. The results demonstrate that CVE2AP effectively generates high-quality PDDL-encoded attack paths, achieving up to 86.9\% syntax correctness, 78.6\% solvability, and 93.1\% semantic correctness under LLM-as-expert evaluation, while \texttt{GPT-5.5} offers the best quality-cost trade-off and error feedback yields the most consistent quality improvement.

Read the paper

Discussion · 1

Science Skim's AI key points, plus readers' public thoughts

Science SkimAI key points
Pinned
  • CVE2AP is an LLM-based approach for automatically generating PDDL-encoded attack paths from natural language CVE descriptions.
  • CVE2AP leverages structured prompting and incorporates an error-feedback mechanism that iteratively refines the generated paths using planner-reported syntactic and solvability errors.
  • Results demonstrate that CVE2AP effectively generates high-quality PDDL-encoded attack paths, achieving up to 86.9 ext{%} syntax correctness, 78.6 ext{%} solvability, and 93.1 ext{%} semantic correctness under LLM-as-expert evaluation, with exttt{GPT-5.5} offering the best quality-cost trade-off and error feedback yielding the most consistent quality improvement.

Readers' thoughts

No reader thoughts yet.

Related papers