T08 · Insecure Dependencies
- Location
requirements.txt:1- Finding
Unpinned and Unverified Third-Party Dependencies
- Content
View full analysis
- Remediation
View remediation
python-docx== pandas== openpyxl== ``` 2. Generate a lock file that includes resolved transitive dependencies. 3. Record SHA-256 hashes for all approved distributions and install with: ```bash python -m pip install --require-hashes -r requirements.txt ``` 4. Obtain packages only from a trusted, explicitly configured package index or an internally controlled artifact repository. 5. Perform dependency vulnerability and provenance scanning in CI, and review updates before regenerating the lock file. 6. Install and run the skill in a dedicated virtual environment or container with least-privilege filesystem and network access. 7. Prefer prebuilt, verified wheels where practical to reduce execution of arbitrary source-build logic. ]]>
