Repository navigation
scriptvet 1.0.0
First release of scriptvet: npm 12, pnpm 11 and Bun no longer run dependency install scripts by default. scriptvet shows what each one does and writes the allowlist.
npx github:feresbr1/scriptvet --writeOr download scriptvet.mjs below and run node scriptvet.mjs in your project (Node.js 18.17+, no dependencies).
- Finds preinstall / install / postinstall scripts (and implicit node-gyp builds) in npm, pnpm, Yarn and Bun lockfiles
- Reads the code each script runs for the exact version and classifies it: native build, binary download, binary check, message, git hooks, code generation, or review
- Writes allowScripts (npm), allowBuilds (pnpm), dependenciesMeta (Yarn) or trustedDependencies (Bun), pinned to the reviewed versions
--checkfor CI- Generated config verified with npm 12.2.0 --strict-allow-scripts and pnpm 11.28.6