T08 · Insecure Dependencies
- Location
requirements.txt:1- Finding
Unpinned Third-Party Python Dependencies
- Content
View full analysis
- Remediation
View remediation
beautifulsoup4== selenium== ``` 2. Generate and commit a lock file that includes resolved transitive dependencies. 3. Add cryptographic hashes and install with hash enforcement: ```bash python -m pip install --require-hashes -r requirements.txt ``` 4. Install dependencies from a trusted, explicitly configured package index. 5. Run dependency vulnerability and provenance checks in CI before accepting updates. 6. Update `SKILL.md` so its installation command uses the reviewed requirements or lock file rather than installing unrestricted package versions directly. 7. Perform installation and execution in an isolated virtual environment or container under a non-privileged account. ]]>
