T08 · Insecure Dependencies
- Location
SKILL.md:29- Finding
Unpinned Third-Party Package Installation
- Content
View full analysis
- Remediation
View remediation
" ``` 2. Publish a requirements or constraints file containing cryptographic hashes and require hash validation: ```text ollama-herd== \ --hash=sha256: ``` Install it with: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 3. Verify and update the pinned version through a controlled dependency-review process rather than automatically selecting the latest release. 4. Recommend installation in a dedicated virtual environment under a non-privileged account: ```bash python3 -m venv .venv . .venv/bin/activate python3 -m pip install --require-hashes -r requirements.txt ``` 5. Explicitly warn users not to run pip or the package commands with administrator or root privileges. 6. Where practical, document the expected package publisher, source repository, release provenance, and artifact digest so users can independently validate the dependency. ]]>
