T08 · Insecure Dependencies
- Location
SKILL.md:157- Finding
Unpinned Third-Party Runtime Dependencies
- Content
View full analysis
- Remediation
View remediation
openpyxl== deep-translator== ``` 2. Generate and verify cryptographic hashes for every direct and transitive dependency, then install with: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 3. Use a lock-generation tool to produce deterministic transitive dependency versions. 4. Recommend installation inside a dedicated virtual environment rather than the user's global Python environment. 5. Periodically scan the lock file for known vulnerabilities and review dependency updates before changing pinned versions. 6. Prefer prebuilt artifacts from trusted package indexes and document the expected index explicitly. ]]>
