T08 · Insecure Dependencies
- Location
references/install.md:13- Finding
Unverified Binary Download and Privileged System-Wide Installation
- Content
View full analysis
- Remediation
View remediation
' 'ossutil.zip' | sha256sum --check - ``` 3. Prefer a vendor-signed package and verify its digital signature using a pinned, authenticated vendor public key. 4. Abort installation immediately if checksum or signature verification fails. 5. Extract the archive into a newly created temporary directory and validate its expected file names and structure before installation. 6. Perform all download and verification steps without elevated privileges. Use `sudo` only for the final installation of an already verified executable. 7. Consider installing into a user-scoped directory when system-wide installation is unnecessary. 8. Document how users can obtain checksums or signing keys through a channel independent of the binary download endpoint. 9. Keep the version pinned and review integrity metadata before updating the referenced release. ]]>
