T08 · Insecure Dependencies
- Location
SKILL.md:16- Finding
Unpinned Third-Party Packages and Mutable Sources Executed Through npx
- Content
View full analysis
- Remediation
View remediation
install dual-stream-architecture ``` 2. Pin repository-based installations to an immutable commit hash rather than a mutable branch or tree path. 3. Publish expected SHA-256 checksums or cryptographic signatures and require users to verify downloaded artifacts before installation. 4. Prefer a non-executing download and manual-copy workflow when practical. If an installer must execute, document its publisher, exact version, expected integrity value, and required permissions. 5. Maintain lockfiles for executable package dependencies and review transitive dependency changes before updating the pinned version. 6. Run installation in a sandbox or least-privileged environment without production credentials, SSH keys, cloud tokens, or access to sensitive project files. 7. Document a controlled upgrade process so newer versions are reviewed and pinned rather than selected automatically. ]]>
