Skip to content

Support independently pinned threat-detect artifacts #57792

Description

@loganrosen

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions