T08 · Insecure Dependencies
Warning
- Location
SKILL.md:32- Finding
Unverified Third-Party Package Installation from a Mutable Git Tag
- Content
View full analysis
- Remediation
View remediation
" ``` 2. Prefer a signed release artifact from a trusted package repository. Publish and document the expected SHA-256 hash, then require hash verification during installation. 3. Pin all transitive dependencies in a reviewed lockfile. Where supported, install with: ```bash pip install --require-hashes -r requirements.txt ``` 4. Verify release signatures or attestations and document how users can validate the artifact before execution. 5. Remove the unconditional `pip install --upgrade pip` instruction unless a specific minimum version is required. If required, pin and verify the installer version. 6. Continue using a dedicated virtual environment and recommend execution under a non-privileged account without unnecessary credentials in its environment. 7. Review the referenced commit and its dependency graph before updating the pinned version. Automated dependency and provenance checks should be incorporated into the release process. ]]>
