T08 · Insecure Dependencies
- Location
reference/installation.md:13- Finding
Unpinned Dependencies and Unverified Remote Installer Execution
- Content
View full analysis
- Remediation
View remediation
miniconda.sh" | sha256sum --check - ``` 3. Prefer official publisher distribution locations unless the mirror is an explicitly trusted organizational requirement. 4. Pin exact, reviewed versions of `qspoc`, `synbo`, and their transitive dependencies. 5. Use a lockfile or requirements file containing cryptographic hashes, and install with hash enforcement: ```bash python -m pip install --require-hashes -r requirements.lock ``` 6. Build and test dependencies in an isolated environment before use. Consider maintaining an internally reviewed package mirror. 7. Separate downloading from execution and require explicit user confirmation after displaying the source, version, and successful integrity check. 8. Avoid automatically running `conda init`. Document its shell-configuration effects and obtain explicit consent before modifying startup files. 9. Run installation and scientific workloads as a non-privileged user, and do not use `sudo` or an administrator shell. 10. Periodically review pinned versions for security updates and update the lockfile through a controlled dependency-review process. ]]>
