T08 · Insecure Dependencies
- Location
SKILL.md:142- Finding
Unpinned Third-Party Dependencies Allow Mutable Supply-Chain Code
- Content
View full analysis
- Remediation
View remediation
reportlab== ``` 3. Generate a lock file that also fixes transitive dependency versions. 4. Require package hashes, such as through `pip install --require-hashes -r requirements.txt`. 5. Use an explicitly trusted package index and prevent fallback to untrusted or user-controlled indexes. 6. Install dependencies inside an isolated virtual environment or restricted container rather than the Agent's global Python environment. 7. Run dependency vulnerability and provenance checks before releases and update pins through a controlled review process. 8. Execute PDF processing with least privilege, restricting filesystem and network access to the minimum required for user-approved input and output files. ]]>
