npm audit shows dozens of vulnerabilities. Where do we start?
On 31 March 2026 two hijacked Axios releases pulled in a malicious dependency that downloaded a remote access trojan. CISA’s alert of 20 April 2026 told teams to pin known safe versions, rotate npm tokens and CI secrets, and set ignore-scripts and a seven‑day min‑release‑age in .npmrc (CISA alert).
I upgrade dependencies in waves you can revert, each one checked by your tests. For a typical app, that often takes a single evening. You get a clean lockfile and a short list of what changed. In October 2025 a library pinned a vulnerable copy of nodemailer that no update could reach, so I forced the patched version with an npm override and had a clean audit the same day.
