Skip to the content
Agent Tools

npm audit blocked 20 of 25 packages; an exploit-based gate blocked 3

A dependency gate that blocks nearly everything gets ignored or switched off. We wanted to know how much of a CVSS-only block list shows any sign of real exploitation.

By OpenKrill. Published 2026-10-21. Based on our own checks, read 2026-10-21.

What we ran

We built Shipvigil for the GitLab "Life After Code" hackathon. On 2026-10-17 we ran two gates on the same input: 25 popular npm packages pinned at older versions with published advisories, including ejs 3.1.6, lodash 4.17.20, moment 2.29.1 and vm2 3.9.17.

The baseline was npm audit --audit-level=high. It took 29 seconds, reported 34 advisories and would block 20 of the 25 packages (7 critical, 13 high) on CVSS severity alone.

The Shipvigil gate uses OSV, CISA KEV and FIRST EPSS. Its rule: block a package only if it is known malware, has a CVE in CISA KEV, or has an EPSS score of 10% or higher.

What each gate blocked

The exploit-based gate blocked 3 of 25:

  • ejs 3.1.6: EPSS 32.8%, CVE-2022-29078
  • lodash 4.17.20: EPSS 21.3%
  • moment 2.29.1: EPSS 13.9%

The other 17 packages that npm audit would block passed as non-blocking.

On a GitLab merge request, a commit pinning ejs 3.1.6 failed the pipeline in the secure stage. A GitLab Duo agent flow then upgraded ejs to 3.1.10 and the next pipeline passed all stages. The lockfile check showed 1 blocked package before the fix and 0 after.

Where this loses

The exploit-based gate intentionally passes high CVSS findings that show no sign of exploitation yet. vm2 3.9.17 is a clear case: npm audit blocks it for a critical CVSS score, but its EPSS is 8.1% and it is not in CISA KEV, so our gate lets it through.

So if your policy says every high or critical finding must be fixed, you cannot swap one list for the other. Those 17 passed packages still carry high or critical CVSS findings. You need the full 20-package list for the policy and the 3-package list for the order of work.

What to do today

  1. Run npm audit --audit-level=high and collect the CVEs it flags.
  2. Look up each CVE for CISA KEV listing and EPSS. Paste a CVE into CVE Risk Check to see how severe it is and where it belongs in your fix order, which is the sorting step to finish before you touch the gate.
  3. Fix first anything in KEV or with EPSS of 10% or higher.
  4. Decide which list your pipeline blocks on. Block on exploit signals if you want a gate people respect. Keep CVSS as the block rule only if your policy demands it.

Frequently asked questions

What does our tool return for a CVE I paste in?

In one call it returns how severe the CVE is and how urgently it should be fixed, so you can sort a long audit list by priority.

Would the exploit-based gate have passed vm2 3.9.17?

Yes. Its EPSS is 8.1%, below the 10% line, and it is not in CISA KEV, so it passed even though npm audit blocks it as critical.

Is the 29-second npm audit time comparable to the other timings you saw?

No. A separate 6.8-second check of six GitLab project gates is a different task, so those two times are not a like-for-like speed comparison.

Sources

  • Based on our own checks, read 2026-10-21.