“Our study uncovers an unexpected behavior of current LLMs for
vulnerability discovery. While these models are widely believed
to offer sophisticated analysis, we find that they largely capture
basic statistical properties rather than deeper, structural insights of
code. Simple code metrics can measure the very same properties
using just a fraction of the computing resources”
LLM-based Vulnerability Discovery through the Lens of Code Metrics https://mlsec.org/docs/2026-icse.pdf








