Chasing Shadows: Pitfalls in LLM Security Research
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are increasingly prevalent in security research. Their unique characteristics, however, introduce challenges that undermine established paradigms of reproducibility, rigor, and evaluation. Prior work has identified common pitfalls in traditional machine learning research, but these studies predate the advent of LLMs. In this paper, we identify nine common pitfalls that have become (more) relevant with the emergence of LLMs and that can compromise the validity of research involving them. These pitfalls span the entire computation process, from data collection, pre-training, and fine-tuning to prompting and evaluation. We assess the prevalence of these pitfalls across all 72 peer-reviewed papers published at leading Security and Software Engineering venues between 2023 and 2024. We find that every paper contains at least one pitfall, and each pitfall appears in multiple papers. Yet only 15.7% of the present pitfalls were explicitly discussed, suggesting that the majority remain unrecognized. To understand their practical impact, we conduct four empirical case studies showing how individual pitfalls can mislead evaluation, inflate performance, or impair reproducibility. Based on our findings, we offer actionable guidelines to support the community in future work.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). First posted on arXiv 10 Dec 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 10.
10 papers.
- 2026The Silent Hyperparameter: Quantifying the Impact of Inference Backends on LLM Reproducibilitycited by 6
- 2026Semia: Auditing Agent Skills via Constraint-Guided Representation Synthesiscited by 5
- 2026SoK: The Pitfalls of Deep Reinforcement Learning for Cybersecuritycited by 4
- 2026Towards Reliable Local Security Agents: Verifiable Post-Training for Linux Privilege Escalationcited by 1
- 2026Probing Memorization of Tabular In-Context Learningcited by 1
- 2026From Data Leak to Secret Misses: The Impact of Data Leakage on Secret Detection Modelscited by 0
- 2026A Comprehensive Evaluation of Code Language Models for Security Patch Detectioncited by 0
- 2026Are Frontier LLMs Ready for Cybersecurity? Evidence for Vertical Foundation Models from Dual-Mode Vulnerability Benchmarkscited by 0
- 2026SoK: AI-Augmented Binary Reversingcited by 0
- 2026The Half-Lives of Generative-AI Evidence: A 40-Record Audit, a Claim-Currency Framework, and a Reflexive Case of Frontier-Model-Assisted Researchcited by 0
- 2026The Half-Lives of Generative-AI Evidence: A 40-Record Audit, a Claim-Currency Framework, and a Reflexive Case of Frontier-Model-Assisted Research27 Jul 2026
- 2026Probing Memorization of Tabular In-Context Learning30 Jun 2026
- 2026SoK: AI-Augmented Binary Reversing16 Jun 2026
- 2026Are Frontier LLMs Ready for Cybersecurity? Evidence for Vertical Foundation Models from Dual-Mode Vulnerability Benchmarks22 May 2026
- 2026The Silent Hyperparameter: Quantifying the Impact of Inference Backends on LLM Reproducibility19 May 2026
- 2026A Comprehensive Evaluation of Code Language Models for Security Patch Detection13 May 2026
- 2026Semia: Auditing Agent Skills via Constraint-Guided Representation Synthesis1 May 2026
- 2026Towards Reliable Local Security Agents: Verifiable Post-Training for Linux Privilege Escalation18 Mar 2026
- 2026SoK: The Pitfalls of Deep Reinforcement Learning for Cybersecurity9 Feb 2026
- 2026From Data Leak to Secret Misses: The Impact of Data Leakage on Secret Detection Models30 Jan 2026