T08 · Insecure Dependencies
- Location
SKILL.md:16- Finding
Unpinned Third-Party SDK Is Given Raw Wallet-Signing Authority
- Content
View full analysis
- Remediation
View remediation
``` 2. Commit and enforce a package-manager lockfile with integrity metadata. Use deterministic installation in automation, such as `npm ci` or the equivalent frozen-lockfile mode. 3. Verify package provenance, publisher identity, signatures or attestations, and registry origin before installation. Configure the package manager to use only the intended trusted registry. 4. Perform dependency review and vulnerability scanning whenever the pinned SDK version or lockfile changes. Treat updates as security-sensitive because the dependency handles signing authority. 5. Do not expose a high-value wallet's raw private key to application dependencies. Prefer an external signer, hardware wallet, isolated signing service, or narrowly scoped wallet interface that keeps private-key material outside the SDK process. 6. Use a dedicated low-value wallet for agent payments. Maintain only the minimum required balance and avoid unrelated assets or broad token allowances. 7. Add transaction value limits, destination and chain allowlists, spending quotas, and explicit approval for payments above a minimal threshold. 8. Run the integration in a restricted environment with minimal filesystem permissions, filtered outbound network access, and no unrelated secrets in its environment. ]]>
