Software Security & Code Review
LLMs achieve high accuracy on localized syntactic bug identification (CWE-79, CWE-89), but struggle with inter-procedural data-flow tracking across microservices.
Between 2023 and 2026, generative AI in information security transitioned from experimental chat interfaces to embedded enterprise architectures. However, the scientific literature has suffered from fragmented methodologies, redundant surveys, and speculative claims unsubstantiated by empirical security metrics.
In July 2026, a comprehensive survey titled βLLMs and Generative AI in Cybersecurity and Privacyβ (arXiv:2607.06963) synthesized findings across hundreds of peer-reviewed papers to establish a rigorous tripartite taxonomy:
Rather than offering an uncritical catalog, the authors systematically identify the empirical gaps where current research fails enterprise deployment requirements.
As security teams face vendor saturationβwith dozens of security tools embedding LLMs into SIEMs, EDRs, and CI/CD pipelinesβpractitioners require a clear distinction between proven engineering and theoretical speculation:
THE TRIPARTITE GENAI SECURITY LANDSCAPE
ββββββββββββββββββββββββββββββββββββββββ β GENERATIVE AI IN CYBERSECURITY β ββββββββββββββββββββ¬ββββββββββββββββββββ β ββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββ βΌ βΌ βΌββββββββββββββββ ββββββββββββββββ βββββββββββββββββ AI FOR SEC β β SEC OF AI β β MALICIOUS AI ββ (Defensive) β β (Attacks) β β (Offensive) ββ - Triage β β - Injections β β - Phishing ββ - Vuln Audit β β - Poisoning β β - Recon ββ - Auto-Patch β β - Data Leaks β β - Polymorph βββββββββββββββββ ββββββββββββββββ ββββββββββββββββThe survey structures the state of the art into four critical operational axes:
Software Security & Code Review
LLMs achieve high accuracy on localized syntactic bug identification (CWE-79, CWE-89), but struggle with inter-procedural data-flow tracking across microservices.
Malware Analysis & Forensics
Models demonstrate strong capability in script deobfuscation and behavioral API summarization, but fail when analyzing multi-stage compiled native binaries.
Privacy & Memorization Attacks
Frontier models retain identifiable training snippets, enabling extraction attacks through targeted prefix prompting and token-frequency probing.
Adversarial Prompting & Protocols
Direct alignment defenses (RLHF) continue to suffer from jailbreak bypasses, while tool protocols (MCP) introduce unmediated execution risks.
A major contribution of arXiv:2607.06963 is its rigorous taxonomy of privacy attacks against LLMs in production:
ATTACK VECTOR MECHANISM IMPACT / SEVERITY βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ Training Extraction Prompting with repetitive tokens Recovers PII, API keys, passwords Membership Inference Analyzing log-likelihood loss curves Confirms if data was in training set Model Inversion Reconstructing inputs from embeddings Exposes internal proprietary documents KV-Cache Extraction Side-channel memory probing Leaking conversation history of peers Prompt Stealing Querying model outputs systematically Extracts proprietary system promptsEmpirical data reveals that models with >70B parameters suffer from significantly higher memorization rates, with training extraction success rates reaching 6.8% on high-frequency boilerplate tokens.
The survey aggregates performance across dozens of studies, demonstrating a fundamental operational asymmetry:
| Domain | Defensive Efficacy | Offensive Efficacy | Net Strategic Beneficiary |
|---|---|---|---|
| Phishing & Social Eng. | Moderate (72% detection) | High (94% click-through) | Offensive (+22%) |
| Vulnerability Audit (Code) | High (78% recall) | Moderate (62% discovery) | Defensive (+16%) |
| Exploit Development | Low (Patching: 48%) | Very Low (8% on Hardened) | Defensive (Due to mitigations) |
| Log Triage & SOC Tier-1 | High (82% accuracy) | N/A (Operational Task) | Defensive (+82%) |
The authors identify seven open challenges where current scientific literature fails to provide answers:
epsilon-DP) during fine-tuning or RAG ingestion is mandatory to prevent membership inference attacks against proprietary data.