mickdownunder/SafeInstall Policy Check

Run SafeInstall policy checks in CI. Blocks risky package installs before they land in your repo.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
mode"check" evaluates direct dependencies against policy without installing. "install" runs the package manager through SafeInstall so policy is enforced before any packages are written to disk. nocheck
package-managerPackage manager to use in install mode (npm, pnpm, or bun). Ignored in check mode. nopnpm
argsAdditional arguments forwarded to the package manager in install mode. Example: "--frozen-lockfile". Ignored in check mode. no""
config-pathExplicit path to safeinstall.config.json. If omitted, SafeInstall discovers the nearest config by walking upward from the project directory. no""
versionSafeInstall CLI version to install. Defaults to the latest published version. Pin to a specific version for reproducible builds. nolatest
verify-trustWhen "true", verify the Agent Trust Surface before running the policy check: the committed .safeinstall/trust-surface.lock must exist and match the repository state. This catches tampering with SafeInstall config, agent hooks, rules files, and MCP configs — even when the tampering happened on a fully compromised local machine, because CI re-verifies the committed baseline. nofalse
namedescription
decisionPolicy decision: allow or block
summaryHuman-readable one-line summary
exit-codeSafeInstall exit code (0 = allow, 2 = block, 1 = error)
jsonFull JSON result from SafeInstall