DEV Community

I made supply-chain security a blocking step of npm install (opens in new tab)

Discussed on DEV

The gap npm audit runs after the install. By then the package — and any postinstall script it shipped — is already on your machine. For supply-chain attacks, "after" is too late. So I built Vault: an npm-compatible, pnpm-style package manager (written in Rust) that makes the security check part of install itself. ## What it does before touching node_modules Blocks known CVEs. It audits the resolved graph (OSV + a static scan) and refuses to install critical/high vulnerabilities. --force exist...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help