Skip to content
Review Open access

LLM-Based Intelligent Agents for Cybersecurity: A Tutorial and Survey of Automated Vulnerability Discovery

2026 · IEEE Access · Vol 14, pp. 100884-100917 · 0 citations · 148 references
Computer Science

Abstract

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.

Read PDF

Similar papers

Preprint Aug 2026

CyberLLM: A Multi-Agent LLM Framework for Autonomous Detection and Guarded Response in Automotive Cybersecurity

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
Conference Jul 2026

A Multi-Agent GenAI Framework for Ethical Cloud Security Automation

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. · 0 citations
Preprint Aug 2026

Towards Risk-free AI Agent Deployment

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.

Yintong Huo, Rangeet Pan, Abhik Roychoudhury · 0 citations
Conference 2026

A Taxonomy of Agentic Systems for Software Security Detection

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 · 0 citations
Preprint Jul 2026

Hybrid Analysis for Secure MCP Tool Use in LLM Agents

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