r/devops • • Oct 26 '26

Discussion Two widely used npm packages had their security advisories withdrawn. How should we handle false positives in dependency audits?

Both the braces and sprintf-js security advisories have been withdrawn, despite previously being marked as GitHub Reviewed.

braces: CVE-2026-93687 / GHSA-vfj7-8cjw-p6xm
sprintf-js: CVE-2026-97058 / GHSA-hp3w-g68c-fv3c

I understand that third-party security risks are a pressing concern. Last week was particularly rough, with incidents and critical vulnerabilities involving LiteLLM, PHP, intermediate CAs, Brotli, and more. Security teams everywhere have been scrambling to assess their exposure and mitigate potential risks.

However, these two widely used npm packages, commonly pulled in through linters, test frameworks, and other development tools, have once again caused unnecessary alarm across the ecosystem.

Both advisories have now been withdrawn, but not before triggering security alerts and forcing developers to investigate issues that turned out not to be practically exploitable.

How much can we trust automated dependency audits when even reviewed security advisories can turn out to be false positives?

More importantly, what should change in how vulnerability reports are vetted, published, and propagated to downstream security tools?

20 Upvotes

13 comments sorted by

3

u/Used_Criticism_4631 Oct 26 '26

A practical way to cut the noise is to gate builds on severity plus reachability, not on every advisory. Tools like Dependabot or Renovate and OSV-based scanners can open PRs without failing the pipeline, and you only block on critical or high findings that are reachable in the code path or listed in CISA KEV. Add a short-lived, expiring suppression file (VEX statements are designed for this) so a withdrawn advisory clears automatically instead of someone hand-editing ignores. Pinning with lockfiles also means a bad advisory never changes what you ship, only what you triage.

2

u/jjangg96 Oct 26 '26

we hit the braces one too. our scheduled audit job went red and the advisory said no patched version exists, so there was nothing to bump.

what we did was put it in an allowlist file with the reason (it only comes in through metro build tooling under a wallet adapter dep and never runs in our app) and an expiry date. the audit script also fails if an allowlist entry doesn't match any advisory anymore, so when one gets withdrawn like this the entry shows up as stale and gets deleted instead of sitting there forever.

so the build stays strict, but a person decided each exception once, in writing.

1

u/Admirable_Ones Oct 26 '26

I’d be careful with “only actively exploited issues should block builds.” That means waiting for evidence of attacks even when there’s already a credible vulnerability affecting your application.

What I’d want from an advisory is a clear explanation of what the attacker has to control and what happens when they do. “This input throws an exception” needs more context before it becomes a release blocker.

Withdrawals also need to reach downstream scanners reliably. An exception with an expiry date helps, but teams shouldn’t have to keep investigating an advisory because their scanner is using an outdated database.

1

u/Forsaken_Parfait_185 Oct 26 '26

Worked somewhere a security architect mandated a scanner on every image. Within a month every pipeline was red with a few hundred findings each, mostly base layers nothing called. I asked him what a libexpat CVE meant for a service that didn't parse XML. He didn't know, and the policy didn't care. So teams wrote exceptions, then automated the exceptions, and when a real one landed it looked like the four hundred fake ones.

The withdrawn braces advisory is that problem from the other end. The fix jjangg96 describes is the right one: a person decides each exception once, in writing, with an expiry, and the allowlist fails when an entry goes stale. The build stays strict and the humans stay awake. What doesn't work is "only exploited ones block", because the day you need the gate is the day before it's on the KEV list.

1

u/Kreout Oct 28 '26

An allowlist entry for a withdrawn advisory should be keyed by the GHSA id and its withdrawn state, not by the package name. braces and sprintf-js will show up again under a different advisory. If the exception says only "braces, build tooling", the next real GHSA for braces inherits the silence. Store the advisory id, the reason, and a review date, and drop the exception when the scanner stops reporting that id. A new id for the same package then fails the build again until someone looks at it.

1

u/MongooseWonderful198 Oct 28 '26

For the next advisory, separate “not shipped in the app” from “not executed.” A development dependency can still run during a build or test job. The relevant exposure may be the CI runner and its credentials, even if no production request reaches that package.

Check which inputs the tool processes, whether an untrusted pull request can control them, and what permissions that job has. Record that alongside the exception reason. This doesn't make either withdrawn advisory exploitable; it avoids treating every build-only dependency as safe by default.

https://docs.github.com/en/actions/reference/security/secure-use