arXiv:2611.09808cs.SENov 2026

Manuscript Offprint

arXiv:2611.09808

Agents on the Patch Path: Mining AI-Associated Security Remediation in GitHub Security Advisories

Claudio Segal, Paulo Segal, Hudson Silva Borges, Paulo Silveira, Daniel S. Menasché, Eduardo Santana de Almeida, Felipe de Sant'Anna Paixão, Joanna C. S. Santos, Anton Kocheturov, Gaurav Srivastava, Raphael Machado

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Claudio Segal · Paulo Segal · Hudson Silva Borges · Paulo Silveira · Daniel S. Menasché · Eduardo Santana de Almeida · Felipe de Sant'Anna Paixão · Joanna C. S. Santos · Anton Kocheturov · Gaurav Srivastava · Raphael Machado

Received: October 15, 2026

Abstract Context. Autonomous coding agents increasingly create, review, and maintain production software. Their participation is visible in commit identities, attribution trailers, configuration directories, and repository-level instruction files, yet little is known about their involvement in real security remediation.

Objective. We investigate observable evidence of coding-agent participation in commits referenced by reviewed GitHub Security Advisories (GHSAs),

Claudio Segal · Paulo Segal · Raphael Machado Fluminense Federal University (UFF), Niterói, RJ, Brazil. ORCIDs: 0009-0000-4101-4191 (C. Segal), 0009-0000-3265-3047 (P. Segal), 0000-0003-3339-9735 (R. Machado). E-mail: csegal@id.uff.br, psegal@id.uff.br, raphaelmachado@ic.uff.br

Hudson Silva Borges Federal University of Mato Grosso do Sul (UFMS), Campo Grande, MS, Brazil. ORCID: 0000-0002-8325-8773 E-mail: hudson.borges@ufms.br

Paulo Silveira Rural Federal University of Pernambuco (UFRPE), Recife, PE, Brazil. ORCID: 0000-0003-0197-8249 E-mail: pauloadmsn@gmail.com

Daniel S. Menasché Institute of Computing, Federal University of Rio de Janeiro (IC-UFRJ), Rio de Janeiro, RJ, Brazil. ORCID: 0000-0002-8953-4003. E-mail: sadoc@ic.ufrj.br

Eduardo Santana de Almeida · Felipe de Sant'Anna Paixão Institute of Computing, Federal University of Bahia (IC-UFBA), Salvador, BA, Brazil. ORCIDs: 0000-0002-9312-6715 (E. S. de Almeida), 0009-0009-7370-5478 (F. S. Paixão). E-mail: esa@rise.com.br, felipe.paixao@ufba.br

Joanna C. S. Santos University of Notre Dame, Notre Dame, IN, USA. ORCID: 0000-0001-8743-2516. E-mail: joannacss@nd.edu

Anton Kocheturov · Gaurav Srivastava Siemens Corporation, Princeton, NJ, USA. ORCIDs: 0000-0003-2549-9146 (A. Kocheturov), 0009-0005-2755-629X (G. Srivastava). E-mail: anton.kocheturov@siemens.com, srivastava.gaurav@siemens.com characterize the associated vulnerabilities, and connect these observations to the disclosure and review paths studied in prior work.

Method. We built a local-Git mining pipeline with four high-precision rule families: known agent accounts, explicit agent attribution in commit messages, repository instruction files, and agent configuration artifacts. We joined the resulting commit-level findings to commit URLs appearing in GHSA references. We distinguish direct attribution from repository-level adoption evidence, deduplicate at advisory and advisory-commit levels, and analyze tool families, severity, weakness classes, and review latency measured from the source publication. We further introduce an exact route-timing decomposition that separates differences in review latency due to disclosure-path composition from differences within each path.

Results. The automated linkage identified 534 advisory-finding links across 498 advisories and 190 repositories. After excluding 29 advisories affected by human-name collisions, 469 remained across 189 repositories: 448 with direct attribution and 21 supported only by repository instruction or configuration artifacts. Claude was the most frequently observed tool family, followed by Copilot and Cursor; 200 advisories were high severity and 49 critical. Of the 469, 386 (82.3%) were linked to GitHub Repository Advisories (GRAs).

For the 468 advisories following either the GRA-linked or NVD-first route, mean review lag was 21.95 days, compared with 19.45 days for other advisories published in the same months and 35.23 days for advisories published from July 2022 through August 2025. Against the same-month group, route proportions were similar (82.5% versus 80.1% GRA-linked); route composition accounted for +0.03 days of the mean difference, and within-route timing for +2.47 days (an interval including zero). Against the historical group (44.3% GRA-linked), the mean was 13.28 days lower: -7.84 days were associated with route composition and -5.44 days with within-route timing.

