Skip to main content
Wright Websites

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-tripwire

Read 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/main

Where we use it

CI job on this site: install · audit:deps · In use

Related service: Web hosting

Related packages

Supply Chain