T08 · Insecure Dependencies
- Location
README.md:101- Finding
Mutable Third-Party Repositories Are Installed Without Commit Pinning
- Content
View full analysis
- Remediation
View remediation
``` 2. Publish the expected commit hashes in the documentation and verify them before installation. 3. Prefer signed, versioned releases where maintainers provide verifiable signatures or attestations. 4. Audit and lock every transitive dependency from the external repositories. 5. Use an isolated virtual environment or container with minimum filesystem and network privileges. 6. Generate a hash-locked dependency file and install it with: ```bash pip install --require-hashes -r requirements.lock ``` 7. Add automated dependency and repository-integrity monitoring so changes to pinned sources require a new security review. ]]>
