T08 · Insecure Dependencies
- Location
rag_enhance.py:114- Finding
Automatic Installation of an Unpinned Third-Party Dependency
- Content
View full analysis
- Remediation
View remediation
\ --hash=sha256: ``` ```bash python -m pip install --require-hashes -r requirements.txt ``` 4. Install dependencies in an isolated virtual environment during a separate deployment step. 5. Use only a trusted package index and explicitly control index configuration in automated deployments. 6. Generate and review a software bill of materials, and scan pinned dependencies for known vulnerabilities. 7. Update the installation commands in `README.md` and `SKILL.md` so they use the same pinned and hash-verified dependency set. 8. Run browser automation under a dedicated, least-privileged operating-system account and a dedicated browser profile containing no unrelated sessions. ]]>
