This paper provides a tutorial and survey of LLM-based agents for automated vulnerability discovery and penetration testing. The rapid advancements in Large Language Models (LLMs) have opened new possibilities for their application in cybersecurity. Unlike traditional tools, LLMs can process natural language, retain context, and perform structured reasoning, enabling automation of complex security workflows. By equipping these models with memory mechanisms and tool-use interfaces, researchers have developed LLM-driven autonomous agents capable of performing specialized tasks such as web application testing, source code auditing, fuzzing, and network security assessment. Multi-agent architectures have emerged in which agents assume specialized roles (e.g., distinct penetration-test phases or exploit types). In addition to surveying existing applications, this work provides a step-by-step walkthrough of integrating agentic AI into penetration testing workflows. The walkthrough explores four phases: (I) mission scoping and prompt engineering for test definition and constraint enforcement, (II) autonomous exploration and tool selection for target interaction, (III) vulnerability hypothesis formation and verification through experiment design and feedback, and (IV) payload generation and refinement to transform validated findings into concrete exploits. The survey synthesizes 155 cited sources (2022–early 2026) using explicit inclusion/exclusion criteria, with coverage extending to reasoning-class models, the Model Context Protocol ecosystem, autonomous bug-bounty agents, and standardized agentic security benchmarks. Despite progress, challenges persist, such as model hallucination, context limitations, operating costs, and ethical concerns. Future directions include advancements in multi-agent collaboration, mechanisms for agent self-improvement, and improved transparency into agent behavior.
CyberLLM is presented, a multi-agent, LLM-orchestrated framework that autonomously detects vulnerabilities and executes remediations under a formal, runtime safety guard, and indicates that LLM agents can perform useful autonomous cyber-defense when wrapped in a deterministic, auditable safety envelope.
Nenad Petrovic, Oussama Jeddou, Feres Ben Fraj et al.· 0 citations
A multi-agent GenAI architecture is introduced to support the automation of ethical cloud security, solving the problem of scalability or adaptability, and compliance in dynamic cloud environments. This framework combines dedicated generative agents such as policy analysts, threat detectors, remediation organizers, and auditor agents which interact via common knowledge graph and can be explained by a decision log. The agents utilize context-based prompt generation, generation constraints, provenance management, and generation to generate security policies, anomaly detection, provide automated mitigation, and maintain human-in-the-loop control. Some of the ethical protections are bias audits, privacy-sensitive learning, least-privilege enforcement, and policy verifiability, to warrant the correctness of the decisions taken in compliance with regulatory or organizational limits. Testing with representative cloud work lines shows that there is shorter energy on discerning and correcting occurrences, elevated coverage of controls and signs when the automated actions are traced. The framework enables adjustable levels of trust and escalation measures to accommodate the autonomy versus governance. The method fosters usage of GenAI to deal with cloud security by offering modular agents, verifiable ethics controls, metrics-based assessment, hence fostering responsible automation that is also transparent, auditable, and considers changing threats.
Laxminarayana Thirupathi, Sharanya Gattu, T. Wable et al.· 2026 International Conferenc...· 0 citations
It is argued that risk-free deployment must be grounded in the agent's trajectory: the recorded sequence of reasoning steps, tool invocations, and environmental observations, and the absence of adequacy metrics.
This paper organizes the area into a structured taxonomy along five axes: the de-tection capability targeted, the analysis paradigm employed, the agent archi-tecture, the degree of autonomy, and the evaluation methodology.
Andi Xia· Poster Volume 0008 The 2026...· 0 citations
MTGuard is proposed, a hybrid analysis-based defense framework designed to safeguard the use of MCP tools in LLM agents by leveraging lifecycle-aware static-dynamic co-analysis and effectively mitigates multiple categories of harmful tool use across different LLM agents while maintaining performance on benign user tasks.
Ping He, Yuexiang Xie, Yaliang Li et al.· 0 citations
A four-layer taxonomy mapping 13 vulnerability types across perception, brain, action, and interaction layers is contributed, and seven open problems centered on containment are identified.
Md. Jafrin Hossain, Mohammad Arif Hossain, Nirwan Ansari· 0 citations