T08 · Insecure Dependencies
- Location
clawhub.json:7- Finding
Unpinned Third-Party Trading SDK Creates a Supply-Chain Risk
- Content
View full analysis
- Remediation
View remediation
" ] ``` 2. Use a lock file or deployment mechanism that records cryptographic hashes for all direct and transitive dependencies. 3. Install dependencies with hash verification, such as `pip install --require-hashes`. 4. Review the pinned package artifact and its transitive dependency tree before deployment. 5. Use a private package mirror or allowlisted artifact repository where practical. 6. Monitor the dependency for publisher changes, unexpected releases, vulnerabilities, and package-repository compromise. 7. Restrict the API key to the minimum necessary trading permissions and financial limits, and rotate it if dependency compromise is suspected. ]]>
