T08 · Insecure Dependencies
- Location
SKILL.md:19- Finding
Unpinned SDK Dependency Is Entrusted with Wallet Credentials
- Content
View full analysis
- Remediation
View remediation
``` 2. Commit and enforce a lockfile, and use `npm ci` in controlled deployments. 3. Verify registry provenance, package signatures where supported, and package integrity hashes. 4. Audit the SDK source, release artifacts, lifecycle scripts, and transitive dependencies before granting access to production credentials. 5. Prefer isolated CDP credentials with only the minimum required permissions over raw private keys. 6. Use a dedicated low-balance wallet with spending, destination, rate, and transaction-value limits. 7. Keep production credentials outside general-purpose process environments where possible; use a managed secret store and short-lived credentials. 8. Require explicit human approval for high-value purchases, arbitrary destinations, or production-mode transactions. 9. Monitor wallet activity and rotate or revoke credentials immediately if package compromise is suspected. ]]>
