mlsanityData to 7 Oct 2026

CyberRAG: An Agentic RAG cyber attack classification and reporting tool

arXiv 2507.02424 ↗First posted 3 Jul 2025cs.CR cs.AI cs.SEcited by 11

On the map: Retrieval-augmented generation → Privacy and security of RAG

also in 1 more
Abstract (arXiv)

Intrusion Detection and Prevention Systems (IDS/IPS) in large enterprises can generate hundreds of thousands of alerts per hour, overwhelming analysts with logs requiring rapidly evolving expertise. Conventional machine-learning detectors reduce alert volume but still yield many false positives, while standard Retrieval-Augmented Generation (RAG) pipelines often retrieve irrelevant context and fail to justify predictions. We present CyberRAG, a modular agent-based RAG framework that delivers real-time classification, explanation, and structured reporting for cyber-attacks. A central LLM agent orchestrates: (i) fine-tuned classifiers specialized by attack family; (ii) tool adapters for enrichment and alerting; and (iii) an iterative retrieval-and-reason loop that queries a domain-specific knowledge base until evidence is relevant and self-consistent. Unlike traditional RAG, CyberRAG adopts an agentic design that enables dynamic control flow and adaptive reasoning. This architecture autonomously refines threat labels and natural-language justifications, reducing false positives and enhancing interpretability. It is also extensible: new attack types can be supported by adding classifiers without retraining the core agent. CyberRAG was evaluated on SQL Injection, XSS, and SSTI, achieving over 94% accuracy per class and a final classification accuracy of 94.92% through semantic orchestration. Generated explanations reached 0.94 in BERTScore and 4.9/5 in GPT-4-based expert evaluation, with robustness preserved against adversarial and unseen payloads. These results show that agentic, specialist-oriented RAG can combine high detection accuracy with trustworthy, SOC-ready prose, offering a flexible path toward partially automated cyber-defense workflows.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Placed in Privacy and security of RAG, one of 15 directions in Retrieval-augmented generation. Builds on 27 of its 78 references that are in the map. First posted on arXiv 3 Jul 2025.

Builds on

27 of 78 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025AURA: A Multi-Agent Intelligence Framework for Knowledge-Enhanced Cyber Threat Attribution11 Jun
  2. 2025TechniqueRAG: Retrieval Augmented Generation for Adversarial Technique Annotation in Cyber Threat Intelligence Text17 May

Other references · 25

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2023GPT-4 Technical Reportcited by 18,132
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  7. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  8. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  9. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  10. 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,205
  11. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  12. 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
13 more
  1. 2024Gemma: Open Models Based on Gemini Research and Technologycited by 889
  2. 2022News Summarization and Evaluation in the Era of GPT-3cited by 324
  3. 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 293
  4. 2016Modular Multitask Reinforcement Learning with Policy Sketchescited by 200
  5. 2024AI Agents Under Threat: A Survey of Key Security Challenges and Future Pathwayscited by 122
  6. 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attackscited by 94
  7. 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 70
  8. 2024Large Language Models in Cybersecurity: State-of-the-Artcited by 34
  9. 2024SecBench: A Comprehensive Multi-Dimensional Benchmarking Dataset for LLMs in Cybersecuritycited by 21
  10. 2024Hacking Back the AI-Hacker: Prompt Injection as a Defense Against LLM-driven Cyberattackscited by 15
  11. 2024A RAG-Based Question-Answering Solution for Cyber-Attack Investigation and Attributioncited by 9
  12. 2025LLM Cyber Evaluations Don't Capture Real-World Riskcited by 4
  13. 2016Analysis of SQL Injection Detection Techniquescited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 9.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Beyond RAG for Cyber Threat Intelligence: A Systematic Evaluation of Graph-Based and Agentic Retrieval
  2. 2025The Evolution of Agentic AI in Cybersecurity: From Single LLM Reasoners to Multi-Agent Systems and Autonomous Pipelines
  3. 2026Towards Agentic Investigation of Security Alerts
  4. 2026MA-IDS: Multi-Agent RAG Framework for IoT Network Intrusion Detection with an Experience Library
  5. 2026When LLMs Team Up: A Coordinated Attack Framework for Automated Cyber Intrusions
  6. 2026(EC)2: Event-Centric Explainability for Cybersecurity Through Multi-Agent LLM Investigations
  7. 2026Detecting Offensive Cyber Agents: A Detection-in-Depth Approach
  8. 2026Merging Cyber Threat Intelligence Through Retrieval-Augmented Generation and Small Language Models for Rich Threat Representation