T08 · Insecure Dependencies
- Location
SKILL.md:243- Finding
Unpinned Third-Party Package Installation Creates Supply-Chain Risk
- Content
View full analysis
- Remediation
View remediation
" ``` 2. Distribute verified hashes through a requirements file and require hash validation: ```text langchain-scavio== \ --hash=sha256: ``` ```bash python -m pip install --require-hashes -r requirements.txt ``` 3. Pin and audit all transitive dependencies through a lockfile generated from trusted package sources. 4. Verify publisher identity, release provenance, signatures or attestations, and the package's source repository before recommending it. 5. Clearly label the LangChain package as optional and retain the direct API example as the dependency-minimal default. 6. Recommend installation inside a dedicated virtual environment or disposable container under a non-privileged account. 7. Add automated dependency scanning and periodically review pinned releases before updating the documented version. ]]>
