T08 · Insecure Dependencies
- Location
SKILL.md:31- Finding
Unpinned Third-Party Python Dependencies Enable Supply-Chain Compromise
- Content
View full analysis
- Remediation
View remediation
refua-mcp== ``` 2. Generate and maintain a dependency lockfile that includes all transitive dependencies. 3. Require cryptographic hashes during installation, such as with a hash-pinned requirements file and: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 4. Configure an explicit trusted package index or an internally controlled package mirror rather than relying on ambient `pip` configuration. 5. Verify the provenance, signatures, and checksums of downloaded model and molecular assets. 6. Perform installation and execution inside an isolated virtual environment or container under a dedicated, least-privileged account. 7. Prevent the MCP server process from accessing unrelated credentials, sensitive files, and unrestricted network destinations. 8. Establish a controlled dependency-update process that includes source review, vulnerability scanning, integrity verification, and functional testing before changing pinned versions. ]]>
