T08 · Insecure Dependencies
- Location
SKILL.md:15- Finding
Unpinned Third-Party CLI Installation Enables Supply-Chain Code Execution
- Content
View full analysis
- Remediation
View remediation
" bins: [yutu] ``` 2. Replace `go install github.com/eat-pray-ai/yutu@latest` with an explicit immutable release tag or, preferably, a verified commit-based version. 3. Replace mutable `releases/latest` instructions with a link to a specific release. Publish and require verification of SHA-256 checksums or cryptographic signatures before execution. 4. Document the expected publisher, repository, package scope, and approved package-manager sources so users can identify substituted packages or unofficial taps. 5. Use automated dependency monitoring while requiring security review before changing the pinned version. 6. Avoid privileged or administrator installation where possible. Run the CLI using a dedicated, least-privileged account or isolated environment. 7. Request only the minimum Google OAuth scopes required to list channel members. 8. Store `client_secret.json` and `youtube.token.json` with restrictive filesystem permissions, keep them outside shared directories, and ensure they are excluded from source control. 9. Provide token revocation and rotation instructions for suspected dependency compromise. ]]>
