T08 · Insecure Dependencies
- Location
SKILL.md:20- Finding
Unpinned PyMilvus Dependency Creates a Supply-Chain Risk
- Content
View full analysis
- Remediation
View remediation
" ``` 2. Maintain dependencies in a lock file with cryptographic hashes. 3. Install with hash verification, for example: ```bash python -m pip install --require-hashes -r requirements.txt ``` 4. Document and enforce a trusted package index instead of relying on arbitrary pip configuration. 5. Periodically review and deliberately update the pinned version after checking release provenance, security advisories, and compatibility. 6. Perform installation in an isolated virtual environment under a non-privileged account. ]]>
