T08 · Insecure Dependencies
- Location
SKILL.md:17- Finding
Unpinned Third-Party Dependencies Installed from an Unrestricted Package Index
- Content
View full analysis
- Remediation
View remediation
pandas== numpy== matplotlib== ``` 2. Generate and verify cryptographic hashes for all direct and transitive dependencies. Install them with: ```bash python -m pip install --require-hashes -r requirements.txt ``` 3. Use a lockfile generated from a controlled environment so transitive dependencies are reproducible. 4. Explicitly use the intended trusted package index and disable unexpected supplementary indexes where appropriate: ```bash python -m pip install \ --index-url https://pypi.org/simple \ --no-extra-index-url \ --require-hashes \ -r requirements.txt ``` 5. Regularly scan the locked dependency set for known vulnerabilities and review dependency updates before changing pinned versions. 6. Recommend installation in an isolated virtual environment or container under a non-privileged account. 7. Update both `SKILL.md` and `references/api-reference.md` so users are not instructed to bypass the reproducible dependency specification. ]]>
