Software Supply Chain Failures
A library, package or build step you depend on is vulnerable or compromised.
What it is
Modern apps are mostly other people's code. If a dependency has a known bug, is abandoned, or is replaced by a malicious version, your app inherits the problem. The build pipeline (CI, install scripts) is part of the chain too.
What can happen
- A known CVE in an old library becomes a CVE in your app.
- A hijacked package runs code on your server or users' browsers.
- Unpinned versions change silently between builds.
Example: Unpinned dependencies
// package.json
"dependencies": {
"express": "*",
"left-pad": "latest"
}
// and in CI:
npm install// package.json
"dependencies": {
"express": "^5.1.0"
}
// commit package-lock.json, and in CI:
npm ci
npm audit --omit=devnpm ci installs exactly what the lockfile says and fails if it doesn't match package.json.
How to prevent it
- Commit the lockfile and install with npm ci.
- Run npm audit (or Dependabot) and update regularly.
- Remove dependencies you don't use.
- Install from trusted registries only, and review install scripts.
What CrimsonScan checks
Partly detectedA URL scan can't see your package.json. The heavy scan (ZAP) can still flag known-vulnerable JavaScript libraries that the page loads in the browser.