T08 · Insecure Dependencies
- Location
package.json:32- Finding
Unpinned and Inconsistently Declared Third-Party Dependency
- Content
View full analysis
- Remediation
View remediation
``` 3. Generate and retain hashes for reproducible installation where practical: ```text requests== \ --hash=sha256: ``` Install with hash enforcement: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 4. Use a dependency lock workflow such as `pip-tools`, Poetry, or uv so direct and transitive dependencies are fixed and reviewable. 5. Update `SKILL.md` to instruct users to install from the reviewed dependency file: ```bash python3 -m pip install -r requirements.txt ``` 6. Configure installation to use the official or an organization-approved Python package index over HTTPS. Review dependency provenance and run automated vulnerability scanning before updating locked versions. ]]>
