T08 · Insecure Dependencies
- Location
scripts/configure.py:167- Finding
Unpinned Third-Party Dependency Installation Guidance
- Content
View full analysis
- Remediation
View remediation
``` 2. Generate and verify cryptographic hashes, and install with: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 3. Document installation inside a dedicated virtual environment rather than recommending an ad hoc global installation. 4. Use an explicitly trusted package index and consider restricting fallback indexes to reduce dependency-confusion exposure. 5. Add automated dependency scanning and a controlled update process so pinned versions continue receiving security fixes. 6. Replace the displayed command with a reference to the reviewed dependency file, for example: ```python print("PyYAML is required for auto-detection. Install the reviewed dependencies from requirements.txt.") ``` ]]>
