T08 · Insecure Dependencies
- Location
SKILL.md:8- Finding
Unpinned Global Installation of a Security-Sensitive Third-Party Package
- Content
View full analysis
- Remediation
View remediation
``` 2. Record and verify the expected package integrity hash or provide signed release artifacts. Document the exact verification command users must run before installation. 3. Replace automatic “latest version” updates with an explicit update policy requiring: - Review of release notes and source changes. - Verification of package signatures or checksums. - Approval of a specific version before deployment. 4. Prefer a project-local installation with a committed lockfile over global installation where operationally feasible. Invoke the pinned binary through a controlled package script or equivalent mechanism. 5. Protect the release supply chain with npm provenance, publisher-account multi-factor authentication, restricted publishing credentials, protected CI environments, and reproducible builds. 6. Publish the CLI source and update implementation for independent review, particularly the code responsible for credential storage, transaction signing, endpoint selection, and self-updates. 7. Run the CLI under a dedicated, least-privileged operating-system account and restrict access to unrelated files and credentials. 8. Apply transaction-level safeguards such as restricted agent-wallet permissions, spending or withdrawal limitations where supported, testnet validation, and explicit confirmation for high-impact trading operations. ]]>
