T08 · Insecure Dependencies
- Location
SKILL.md:29- Finding
Unpinned Third-Party Package Installation and Execution
- Content
View full analysis
- Remediation
View remediation
" ``` 2. Distribute a locked requirements file containing cryptographic hashes and install it with hash enforcement: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 3. Install the package in a dedicated virtual environment or another appropriately isolated runtime instead of the system Python environment. 4. Verify release provenance through trusted package metadata, signed releases, or a controlled internal package mirror. 5. Review the installed package and its transitive dependencies before updating the pinned version. 6. Run `herd` and `herd-node` as a dedicated, non-administrative account with only the filesystem and network permissions required for fleet routing. 7. Document the expected network bindings and recommend restricting the service to loopback or trusted interfaces unless remote fleet access is explicitly required. ]]>
