T08 · Insecure Dependencies
- Location
references/conventions.md:225- Finding
Mutable npm Packages Are Downloaded and Executed Without Reproducible Version Pinning
- Content
View full analysis
- Remediation
View remediation
``` 3. Generate and commit `package-lock.json`, then recommend reproducible installation with: ```bash npm ci ``` 4. Review transitive dependencies and npm lifecycle scripts before approving dependency updates. 5. Use a trusted, explicitly configured npm registry and retain package integrity metadata from the lockfile. 6. Consider running scaffolding and installation commands in an isolated development container or other restricted environment, particularly when testing dependency updates. 7. Add an update policy requiring security review and automated dependency scanning before changing pinned versions. ]]>