Conclusions. Coding-agent involvement is already visible across hundreds of security advisories and repositories, including advisories addressing high-and critical-severity vulnerabilities. By distinguishing direct attribution from repository-level adoption, and route composition from within-route review timing, this study provides a clearer empirical picture of how agent-assisted remediation appears in the GHSA review pipeline.

Keywords AI coding agents · GitHub Security Advisories · Vulnerability remediation · Mining Software Repositories · Empirical Software Engineering

1 Introduction

AI coding agents are moving from code completion toward repository-level work: they implement features, repair defects, generate tests, respond to review comments, and create pull requests. Large-scale datasets such as AIDev (Li et al. 2025) show that these agents already operate across tens of thousands of public repositories and leave persistent traces in software-development artifacts. Security remediation is a particularly consequential setting for such participation. A successful patch must not merely compile; it must remove the vulnerability without introducing regressions, accurately describe the affected versions, and move through disclosure channels quickly enough to support downstream users (Siddiq et al. 2026).

GitHub Security Advisories (GHSAs) (GitHub 2025) provide an unusually useful observation point. A reviewed advisory includes structured severity and weakness metadata, affected-version information, timestamps, and references that often identify remediation commits. A recent prior work (Segal et al. 2026) characterized the GHSA review pipeline and found two dominant routes: a fast path associated with GitHub Repository Advisories (GRAs) and a slower path in which information first appears in the National Vulnerability Database (NVD). That work treated patches and advisories as human-produced objects. However, the rapid adoption of coding agents creates a new question: are AI agents visible on the path from a security fix to a reviewed advisory?

Answering this question is harder than searching for tool names. A commit message may explicitly credit Claude, Copilot, Cursor, Codex, or another agent; an exact bot identity may be present in the author or committer field; or a repository may add an AGENTS.md, CLAUDE.md, or tool-specific configuration directory. However, these evidence signals do not have identical semantics. Explicit commit attribution is evidence that an agent participated in producing that commit. An instruction file is evidence of repository-level readiness or adoption, but does not prove that an agent authored the security-relevant lines. Moreover, Git metadata is self-declared and names can collide with human identities.

Therefore, we study candidate AI-associated remediation rather than claiming verified machine authorship. Our study first mines public repositories associated with reviewed advisories, using a hardened local-Git adapter and a narrow set of rules to detect coding agents. It then links findings to commit URLs in advisory references. The resulting dataset enables three complementary analyses. First, we quantify direct attribution and weaker evidence of adoption of coding agents (RQ1). Next, we characterize the security issues connected to the candidate commits (RQ2). Finally, we relate the candidates to advisory-source and review-time behavior (RQ3). These analyses correspond to the following research questions.

RQ1. To what extent do commits referenced by reviewed GHSAs carry observable evidence of AI coding agents, which evidence classes and tool families account for it, and how has it grown over time?

RQ2. What is the severity, exploitability, and weakness profile of the advisories linked to candidate AI-associated remediations, and does it concentrate on particular vulnerability classes?

RQ3. Through which disclosure routes do candidate AI-associated remediations enter the GHSA review pipeline, and does their review latency differ from that of other advisories, published in the same months or in an earlier period, once route composition is separated from within-route timing?

Our main contributions are:

  • a reproducible, local-Git method for detecting four classes of agent evidence in repositories associated with security advisories;

  • a linked dataset of 469 valid candidate advisories after removal of 29 advisories affected by human-name collisions, including a strict separation between 448 direct-attribution candidates and 21 artifact-only candidates;

  • an empirical characterization of tools, severity, CWE categories, GRA usage, and review latency in this emerging population; and

  • an exact analytical decomposition, instantiated with 12,951 same-month and 10,403 historical advisories, showing that the candidates' review lag does not differ clearly from that of same-month advisories, and that the lower mean relative to the historical cohort is mostly route composition and calendar change, not faster review within a route.

The remainder of this paper is organized as follows. Section 2 reviews the GHSA review pipeline, prior work on coding agents in real repositories, and research on security patches and disclosure latency. Section 3 describes the study population, the local-Git mining procedure, the detection rules, the linkage of findings to advisories, and the validation steps. Section 4 answers the three research questions. Section 5 develops the route-timing decomposition that separates route composition from within-route timing. Section 6 interprets the evidence and its implications for maintainers and platforms, Section 7 discusses threats to validity, Section 9 describes the replication package, and Section 8 concludes the work.

References (24)