T08 · Insecure Dependencies
- Location
SKILL.md:39- Finding
Unpinned Third-Party Package Is Installed and Immediately Executed
- Content
View full analysis
- Remediation
View remediation
" ``` 2. Verify package artifacts with cryptographic hashes through a locked requirements file: ```text tidepool== --hash=sha256: ``` Install it with: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 3. Document the canonical package registry, verified publisher identity, source repository, and release-signing process. 4. Separate installation and execution rather than chaining them with `&&`. This allows the package version, origin, files, and signatures to be inspected before running the CLI. 5. Use an isolated virtual environment or disposable container with only the filesystem and credentials required for the task. 6. Review dependency changes before upgrading the pinned version, and use automated dependency and provenance scanning in the release process. 7. Do not expose production secrets or deployment credentials during installation or initial verification. Grant them only when a reviewed operation specifically requires them. ]]>
