package-tripwire
flag risky dependency changes
Detect suspicious or risky changes in npm dependencies before they merge.
- 49/week on npm
- 2★
- MIT
- v1.1.1
- In use on this site
- Supply Chain
npx package-tripwireRead the full README on GitHub (opens in a new tab)View on npm (opens in a new tab)
package-tripwire
From the README
package-tripwire diffs your lockfile against a git ref (e.g. the PR base branch) or a saved baseline, looks up every new or changed package in the npm registry, and fails the build when something looks like a supply-chain attack. It works as a CLI, a library and a GitHub Action, and has zero runtime dependencies.
npm install --save-dev package-tripwire
# or run it once
npx package-tripwire --base origin/mainRelated packages
Supply Chain
- supply-chain-sentinel
one supply-chain gate
- dead-deps-gauge
find unused dependencies
- dockerfile-sentinel
lint Dockerfiles for risk
- dotenv-sentinel
validate .env files