Repository navigation
Two new checks in 1.8.0, both contributed from outside the project.
New checks
.envrcfiles. direnv runs.envrcas a shell script when you enter the folder afterdirenv allow, so a repo can ship code that runs oncd. Reported as a finding (also common in legitimate projects). #39, #41- Non-registry specs in npm
overrides, Yarnresolutionsandpnpm.overrides, including nested entries. A git URL, tarball orfile:path there replaces a package from outside the npm registry without appearing independencies. #42, #45
Thank you
- @NikolasPavlouCy for the
.envrccheck (#41) - @haseemajaz for the overrides and resolutions check (#45)
The README now has a Contributors section with everyone who added a check.
Upgrade
npx npm-install-audit@1.8.0 /absolute/path/to/repo- uses: cryptostrapon/npm-install-audit@v1.8.0No dependencies, no network, read only. A clean scan is not proof of safety.
Note: 1.6.0 was never published to npm; its workspace .npmrc check shipped in 1.7.0.
Real cases behind these checks (fake take-home tests and job offers): cryptostrapon.com/stories/malicious-test-project