T08 · Insecure Dependencies
- Location
SKILL.md:15- Finding
Unpinned Package Retrieval and Execution via npx
- Content
View full analysis
- Remediation
View remediation
install tallow-candle-making-basics ``` 2. Verify the package against a trusted integrity hash or signed provenance before execution. Document the expected package source, version, checksum, and publisher identity. 3. Prefer installation through a lockfile-backed workflow or an immutable, internally mirrored artifact repository. 4. Review both the direct package and its transitive dependency tree before approving a version. Repeat this review before changing the pinned version. 5. Where operationally feasible, disable npm lifecycle scripts during package acquisition and execute only the explicitly reviewed entry point. 6. Run the installer in a sandbox, container, or otherwise restricted environment with minimal filesystem access, no unnecessary credentials, and no elevated privileges. 7. Remove or replace every unpinned occurrence of the installation command so users are not directed to bypass the hardened installation procedure. ]]>
