GitHub'sSecretA value such as a password, key or token that lets its holder act as someone; it must be kept out of code and shared files.Full definition →-scanning evaluation treated fewer unnecessary alerts as useful only if detection of genuine credentials stayed within a predefined acceptable range. The team reports a 95% reduction in false positives on its offline evaluation dataset while meeting that constraint.
The evaluation preserved surrounding code and ambiguity because a model could otherwise explain the wrong credential-like string. It also checked the meaning of historical labels: a dismissed alert might reflect a credential that was already replaced, rather than a mistaken detection. The result is an offline measure, and the article cautions that offline gains may not translate cleanly into production behavior.
Terms in this piece · Glossary
Secret — A value such as a password, key or token that lets its holder act as someone; it must be kept out of code and shared files.
Evaluation dataset — A repeatable set of representative cases used to measure system behavior.
Large language model — A model trained on large amounts of data to process and generate language.
Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.