T08 · Insecure Dependencies
- Location
SKILL.md:22- Finding
Unpinned Third-Party Package Installation and Execution
- Content
View full analysis
- Remediation
View remediation
``` 2. Document the expected package publisher and official registry source. 3. Verify npm integrity and provenance metadata before installation. 4. Avoid using `npx` to download and execute an unpinned package directly. 5. Use a lockfile and a controlled installation process where practical. 6. Review package lifecycle scripts and disable unnecessary installation scripts. 7. Run the coding agent in a container or sandbox with: - Access limited to the intended repository. - No unrelated secrets in the environment. - Restricted network connectivity. - A non-privileged operating-system account. 8. Establish a controlled upgrade process that reviews new versions before changing the documented pin. ]]>
