T08 · Insecure Dependencies
- Location
README.md:42- Finding
Unpinned Third-Party Dependency Installation
- Content
View full analysis
- Remediation
View remediation
``` Install it with: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 3. Obtain the hash from a trusted source after independently reviewing the exact wheel or source distribution used by supported platforms. 4. Install dependencies inside an isolated virtual environment rather than a shared or system Python environment: ```bash python3 -m venv .venv . .venv/bin/activate python3 -m pip install --require-hashes -r requirements.txt ``` 5. Avoid running package installation with administrative privileges. 6. Document the expected package index and consider an organization-controlled, verified dependency mirror. 7. Review new package versions before updating the pin and regenerate hashes only after validating the new artifacts. 8. Update all affected documentation locations so users are not presented with an unsafe alternative command. ]]>
