Fork-Triggerable AI Coding Agents in CI: A Wide-Net Survey

AI coding agents are increasingly wired directly into continuous integrationpipelines to triage issues, review pull requests, and land fixes. This paperidentifies a composition of three properties that turns such an integration into a repository-takeover primitive: the job runs on an event an outside contributor can trigger, it can write to the repository or holds a token that can, and nothing checks who triggered it. When these coincide, untrusted pull-request or comment text reaches an agent holding a write-scoped token, and prompt injection becomes code execution and repository mutation under continuous-integration credentials, with no maintainer action required. We built a static scanner for this exact primitive and ran it against an opportunistically collected corpus of 73,937 real-world workflow files from 16,864 projects on GitHub Actions and GitLab CI. The scanner reasons per job about fork reachability, the presence of a genuine author gate, and write capability, rather than pattern-matching on tool names. It found 589 fork-triggerable agent vulnerabilities in 534 of the scanned projects, spanning 28 agent families across both platforms. On a blind subset of 3,391 previously unseen files, precision was approximately 98 percent, rising to near 100 percent after several false-positive classes were closed, with no hangs or timeouts across the corpus. Exposure is not concentrated in brand-name assistants but in a widely used pull-request-review action and an open-source coding agent, with the rest spread across smaller integrations that reproduced the same insecure pattern. The enabling configuration is widespread, and it is detectable and fixable statically in the workflow definition before any agent runs. Only anonymized aggregate statistics are reported, in keeping with coordinated disclosure; no affected project is named.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-07-23
DOI
https://doi.org/10.5281/zenodo.21511372
Primary Topic
Software Engineering Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Fork-Triggerable AI Coding Agents in CI: A Wide-Net Survey

Christopher Peoples
Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
preprint

Fork-Triggerable AI Coding Agents in CI: A Wide-Net Survey

Christopher Peoples
preprint en

Abstract

AI coding agents are increasingly wired directly into continuous integrationpipelines to triage issues, review pull requests, and land fixes. This paperidentifies a composition of three properties that turns such an integration into a repository-takeover primitive: the job runs on an event an outside contributor can trigger, it can write to the repository or holds a token that can, and nothing checks who triggered it. When these coincide, untrusted pull-request or comment text reaches an agent holding a write-scoped token, and prompt injection becomes code execution and repository mutation under continuous-integration credentials, with no maintainer action required. We built a static scanner for this exact primitive and ran it against an opportunistically collected corpus of 73,937 real-world workflow files from 16,864 projects on GitHub Actions and GitLab CI. The scanner reasons per job about fork reachability, the presence of a genuine author gate, and write capability, rather than pattern-matching on tool names. It found 589 fork-triggerable agent vulnerabilities in 534 of the scanned projects, spanning 28 agent families across both platforms. On a blind subset of 3,391 previously unseen files, precision was approximately 98 percent, rising to near 100 percent after several false-positive classes were closed, with no hangs or timeouts across the corpus. Exposure is not concentrated in brand-name assistants but in a widely used pull-request-review action and an open-source coding agent, with the rest spread across smaller integrations that reproduced the same insecure pattern. The enabling configuration is widespread, and it is detectable and fixable statically in the workflow definition before any agent runs. Only anonymized aggregate statistics are reported, in keeping with coordinated disclosure; no affected project is named.

Zenodo (CERN European Organization for Nuclear Research)
Peace, Justice and strong institutions
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.