mlsanityData to 13 Oct 2026

From Data Leak to Secret Misses: The Impact of Data Leakage on Secret Detection Models

arXiv 2601.22946 ↗First posted 30 Jan 2026cs.CR cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Machine learning models are increasingly used for software security tasks. These models are commonly trained and evaluated on large Internet-derived datasets, which often contain duplicated or highly similar samples. When such samples are split across training and test sets, data leakage may occur, allowing models to memorize patterns instead of learning to generalize. We investigate duplication in a widely used benchmark dataset of hard coded secrets and show how data leakage can substantially inflate the reported performance of AI-based secret detectors, resulting in a misleading picture of their real-world effectiveness.

Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 12 of its 23 references that are in the map. First posted on arXiv 30 Jan 2026.

Builds on

12 of 23 references.

References · 12

  1. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 651
  2. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
  3. 2018The Adverse Effects of Code Duplication in Machine Learning Models of Codecited by 125
  4. 2020Dos and Don'ts of Machine Learning in Computer Securitycited by 102
  5. 2024LLM Security Guard for Codecited by 15
  6. 2025Chasing Shadows: Pitfalls in LLM Security Researchcited by 13
  7. 2025Benchmarking Prompt Engineering Techniques for Secure Code Generation with GPT Modelscited by 12
  8. 2024On Inter-dataset Code Duplication and Data Leakage in Large Language Modelscited by 10
  9. 2023SecretBench: A Dataset of Software Secretscited by 5
  10. 2025Secret Breach Detection in Source Code with Large Language Modelscited by 3
  11. 2024AssetHarvester: A Static Analysis Tool for Detecting Secret-Asset Pairs in Software Artifactscited by 2
  12. 2025Security Bug Report Prediction Within and Across Projects: A Comparative Study of BERT and Random Forestcited by 2

Built on by

Not cited yet.