The lock the vendor warned about
Watch it happen
A lock model is announced as pickable and a fix is released. The bank never replaces its lock, and Mallory picks it.
The bank buys its locks from a vendor, like most banks. The truck delivers Vendor lock v2.1 for the vault. Your app does the same with packages from npm, pip or Maven.
Lock vendor to Lock v2.1: delivered.In bank terms and app terms
| In the bank | In your app |
|---|---|
Are you exposed?
Your package.json, requirements.txt or pom.xml has old pinned versions that you have not touched in months. npm audit, pip-audit or GitHub’s Dependabot tab shows high or critical alerts you have not looked at. You rarely redeploy, or you copy install commands from AI tools without checking the versions they pick.
Turn on Dependabot or Renovate and review its update PRs weekly. Run npm audit (or pip-audit / the OWASP dependency-check Maven plugin) in CI and fail builds on high or critical findings. Commit your lockfile, remove unused packages, and prefer well-maintained libraries. Flaws often hide in transitive dependencies, which npm audit and Dependabot also cover.
It has happened to real companies
Equifax (2017) — 147 million people's records were stolen through an unpatched Apache Struts dependency (CVE-2017-5638). Equifax was alerted to the flaw in March 2017 and did not patch it. In 2019 Equifax agreed to pay at least $575 million, and up to $700 million, to settle with US regulators and states.
Log4Shell / Log4j (2021) — CVE-2021-44228 in Apache Log4j let an attacker who controlled log messages make the application load and run code from a server the attacker chose. It scored the maximum severity (CVSS 10.0), and CISA described Log4j as "very broadly used in a variety of consumer and enterprise services, websites, and applications."
What it looks like in code
{
"dependencies": {
"next": "13.0.0", // Multiple critical CVEs
"jsonwebtoken": "8.5.1", // CVE: algorithm confusion attack
"lodash": "4.17.15", // CVE-2019-10744: prototype pollution
"axios": "0.21.0" // CVE-2021-3749: ReDoS
}
}
Ask your AI tool to fix it
Paste this into Cursor, Claude, Lovable, Bolt or whatever you build with.
Audit my project dependencies for known vulnerabilities. Run npm audit (or the pip/Maven equivalent), upgrade each vulnerable package to the nearest patched version, run the tests and build, and tell me about any breaking changes. Then add a Dependabot config and a CI step that fails on high or critical vulnerabilities, and remove packages I do not use.Where this comes from
The facts, figures and fixes on this page were checked against these sources on 25 Oct 2026. They are linked so you can check for yourself.
- Top 10:2021 A06 Vulnerable and Outdated ComponentsOWASPUnpatched or outdated libraries are a top web risk; track and patch dependencies
- npm auditnpm Docsnpm audit checks installed dependencies against known advisories and can exit non-zero for CI
- About Dependabot version updatesGitHub DocsDependabot opens pull requests to keep dependencies current
- pip-auditGitHubAudits Python requirements for known vulnerabilities
- dependency-check-mavenOWASPMaven plugin that can fail the build above a CVSS threshold
- S2-045 (CVE-2017-5638)Apache StrutsStruts flaw CVE-2017-5638 with fixed versions 2.3.32 and 2.5.10.1
- Media alert: ASF confirms Equifax data breach due to failure to install security updatesApache Software FoundationEquifax was breached through unpatched Struts although a fix existed
- Equifax to Pay $575 Million as Part of Settlement with FTC, CFPB, and StatesUS FTCAbout 147 million people; at least $575 million, up to $700 million; failed to patch after March 2017 alert
- Apache Log4j Vulnerability GuidanceCISACISA's quote that Log4j is very broadly used across services, websites and applications
- Security :: Apache Logging ServicesApache Logging ServicesCVE-2021-44228 Log4Shell, remote code execution, CVSS 10.0
Spot a mistake or something out of date? Report a correction · How these guides are made and checked
The free, open-source scanner checks for most of the problems in these guides.