Skip to content

[Epic] Migrate threat detection into gh-aw and unify detection engine support #79611

Todo
1 of 4 issues completed

Description

@davidslater

Move threat detection and its host-side conclusion into JavaScript shipped with gh-aw’s setup action. The default workflow should run without downloading or pinning a separate threat-detect binary. Preserve v0.5.3 verdict and gating behavior while unifying engine selection and harness setup with gh-aw. The engine opt-in is the intentional behavior change. Legacy inline retirement is a separate decision.

Implementation progress

One implementation issue per PR, in dependency order. Each PR should close its issue and attach the evidence described there. The sub-issue progress indicator tracks completion.

  1. Port host-side threat detection conclusion to JavaScript #79608 — Port host-side conclusion and validate it against the existing producer.
  2. Port the sandboxed threat detector and eligibility checks to JavaScript #79609 — Port sandbox detection, the reporting tool and binding eligibility validation.
  3. Switch compiled detection jobs to bundled JavaScript and remove detector release pins #79610 — Switch the compiler and verify both runner topologies; retire detector downloads and pins.
  4. Threat detection cannot run on an imported engine definition #75276 — Support opted-in imported engines using gh-aw’s install and harness behavior.

Epic acceptance

  • Structural eligibility remains a release criterion: prompt injection requires an untrusted input channel, secret leakage requires an output channel, and malicious patches require a patch/bundle channel. Uninspectable evidence remains eligible under the reference contract. Fixtures prove the advisory tool correction and authoritative detector-side rejection both work, including through the staged sandbox inputs and an imported engine.
  • Real findings, tooling failures, warnings and skipped detection produce the expected host outputs and downstream gating. Standard and ARC DinD runners round-trip the correct verdict. Built-in engine smoke evidence and an opted-in imported harness demonstrate actual detection execution.
  • The default lock ships detector JS with the setup action and contains no external detector binary install or version/checksum pin. Existing inline workflows retain their supported behavior.

Baseline specification

Sub-issues

Sub-issues

1 of 4 Issues completed
Loading 4 sub-issues

Metadata

Metadata

Assignees

Labels

backlog:securitythreat-detection

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions