T08 · Insecure Dependencies
- Location
SKILL.md:44- Finding
Unpinned Third-Party Python Dependencies
- Content
View full analysis
- Remediation
View remediation
huaweicloudsdk-core== ``` 2. Generate and publish a lock or requirements file containing cryptographic hashes for all direct and transitive dependencies. 3. Install dependencies with hash verification enabled: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 4. Configure an explicit trusted package index and prevent unintended fallback to untrusted or internal indexes that could enable dependency confusion. 5. Review dependency updates before changing pinned versions, including release provenance, package contents, vulnerability advisories, and transitive dependency changes. 6. Run installation and execution under a dedicated least-privileged account or isolated virtual environment, and avoid exposing cloud credentials during package installation. ]]>
