T08 · Insecure Dependencies
- Location
skill.md:35- Finding
Unpinned Third-Party Package Installation
- Content
View full analysis
- Remediation
View remediation
" ``` 2. Distribute a requirements or lock file containing cryptographic hashes and install with hash verification: ```bash python -m pip install --require-hashes -r requirements.txt ``` 3. Pin and audit all transitive dependencies rather than controlling only the top-level package version. 4. State the expected official package index and upstream source repository so users can identify dependency-confusion or package-substitution attempts. 5. Use an isolated virtual environment and avoid installing or running the server with administrative or root privileges. 6. Establish a documented update process in which new versions and their dependency changes are reviewed before the pinned version is advanced. 7. Update both `skill.md` and `README.md` so that neither document continues to recommend an unpinned installation. ]]>
