T08 · Insecure Dependencies
- Location
SKILL.md:7- Finding
Unpinned Third-Party Python Dependencies
- Content
View full analysis
- Remediation
View remediation
CairoSVG== ``` 2. Generate a lock file that also fixes all transitive dependency versions. 3. Require cryptographic hashes during installation, such as through a hash-locked requirements file and `pip install --require-hashes`. 4. Install packages only from an explicitly trusted package index and avoid unreviewed extra indexes. 5. Review dependency releases and run vulnerability scanning before updating the lock file. 6. Remove CairoSVG unless SVG conversion is properly implemented and required, thereby reducing the dependency attack surface. 7. Perform installation and image conversion in a least-privileged virtual environment or isolated container. ]]>
