T08 · Insecure Dependencies
- Location
references/setup.md:39- Finding
Unpinned and Unverified Third-Party Executable Installation
- Content
View full analysis
- Remediation
View remediation
``` 3. For Go, replace `@latest` with an exact semantic version or reviewed commit: ```bash go install github.com/eat-pray-ai/yutu@ ``` 4. Publish SHA-256 checksums for prebuilt binaries and require users to verify the downloaded artifact before placing it in `PATH`. 5. Prefer signed releases and document verification using a trusted signing key or provenance mechanism such as Sigstore. 6. Pin or explicitly document reviewed versions for Homebrew and Winget installations where those package managers support version control or manifest verification. 7. Prefer a local or isolated installation over global installation where practical. 8. Document the OAuth scopes requested by the CLI and use only the minimum scopes required to list or insert comment threads. 9. Protect credential and token files with restrictive filesystem permissions and avoid exposing their contents in logs. 10. Establish a dependency-update process that reviews new versions before updating the pinned references and checks the upstream project for unexpected ownership or publishing changes. ]]>
