PkgRadar

npm · registry.npmjs.org

creditcard.js

Install-time lifecycle script: preinstall="yarn dlx only-allow yarn"

Why PkgRadar flagged 3.0.61

SeveritySignalEvidence
highNew Lifecycle Script Vs Previouspreinstall added in 3.0.61 vs 3.0.60: "yarn dlx only-allow yarn" · package.json
highNew Lifecycle Script Vs Previouspostinstall added in 3.0.61 vs 3.0.60: " yarn simple-git-hooks" · package.json

Scanned versions

VersionVerdictScoreScanned (UTC)
3.0.63Low risk02026-06-08
3.0.61High risk902026-06-08
2.1.8Low risk02026-06-04
3.0.60Low risk02026-06-04
3.0.58Low risk02026-05-27
3.0.59Low risk02026-05-27

Block this in CI

PkgRadar gates creditcard.js (and every other dependency) before it merges. One line in your pipeline:

pkgradar gate --ecosystem npm [email protected]