Problem
gh-aw v0.87.9 defaults to the external threat detector. The detector version is pinned, but install_threat_detect_binary.sh derives both the executable URL and checksums.txt URL from the same GitHub release. This detects corruption but does not provide an independent trust root or support organizations that require third-party artifacts to come through an approved artifact proxy.
Current source:
Requested support
Please consider supporting one or more of:
- A compiler-embedded SHA-256 digest for each supported binary.
- Configurable artifact and checksum URLs.
- A supported hook allowing consumers to install and verify
threat-detect before execution.
- A way to disable installation while retaining external detection with a preinstalled binary.
The mechanism should fail closed, preserve architecture selection, and avoid trusting a checksum fetched from the same mutable source as the binary.
For now, affected consumers can select the legacy inline path with:
features:
gh-aw-detection: false
References
Problem
gh-aw v0.87.9 defaults to the external threat detector. The detector version is pinned, but
install_threat_detect_binary.shderives both the executable URL andchecksums.txtURL from the same GitHub release. This detects corruption but does not provide an independent trust root or support organizations that require third-party artifacts to come through an approved artifact proxy.Current source:
gh-aw-detection: falseselecting the legacy inline path:pkg/constants/feature_constants.goDefaultThreatDetectVersion:pkg/constants/version_constants.gochecksums.txtand the architecture-specific binary from the same release base URL, then verifies the binary against that downloaded checksum file:actions/setup/sh/install_threat_detect_binary.shpkg/workflow/threat_detection_steps.goRequested support
Please consider supporting one or more of:
threat-detectbefore execution.The mechanism should fail closed, preserve architecture selection, and avoid trusting a checksum fetched from the same mutable source as the binary.
For now, affected consumers can select the legacy inline path with:
References