An agent can fix the precise input that triggered an issue and still leave the broader operation underconstrained. In GitHub Agentic Workflows, staged file names were passed to a zip subprocess in a way that let a leading dash be interpreted as an option. A VulnHunter issue prompted a Copilot-authored repair on November 15: reject leading-dash names, prefix…
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:
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.
Evidence basis: CLM-DB255-GHAW-ZIP-FIX · CLM-DB255-GHAW-ROOT-RISK · CLM-ENRICH256-GHAW-TWO-REVIEW-STAGES · GitHub Agentic Workflows PR 78015: zip option injection repair and review
At a glance
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…
Read the implicationsThe 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.
Limits and uncertaintyFull account
An agent can fix the precise input that triggered an issue and still leave the broader operation underconstrained. In GitHub Agentic Workflows, staged file names were passed to a zip subprocess in a way that let a leading dash be interpreted as an option. A VulnHunter issue prompted a Copilot-authored repair on November 15: reject leading-dash names, prefix ordinary members with ./, add regression tests and merge the change after review.
A green patch did not end review
A later Copilot review of the same pull request flagged an additional risk: a member representing the root directory could become ./, causing recursive archiving of more than the selected artifacts. The reviewer opened a follow-up, but the public discussion is a warning about a potential behavior, not a confirmed extraction of production secrets. It should not be counted as a second successful exfiltration or as proof the fix was useless.
The two problems share one important boundary. An agent-generated allowlist of file names is not sufficient when a native archiver has independent option and recursion semantics. Testing only the -T filename verifies one class of command-line injection; testing literal . and ./, absolute/relative paths and symlink traversal asks whether the resulting archive contains only the explicitly authorized files. The repository's project identity is already recorded in Digging Beagle; this Case is limited to the newly documented archive repair/review sequence.
Two different proof obligations for one archive
The merged repair PR is evidence that a hostile staged file named like a zip option could be rejected before entering the command-line argument list. The after-merge reviewer's concern is different: if a root entry is normalized to ./ and passed to recursive archiving, a syntactically safe argument may still select more filesystem content than the intended staged files. The public review describes a potential overbroad archive and follow-up work; it does not show that a deployed run actually transferred those additional files. The appropriate regression witness is the member list of the generated archive, checked against an explicit allowed file manifest, with both option-like names and root-directory entries tested.
Mechanism and trust boundary
- 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
- 02
Repair
The merged PR rejects leading-dash names and prefixes normal members with ./
Boundary: input validation to subprocess invocation
- 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
- supportsGitHub Agentic Workflows PR 78015: zip option injection repair and reviewpatch commit artifact
PR 78015 description; merge conversation
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
- supportsGitHub Agentic Workflows PR 78015: zip option injection repair and reviewpatch commit artifact
PR 78015 security review: Reject a root-directory entry
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
- supportsGitHub Agentic Workflows PR 78015: zip option injection repair and reviewpatch commit artifact
Pull request 78015, merged commit and subsequent review thread on root archive entry
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
- Nov 16, 2026 · Published version · first publication · revision 257