T08 · Insecure Dependencies
- Location
SKILL.md:146- Finding
Unpinned Third-Party Package Is Installed and Immediately Executed
- Content
View full analysis
- Remediation
View remediation
" ``` 2. Publish and verify cryptographic hashes through a locked requirements file: ```bash python -m pip install --require-hashes -r requirements.lock ``` 3. Document the authoritative package repository and publisher so users can verify that the package name is legitimate. 4. Review each dependency update before changing the pinned version. 5. Recommend installation in a dedicated virtual environment or isolated container rather than the user's global Python environment. 6. Run the service as a non-privileged account and avoid exposing unnecessary credentials or sensitive files to its process. 7. Where feasible, provide reproducible builds, signed release artifacts, provenance attestations, and a software bill of materials. ]]>
