T08 · Insecure Dependencies
- Location
SKILL.md:44- Finding
Unpinned Third-Party Python Dependencies
- Content
View full analysis
- Remediation
View remediation
beautifulsoup4== ``` 2. Generate and verify package hashes, then require them during installation: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 3. Commit the dependency file and its hashes to the project so installations are reproducible. 4. Periodically update pinned versions after vulnerability scanning and review rather than resolving unrestricted versions at installation time. 5. Recommend installation inside an isolated virtual environment without administrator or root privileges. 6. Consider using a trusted internal package mirror where package provenance and approved versions are enforced. ]]>
