Case · DiggingBeagle record

An agent-fixed zip injection received a second security warning after merge

GitHub Agentic Workflows PR 78015 fixed a staged-filename zip argument injection with a Copilot-authored patch, but the subsequent review flagged an archive-root entry that might include unintended files. Neither issue proves a real data leak.

Published by DiggingBeagle:

Scope

github/gh-aw artifact zip creation, PR 78015 merged November 15. Original `-T` option-injection problem established by project report; post-merge directory-root finding was a reviewer concern pending effect validation.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
fixed reported
AI role
WITH AI / AGAINST AI
Basis and provenance

Primary research/advisory evidence supports the enumerated scope and outcomes, but no independent field-wide exploitation or loss denominator exists. Impact band remains unassigned; no publication or exploitation claim is inferred from the research setup. github/gh-aw artifact zip creation, PR 78015 merged November 15. Original `-T` option-injection problem established by project report; post-merge directory-root finding was a reviewer concern pending effect validation.

Assessed Nov 17, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Unsafe staging

    Untrusted staged filename beginning with a dash is passed to the zip command as an argument.

    Boundary: artifact name to native process options

  2. 02

    Repair

    The merged PR rejects leading-dash names and prefixes normal members with ./

    Boundary: input validation to subprocess invocation

  3. 03

    Residual concern

    A later review alleges a root member may still produce recursive archive inclusion beyond the selected files.

    Boundary: archive member scope to file disclosure

Claims & evidence

CLM-DB255-GHAW-ZIP-FIXPR 78015 records a Copilot-authored fix for zip option injection from leading-dash staged filenames and was merged November 15.supported

Basis: reported finding

Link to claim
CLM-DB255-GHAW-ROOT-RISKA later code-review finding warns that a root-directory archive entry may recursively include more files; this remains a reported potential regression, not a documented real theft.supported

Basis: reported finding

Link to claim
CLM-ENRICH256-GHAW-TWO-REVIEW-STAGESGitHub Agentic Workflows PR 78015 merged a leading-dash `zip` filename validation fix, and its later review separately raised a possible recursive root-archive effect requiring follow-up, without demonstrating actual customer data extraction.supported

Basis: reported finding

Link to claim

Implications

Treat the produced archive file list as the authorization evidence, not a passing subprocess exit code or a test suite count. Record both initial issue and after-merge follow-up, verify the actual packaged artifact, and reject root entries even when they are syntactically safe subprocess arguments. This is a controlled project repair, not a documented compromise campaign. Keep the option-injection fix and the root-expansion report as two stages of the same PR, rather than two incidents. Record which follow-up is merged before attributing a corrected behavior to any tagged gh-aw release.

Controls and mitigations

  • Validate archive member names against an explicit allowlist and reject root, parent or absolute directory entries.
  • Inspect the actual archive manifest in tests, including unselected sensitive files used as benign canaries.
  • Keep post-merge security findings open until the follow-up is verified and tagged; do not equate 78 green checks with no residual risk.

Unknowns and contradictions

  • The post-merge directory-root issue has not been independently reproduced here.
  • No actual customer file exfiltration, exploitation or affected release version is established by this PR.

Sources and citation

Material revision history

  1. Nov 16, 2026 · Published version · first publication · revision 257