pmsec
v2026.7.5
Published
Zero-config install-time supply-chain hardening for npm, pnpm, yarn, bun, cargo, mise, uv, and bundler.
Maintainers
Readme
pmsec (Node)
Node 22+ ESM CLI for the same pmsec contract as the root project.
npx pmsec
npx pmsec --check
npx pmsec --disableBootstrap through registries that already enforce cooldowns:
npx --registry=https://registry.npmjs.org/ --min-release-age=0 pmsec --check
uvx --index https://pypi.org/simple --exclude-newer-package pmsec=2099-01-01 pmsec --checkUsage
| Command | Result |
| --- | --- |
| pmsec | Writes the hardening bundle. |
| pmsec --check | Exits 1 when any selected tool is below policy. |
| pmsec --disable | Removes pmsec-managed keys only. |
| pmsec --doctor | Prints read-only path, ownership, and writability diagnostics. |
| pmsec --version | Prints the version. |
Options: --tool npm,pnpm,yarn,bun,cargo,mise,uv,bundler,aube, --days N,
--force, --json.
Write failures include the target path and ownership hint. pmsec never escalates privileges.
See the root README for the full key table.
License
MIT
