T08 · Insecure Dependencies
- Location
SKILL.md:65- Finding
Unpinned Third-Party Dependency Installation
- Content
View full analysis
- Remediation
View remediation
``` 2. Place dependencies in a committed requirements or lock file with cryptographic hashes: ```text python-dotenv== \ --hash=sha256: ``` 3. Require hash verification during installation: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 4. Generate and review the lock file in a controlled environment. Include all transitive dependencies and their hashes if additional dependencies are introduced. 5. Prefer an isolated virtual environment rather than modifying the Agent's global Python installation: ```bash python3 -m venv .venv . .venv/bin/activate python3 -m pip install --require-hashes -r requirements.txt ``` 6. Configure a trusted package index explicitly where appropriate, and avoid untrusted mirrors or permissive extra-index configurations. 7. Update every installation example in `SKILL.md` and `README.md` so users and Agents are not directed to bypass the pinned, hash-verified installation process. ]]>
