Evaluating Retrieval-Augmented Generation for Explainable Malware Analysis
On the map: Retrieval-augmented generation → Privacy and security of RAG
Abstract (arXiv)
Large Language Models (LLMs) are increasingly being used as security engineering tools to summarize and explain malware behavior to analysts. A common assumption is that Retrieval-Augmented Generation (RAG) improves explanation quality by injecting external security knowledge. In this work, we empirically evaluate this assumption for malware explanation using VirusTotal reports as structured input. Across multiple LLMs, we find that RAG frequently degrades explanation quality by introducing distracting or weakly related context and adding narrative noise or generic write-ups. Our results highlight a practical risk in security-critical pipelines for malware explanation that RAG can be counterproductive when structured security evidence is already sufficient. We argue that malware explanation is primarily a signal-extraction task, not a knowledge-retrieval problem, and outline design recommendations for secure development workflows.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Privacy and security of RAG, one of 15 directions in Retrieval-augmented generation. Builds on 0 of its 9 references that are in the map. First posted on arXiv 4 May 2026.
Builds on
0 of 9 references.
No references here yet.
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025XGen-Q: An Explainable Domain-Adaptive LLM Framework with Retrieval-Augmented Generation for Software Security
- 2025Adapting Large Language Models to Emerging Cybersecurity using Retrieval Augmented Generation
- 2026Malaika: Understanding Malware through Tri-Grounded Agentic Reasoning
- 2025TraceRAG: A LLM-Based Framework for Explainable Android Malware Detection and Behavior Analysis
- 2025Is "Knowing It's Malicious Enough?" Evaluating LLMs for Fine-Grained Malware Behavior Auditing
- 2025EcoSafeRAG: Efficient Security through Context Analysis in Retrieval-Augmented Generation
- 2026AsmRAG: LLM-Driven Malware Detection by Retrieving Functionally Similar Assembly Code
- 2025Token-Level Precise Attack on RAG: Searching for the Best Alternatives to Mislead Generation