npm.io
2026.6.7 • Published 4d agoCLI

pmsec

Licence
MIT
Version
2026.6.7
Deps
0
Size
45 kB
Vulns
0
Weekly
744

pmsec (Node)

Node 22+ ESM CLI for the same pmsec contract as the root project.

npx pmsec
npx pmsec --check
npx pmsec --disable

Bootstrap 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 --check

Usage

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

Keywords