T08 · Insecure Dependencies
- Location
SETUP.md:3- Finding
Unpinned Third-Party Dependency with Access to Cloud Credentials
- Content
View full analysis
- Remediation
View remediation
``` 2. Generate and enforce cryptographic hashes: ```bash python3 -m pip install --require-hashes -r requirements.txt ``` 3. Use a lockfile that captures transitive dependencies so indirect package changes are also controlled. 4. Install only from the official Python Package Index or a controlled internal package mirror. 5. Review dependency release notes and security advisories before updating the pinned version. 6. Run the controller in an isolated virtual environment under a dedicated, unprivileged account. 7. Scope the Tuya cloud project to only the APIs and devices required by this Skill. ]]>
