T08 · Insecure Dependencies
- Location
SKILL.md:6- Finding
Unpinned Third-Party Dependencies Installed into the System Python Environment
- Content
View full analysis
- Remediation
View remediation
click== ``` 2. Generate a lock file containing hashes and install with hash verification: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 3. Review and pin transitive dependencies as well as direct dependencies. 4. Install dependencies inside a dedicated virtual environment rather than the system Python environment. 5. Remove `--break-system-packages` from all installation instructions. 6. Explicitly use a trusted package index and avoid inheriting unreviewed index or mirror configuration. 7. Add automated dependency scanning and periodic review before updating pinned versions. ]]>
