T08 · Insecure Dependencies
- Location
README.md:41- Finding
Mutable npm Package Is Downloaded and Executed Through npx
- Content
View full analysis
- Remediation
View remediation
publish`. - Prefer installing the publishing tool from a lockfile with integrity metadata and invoking that locked local installation. - Use `npx --no-install` where practical to prevent an invocation from silently downloading an absent package. - Review the selected package release, its transitive dependencies, and lifecycle scripts before use. - Keep publishing tooling separate from the runtime installation instructions so users do not mistake it for a required operational dependency. - Run publishing tools in a restricted environment with only the minimum credentials and filesystem access needed for publication. ]]>
