T08 · Insecure Dependencies
- Location
SKILL.md:40- Finding
Unpinned Third-Party Dependencies Create Supply-Chain Risk
- Content
View full analysis
- Remediation
View remediation
cos-python-sdk-v5== ``` 2. Generate and enforce cryptographic hashes for every package and transitive dependency: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 3. Commit the locked dependency file to the project and update `README.md` and `SKILL.md` to use it instead of direct unpinned installation commands. 4. Install dependencies in a dedicated virtual environment with only the permissions required by this Skill. 5. Review package provenance and release integrity before updating pinned versions. 6. Consider separating text-only messaging from file-upload support so that the COS SDK is installed only when file-upload functionality is required. ]]>
