T08 · Insecure Dependencies
- Location
SKILL.md:32- Finding
Unpinned Third-Party Dependencies Permit Supply-Chain Substitution
- Content
View full analysis
- Remediation
View remediation
requests== DrissionPage== ``` 2. Generate and verify cryptographic hashes, then install with: ```bash python -m pip install --require-hashes -r requirements.txt ``` 3. Maintain a lock file through a dependency-management tool and update it only after reviewing release changes and vulnerability advisories. 4. Specify trusted package-index policy rather than silently accepting arbitrary user-configured indexes. 5. Recommend installation inside a dedicated virtual environment or disposable container under an unprivileged account. 6. Add automated dependency vulnerability and provenance checks to the release process. ]]>
