T08 · Insecure Dependencies
- Location
SKILL.md:96- Finding
Unpinned Third-Party Python Dependencies
- Content
View full analysis
- Remediation
View remediation
reportlab== ``` 2. Generate and record cryptographic hashes for every direct and transitive dependency, then install with: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 3. Generate the locked dependency set through a reproducible dependency-management process, such as `pip-compile`, and review dependency updates before merging them. 4. Document the expected trusted Python package index and avoid untrusted `--extra-index-url` configurations. 5. Install dependencies inside an isolated virtual environment under a non-privileged account. Explicitly warn users not to run pip or the watermark script with administrator or root privileges. 6. Add automated dependency vulnerability and provenance checks to the release process. ]]>
