T08 · Insecure Dependencies
- Location
package.json:16- Finding
Unpinned Python Dependencies Permit Mutable Supply-Chain Artifacts
- Content
View full analysis
- Remediation
View remediation
requests== ``` 2. Generate a lockfile that includes all transitive dependencies. 3. Require cryptographic hashes during installation, such as a hash-locked requirements file used with: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 4. Configure installation to use an explicitly trusted package index and disable unintended fallback indexes. 5. Run dependency vulnerability and provenance checks in CI before publishing updates. 6. Review dependency changes explicitly rather than accepting automatic floating-version upgrades. 7. Where Ollama supports immutable model digests or artifact verification, pin and verify the required model instead of relying only on the mutable `qwen2.5:7b` tag. 8. Install and run the Skill as an unprivileged user with access restricted to the intended PDF-processing directories. ]]>
