Skip to content

Self-hosted: AWF install requires Sigstore public-good verification with no checksum-only fallback #76902

Backlog

Description

@priyanka9990

Summary

gh-aw v1.2.2 installs the firewall with install_awf_binary.sh, and that script requires a live Sigstore public-good verification for every firewall release at v0.29.5 or newer. The default pin in v1.2.2 is v0.29.11, so a normal compile always takes this path. There is no frontmatter setting that keeps the checksum check and skips the Sigstore check.

On a network where a corporate proxy blocks the Sigstore hosts, the install fails before the agent starts. gh-aw v1.0.1 installed firewall v0.29.0 with a SHA256 checksum downloaded from GitHub and did not contact Sigstore. That install succeeds on the same machine.

Environment

  • gh-aw v1.2.2, stock compile, no hand-edited lock file
  • Self-hosted Linux runner, not ARC/DinD
  • runner.installation: rootless
  • sandbox.agent left at the compiler default (firewall v0.29.11)
  • Corporate proxy in front of the runner

What the installer does

In actions/setup/sh/install_awf_binary.sh (v1.2.2), attestation is turned on from firewall v0.29.5:

REQUIRE_ATTESTATION=false
if (( version > 0.29.4 )); then
  REQUIRE_ATTESTATION=true
fi

When that flag is set, the script verifies the release with the Sigstore public-good verifier after downloading checksums.txt from GitHub.

Steps to reproduce

  1. Compile a workflow with gh-aw v1.2.2 and do not pin sandbox.agent.version.
  2. Run it on a self-hosted runner whose network returns HTTP 403 for the Sigstore public-good hosts.
  3. Watch the "Install AWF binary" step.

Hosts that returned 403 here, with Server: Zscaler:

  • https://tuf-repo-cdn.sigstore.dev/targets/root.json
  • https://sigstore-tuf-root.storage.googleapis.com/
  • https://rekor.sigstore.dev/api/v1/log
  • https://fulcio.sigstore.dev/api/v1/rootCert

https://github.com/ returns 200 from the same machine, which is why the checksum file itself downloads.

Observed

install_awf_binary.sh v0.29.11 --rootless downloads checksums.txt, then fails:

Installing awf with checksum verification (version: v0.29.11, os: Linux, arch: x86_64)
Downloading checksums from 'https://github.com/github/gh-aw-firewall/releases/download/v0.29.11/checksums.txt'...
Error: failed to choose verifier based on provided bundle issuer: public good verifier is not available (initialization may have failed)

The agent and detection jobs both stop at "Install AWF binary".

Expected

One of:

  • A frontmatter switch for checksum-only verification when Sigstore is not reachable, using the digest already pinned by the compiler.
  • Documentation of the required hosts, plus an error that says the public-good trust root could not be fetched, instead of "verifier is not available".

Workaround we used

Pin the firewall below the attestation cutoff and supply the manifest digest, because v1.2.2 has no built-in pin for that older release:

sandbox:
  agent:
    id: awf
    version: v0.29.4
    checksums-sha256: <sha256 of that release's checksums.txt>

The install then runs install_awf_binary.sh v0.29.4 --checksums-sha256 <digest> --rootless and verifies only the checksum. This skips the firewall fixes after v0.29.4, so it is a downgrade, not a fix.

Without checksums-sha256, v0.29.4 is refused as well:

ERROR: No reviewed SHA256 pin for github/gh-aw-firewall v0.29.4 checksums.txt; refusing to install an unverified release.

Notes

Activity

  1. locked and limited conversation to collaborators on Nov 11, 2026
  2. unlocked this conversation on Nov 11, 2026
  3. lpcox commented on Nov 17, 2026

    @lpcox
    Collaborator

    🔗 AWF tracking issue: github/gh-aw-firewall#11725

    Generated by Firewall Issue Dispatcher · copilot · routed: haiku55 xhigh · ~2 AIC · ⊞ 3K · ◷

  4. added
    backlog:security
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-inspectedawfbacklog:securitycommunity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions