T08 · Insecure Dependencies
- Location
scripts/requirements.txt:4- Finding
Unnecessary and Unpinned Third-Party Dependencies Expand the Supply-Chain Attack Surface
- Content
View full analysis
=2.0.0 # Semantic Scholar search semanticscholar>=0.8.0 # PubMed search (via BioPython) biopython>=1.81 # HTTP requests requests>=2.31.0 # Optional: For enhanced parsing beautifulsoup4>=4.12.0 lxml>=4.9.0 ``` ### Technical Analysis The installation instructions require OpenClawCLI even though `scripts/research.py` does not import, invoke, or otherwise depend on that program. The documentation also instructs users to install `scholarly` and `pubmed-parser`, neither of which is used by the implementation. The actual PubMed integration imports BioPython's `Bio.Entrez`. The dependencies in `requirements.txt` use open-ended minimum-version constraints. Consequently, a future installation may retrieve package versions that were never reviewed with this skill. No lock file or cryptographic hashes are provided to ensure that users install the same dependency artifacts that were audited. Every package installation can execute package-controlled build or installation behavior. Requiring unused packages therefore increases supply-chain exposure without supporting the declared functionality. The audit found no evidence that the currently named packages are malicious; the risk arises ...[truncated 1354 chars]- Remediation
View remediation
