← Rankings

lodash

npm · Rank #55 of 217

80 / 100 B
CRITICAL — Single npm publisher with 158M weekly downloads. One compromised credential could push malicious code to every downstream project.
npx proof-of-commitment · Audit the rest of your tree →
1
npm publisher
Single point of failure
158M
downloads/week
Blast radius if compromised
14.2y
package age
Established package
81 days ago
last release
Active maintenance
35
GitHub contributors
Many contributors, single publisher
Provenance Not enabled
Staged Publishing Not enabled

Risk analysis

lodash has a single npm publisher and 158M weekly downloads. This is the exact structural profile exploited in the axios and LiteLLM supply chain attacks: one compromised credential would expose every downstream project.

Why "CRITICAL" doesn't mean "bad"

A CRITICAL flag means this package has the structural preconditions for a supply chain attack — not that an attack is happening. Both axios (score 86) and chalk (score 75) are flagged CRITICAL. They're well-maintained. They're also one stolen credential away from a repeat of the March 2026 attacks.

The flag surfaces a fact: 1 person can push code to 158M machines per week. Whether that's a problem depends on your risk tolerance.

What would reduce the risk?

Staged publishing adds a human approval gate between npm publish and going live. Even with stolen CI credentials, an attacker can't push code without the maintainer's explicit 2FA approval. nanoid and postcss already use it.

Build provenance ties every published version to a specific CI run. It doesn't prevent compromise, but it makes it detectable — the next npm audit signatures catches a version published from outside CI.

What the score measures

  • Publisher depth — How many people can push to npm? Single-publisher packages are the #1 structural risk.
  • Longevity — Older packages have track records. New packages with high adoption are higher risk.
  • Release consistency — Regular releases signal active oversight. Long gaps mean unpatched vulnerabilities.
  • Download trend — Growing packages attract more scrutiny (and more attacks).
  • OpenSSF Scorecard — Process security: branch protection, code review, CI/CD safety.
  • Build provenance — Published versions linked to specific CI runs via SLSA attestation.
  • Staged publishing — Human approval gate between npm publish and going live.

lodash is one package. Score them all.

You came looking for lodash. Your node_modules has hundreds more. Some of them have the same single-publisher profile. Run one command to score every dependency you ship:

npx proof-of-commitment

Auto-detects your lockfile. Scores every dependency. Zero install.

Share this score

Add the badge to your README

Commit trust score for lodash
![Commit Trust](https://getcommit.dev/badge/npm/lodash)