T08 · Insecure Dependencies
- Location
SKILL.md:186- Finding
Unpinned Runtime Installation of Third-Party Python Packages
- Content
View full analysis
- Remediation
View remediation
--hash=sha256: python-pptx== --hash=sha256: ``` 2. Install dependencies with hash verification: ```bash python -m pip install --require-hashes -r requirements.txt ``` 3. Pin and review all transitive dependencies rather than only the two direct packages. 4. Perform installations inside a dedicated virtual environment or disposable sandbox with minimal filesystem and network permissions. 5. Require explicit user approval before installing missing software at runtime. 6. Configure `pip` to use a trusted, controlled index and disable unexpected extra indexes where practical. 7. Regularly update pinned versions through a controlled dependency-review process that includes vulnerability and provenance checks. ]]>
