Skip to content

scriptvet 1.0.1

Latest

Choose a tag to compare

@feresbr1 feresbr1 released this 20 Oct 10:39
ff79753

scriptvet finds every dependency in your lockfile that runs an install script (preinstall, install, postinstall), reads the code it runs, tells you what it does and whether to allow it, and writes the allowlist that npm 12, pnpm 11, Yarn and Bun need.

New in 1.0.1: GitHub Action

- uses: actions/checkout@v4
- uses: actions/setup-node@v4
  with:
    node-version: 22
- uses: feresbr1/scriptvet@v1

The job fails when a pull request adds a dependency with an install script that is not in your allowlist. The job summary explains what each script does (native build, binary download, funding banner, git hooks...) with an allow/deny recommendation. Fix it with npx github:feresbr1/scriptvet --write.

Inputs: path, working-directory, manager (npm, pnpm, yarn, bun), fail-on-uncovered (default true).

Also available