T08 · Insecure Dependencies
- Location
scripts/ovh-cli.py:8- Finding
Unpinned OVH SDK Installation Guidance Creates Supply-Chain Risk
- Content
View full analysis
- Remediation
View remediation
--hash=sha256: ``` 4. Install through a hash-locked file: ```bash python -m pip install --require-hashes -r requirements.txt ``` 5. Generate and review a complete transitive lockfile with tooling such as `pip-tools`, and commit it to the project. 6. Replace the displayed command with guidance that references the controlled manifest rather than `pip install ovh`. 7. Prefer a trusted internal package mirror or explicitly configured package index in sensitive environments. 8. Run the CLI and dependency installation under a dedicated, least-privileged account. 9. Grant the OVH consumer key only the API permissions required for the intended operation, and use separate credentials for read-only and destructive workflows where practical. 10. Rotate OVH credentials if an untrusted package version has previously been installed or imported. ]]>
