← Rankings

class-validator

npm · Rank #173 of 217

78 / 100 C
2
npm publishers
Distributed credential risk
10M
downloads/week
Blast radius if compromised
10.2y
package age
Established package
115 days ago
last release
Active maintenance
35
GitHub contributors
Source code contributors
— Provenance Not enabled
— Staged Publishing Not enabled

Risk analysis

class-validator shows healthy behavioral signals: multiple publishers distribute the credential risk, and the package is actively maintained.

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.

class-validator is one package. Score them all.

You came looking for class-validator. Your node_modules has hundreds more. 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 class-validator
![Commit Trust](https://getcommit.dev/badge/npm/class-validator)