T08 · Insecure Dependencies
- Location
setup.md:27- Finding
Unpinned Puppeteer Dependency Installation
- Content
View full analysis
- Remediation
View remediation
``` 2. Include and review `package.json` and `package-lock.json`, then use `npm ci` for deterministic installations. 3. Preserve and validate registry-provided integrity hashes in the lockfile. 4. Explicitly require the official trusted NPM registry and reject unexpected registry overrides. 5. Review package lifecycle scripts and consider `npm ci --ignore-scripts` where lifecycle scripts are unnecessary. 6. Perform dependency vulnerability and provenance checks before updating the pinned version. 7. Run installation in a least-privileged, isolated environment without sensitive environment variables. ]]>
