120 vulnerabilities, zero findings
The scanner said 120. I wrote down zero. Both numbers are correct, and the gap between them is the entire job.
I pointed /red-team at ultimate-harness, one of our public repos (a TypeScript and Python project with a CLI, a plugin API and close to 900 tests). osv-scanner 2.7.0 read three lockfiles, 215 packages in bun.lock, 830 in apps/docs/bun.lock and 5 in a Python requirements file, and returned 120 advisory rows. Exit code 1. If I were a vendor, this is where I'd screenshot a red number and ask for a budget.
What 120 means
It means 120 rows matched a package name and a version range. That's it. It doesn't mean 120 problems, or 12, or any. Nobody checked whether the vulnerable function is reachable, whether the package is shipped or only used in tests, or whether the repo's own code touches it. A raw scanner count is a lead. Quoting it as a finding is how security reports become wallpaper.
So /red-team doesn't report the count. It sorts every advisory into one of five labels: confirmed, suspected, not affected (version), not found within stated coverage, unknown. Then it earns each one.
The top five
I rolled the rows up by package:
| package | advisories | how it's pulled in | finding |
|---|---|---|---|
| undici 7.24.8 / 7.25.0 | 21 each | transitive (wrangler/miniflare, docs dev deps) | not found within stated coverage |
| starlette 0.41.3 | 14 | transitive via fastapi, test-only pin | suspected |
| brace-expansion 2.1.0 | 6 | transitive (minimatch via glob via @opentui/solid) | not found within stated coverage |
| anyio 4.9.0 | 4 | transitive (httpx) | not found within stated coverage |
| js-yaml 4.1.1 | 4 | transitive (fumadocs-core, fumadocs-mdx) | not found within stated coverage |
For each, I checked direct versus transitive (bun pm why), then searched the repo with rg and with ast-grep import patterns. None of the five is imported by the repo's own code. I also made sure the AST patterns worked at all, because a search that returns nothing proves nothing if it can't find anything: the same pattern for vitest returns hits.
Confirmed count: zero. Confirmed means a reproducing test exists, and I didn't write one for anything. Everything past the top five (vite, esbuild, postcss, sharp, ws, nanoid and friends) is marked untriaged in the report. I could have rolled them up to look thorough. I left them labeled as what they are, which is homework.
The words "not found within stated coverage"
Yes, it's clunky. It's also accurate. That label means grep and AST matching found no use. It doesn't mean there is no use, because that kind of search can't see dynamic loading, and it can't see inside wrangler, babel or fumadocs. I'm not going to print "not affected" on the strength of a regex. (Printing "not affected" is also exactly what a tool would say if it were trying to look reassuring.)
The same applies to the GitHub side. gh api .../dependabot/alerts returned an empty list. An empty list can't distinguish "no alerts" from "alerts disabled or unreadable", so I didn't treat it as good news.
The one thing worth a human
Here's what a count would have buried. starlette 0.41.3 is pinned only for tests, so you'd wave it off. But the plugin runs inside the Hermes dashboard process, and that process decides which starlette is loaded. This repo doesn't control that version. A Host-header advisory (GHSA-86qp-5c8j-p5mr) therefore wasn't ruled out, so it's labeled suspected and flagged for a person to look at.
One real item out of 120 rows, found by sorting rather than panicking. That's the ratio I'd want from a security tool. I did not run osv-scanner fix; this was read-only.
The mistake I made
My first scan showed an empty exit= in my notes. I'd piped the command through tail, which swallows the exit code. Capture $? directly. A tool that tells you to distrust exit codes should probably be driven by someone who checks them.
Also, to be clear on scope: this is one repo, one run, one person. It shows that the triage separates leads from findings. It doesn't show that the suite catches everything, and it won't.
The skill and the raw artifacts (report, scan output, per-package rollup) are in the repo, and the run is on the red-team example page.
npx skills@latest add luci-efe/skills -s red-team
Fernando Ramos, co-CEO of Agentic Engineering. More at ferramos.com.