COAPT: Bridging Semantic-Operational Divide in Autonomous Penetration Testing Through LLM-Driven Cognitive Planning
Haonan Zhang, Hui Lu, Yanli Chen, Yuyu He, Zhihong Tian
Guangzhou Institute of Advanced Technology · Ministry of Education
Abstract
The automation of penetration testing has long been constrained by the semantic-operational divide between human expert cognition and machine-executable workflows. We present COAPT, a novel architecture that bridges this gap through large language model (LLM) driven cognitive planning, enabling autonomous execution of full-cycle penetration testing aligned with the penetration testing execution standard (PTES) and MITRE adversarial tactics, techniques, and common knowledge (ATT&CK) framework. COAPT introduces three key innovations: (1) A cognitive planning architecture combining retrieval-augmented generation with chain-of-thought reasoning, grounding decisions in verified cybersecurity knowledge; (2) Formal semantic interfaces that translate strategic intent into executable commands for security tools through machine-actionable contracts; (3) Hierarchical rnulti-agent coordination that maintains tactical consistency across reconnaissance, exploitation, privilege escalation, and defense recommendation phases. Evaluated across diverse penetration testing scenarios, COAPT demonstrates superior performance over state-of-the-art tools in vulnerability exploitation success rates and operational efficiency, while significantly reducing LLM hallucination risks through its knowledge-grounded reasoning approach. The architecture's ability to autonomously chain multi-stage attacks and generate ATT&CK-mapped defense strategies establishes a new paradigm for cybersecurity automation that preserves human expert workflows at machine execution scales.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Big Enough to Break Out: Tracking the Rising Capability of LLM Penetration-Testing AgentsarXiv · 2026
- Planner-directed multi-agent LLMs with on-demand skill-equipped specialists for CTF-based autonomous penetration testingInternational Journal of Information Security · 2026
- CVE2AP: Automated Generation of PDDL-Encoded Attack Paths via Large Language ModelsarXiv · 2026
- CVE-Pilot: Failure-Aware Tool Orchestration for Code LLM Agents on CVE-BenchApplied Sciences · 2026
- CAGE: Counterfactual Attack-Path Generation for Security Control ValidationInventions · 2026
- ALIoTh: Orchestrating Multi-Agent LLMs for Autonomous IoT Penetration TestingarXiv · 2026