News · DiggingBeagle record

GitHub agentic code repair passed its tests, then a reviewer questioned the archive scope

A Copilot-authored gh-aw repair blocked filenames interpreted as zip options, but a post-merge reviewer flagged a root-directory entry that might include unselected files. The second finding requires verification, not an assumed data leak.

Published
Nov 16, 2026

The report

A security fix can close the exact exploit a test reproduced and still leave the resulting artifact less constrained than intended. In GitHub Agentic Workflows PR #78015, an automated repair addressed staged filenames beginning with a dash, which zip could interpret as command options rather than ordinary filenames. The patch rejected those inputs, prefixed conventional file entries, added cleanup and passed 78 reported checks before human merge.

The second review asked what actually entered the archive

After the merge, Copilot's reviewer raised a distinct concern: if the archive list accepts a root-directory entry, a syntactically safe ./ argument passed to recursive zip may include all files in the chosen directory rather than only the selected artifacts. The review opened a high-severity follow-up and a separate test-order concern. This is a reported possible scope expansion, not proof that customer secrets were archived, published or exfiltrated. The original leading-dash option injection and the root-directory expansion are separate effects within the same repair history.

A green test count proves that particular assertions passed. It does not prove the generated archive contains only authorized members. The direct check is to create harmless canary files outside the allowed list, build the artifact, inspect the resulting member names and verify none of those canaries appears. The actual deployed gh-aw version and follow-up fix state require confirmation before declaring full remediation.

Keep the tool result separate from the trusted verdict

This gh-aw case concerns an agent-authored software change followed by a human-approved merge and further review. It is neither evidence that GitHub Actions was universally compromised nor proof of an external attacker using the reported issue. The project record maintains its earlier MCP, credential-sidecar and workflow compilation boundaries independently.

Research behind this