T08 · Insecure Dependencies
- Location
README.md:22- Finding
Unpinned Third-Party Dependencies in Installation Instructions
- Content
View full analysis
- Remediation
View remediation
" "httpx==" ``` 2. Maintain a lock file or hash-verified requirements file containing all direct and transitive dependencies: ```text mcp[cli]== \ --hash=sha256: httpx== \ --hash=sha256: ``` Install it with: ```bash python -m pip install --require-hashes -r requirements.txt ``` 3. Generate dependency artifacts in a controlled build process and commit the reviewed lock data to the repository. 4. Add automated dependency vulnerability and provenance checks, such as `pip-audit`, release-signature verification where available, and alerts for dependency updates. 5. Review and test dependency upgrades before changing pins. Update the command in both `README.md` and `mcp/fetch_price_mcp.py` so the two installation instructions remain consistent. 6. Advise operators to install the MCP server in an isolated virtual environment under a non-privileged account rather than using system-wide or administrative installation. ]]>
