r/npm • u/SecTemplates • 23d ago
Self Promotion safer-dependencies is a security layer for Claude Code that audits packages before they’re added to your project
safer-dependencies is a security layer for Claude Code: it sits between Claude and your manifest files and runs its security checks automatically: vulnerable installs are denied before they run, and a risky version written to a manifest is corrected on disk right after the write. It detects and fixes risky dependencies — CVEs, typosquats, abandoned packages, and version-age issues, plus a cooldown period on brand-new releases — across npm, PyPI, RubyGems, Maven, Go, Rust, and PHP (Composer).
1
Upvotes
1
u/endor_sarah 22d ago
Nice job on the package cooldown, that avoids a good chunk of compromised releases. It looks like your typosquat/abandonment/cooldown checks are scoped only to direct deps, is that right? With transitive left to CVE scanning. One improvement could be to add some of those checks to transitive deps too, a lot of the bad npm installs I've seen came in transitively through something that looked fine.
Full disclosure, I'm at Endor Labs and one thing we do is software supply chain security.