A secure, pnpm-style package manager for Node.js that actively blocks supply-chain attacks before a single file is extracted.
$ npm install -g vaultpm
Installs the vault and vt commands. Vault's own
install runs zero postinstall scripts.
Not a scanner you run afterwards. The package manager itself is the guard.
Every package is checked against OSV.dev before download. Critical CVEs are blocked, not just reported.
Obfuscation-resistant scan of preinstall/postinstall for credential theft, exfiltration and eval-based payloads.
Flags freshly-published versions and maintainer-set changes between installs โ the classic hijack pattern.
Catches look-alike names (expresss, crossenv) before you install the wrong thing.
Lifecycle scripts run under a kernel sandbox with no access to ~/.ssh, ~/.aws or the network.
pnpm-style global store + hard links. Ten projects on lodash = one copy on disk.
Socket-style analysis, built into a native package manager โ open source.
| Vault | Socket / Aikido | snpm / rnpm | pnpm 10 / bun | |
|---|---|---|---|---|
| Is a package manager | โ | โ wraps npm | โ | โ |
| Pre-install CVE scan | โ | โ | partial | โ |
| Static script analysis | โ | โ | โ | โ |
| Kernel sandbox | โ Landlock | โ | โ | โ |
| Open source & self-contained | โ | โ SaaS | โ | โ |
Vault is the first open-source native package manager where the security analysis is built into the installer itself. See honest benchmarks.
Security usually means "slower". Vault refuses the trade-off โ on a warm cache it's ~2ร faster than pnpm (and level with it cold), while auditing every dependency.
| Package manager | Cold cache | Warm cache | Audits deps? |
|---|---|---|---|
| vault | 3.7s | 1.3s ๐ฅ | โ |
| pnpm | 2.8s | 2.1s | โ |
| npm | 8.0s | 3.5s | โ |
One back-to-back run ยท ~150-package tree ยท scripts disabled for all tools. Times vary with network; cold ordering vs pnpm flips run-to-run. Reproduce it: BENCHMARKS.md.
A malicious package is rejected on metadata alone โ before any file touches disk.