Demystifying and Detecting Agentic Workflow Injection Vulnerabilities in GitHub Actions

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Shenao, Hou, Xinyi, Liu, Zhao, Zhao, Yanjie, Cheng, Xiao, Zou, Quanchen, Zhang, Xiangzheng, Wang, Haoyu
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914542943993856
author Wang, Shenao
Hou, Xinyi
Liu, Zhao
Zhao, Yanjie
Cheng, Xiao
Zou, Quanchen
Zhang, Xiangzheng
Wang, Haoyu
author_facet Wang, Shenao
Hou, Xinyi
Liu, Zhao
Zhao, Yanjie
Cheng, Xiao
Zou, Quanchen
Zhang, Xiangzheng
Wang, Haoyu
contents GitHub Actions is increasingly used to deploy LLM-based agents for repository-centric tasks such as issue triage, pull-request review, code modification, and release assistance. These agentic workflows extend traditional CI/CD automation with agentic capabilities but also create a new injection surface. In this paper, we introduce Agentic Workflow Injection (AWI), a workflow-level injection flaw where untrusted GitHub event context, such as issue bodies, pull-request descriptions, or comments, is incorporated into agent prompts or agent-consumed inputs and converted into attacker-influenced behavior through agent tools or downstream workflow logic. We identify two core AWI patterns: Prompt-to-Agent (P2A), where untrusted content reaches an agent prompt boundary, and Prompt-to-Script (P2S), where attacker influence propagates through model- or agent-derived outputs into later scripts. We present the first systematic study of AWI in GitHub Actions. We characterize 1,033 real-world AI-assisted actions and extract AWI-specific taint specifications, including prompt boundaries, derived outputs, agentic capabilities, and access-control interfaces. Based on these specifications, we design TaintAWI, a taint-analysis tool that tracks flows from untrusted event context to agent prompt inputs and security-sensitive workflow sinks. Applying TaintAWI to 13,392 real-world agentic workflows from 10,792 repositories, we report 519 potential AWI vulnerabilities, of which 496 are confirmed exploitable under our threat model, yielding a precision of 95.6%. Among them, 343 are previously unknown zero-day vulnerabilities. We prioritized disclosure for 187 zero-day cases, received 26 maintainer responses, and 24 cases have been accepted or fixed at the time of writing.
format Preprint
id arxiv_https___arxiv_org_abs_2605_07135
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Demystifying and Detecting Agentic Workflow Injection Vulnerabilities in GitHub Actions
Wang, Shenao
Hou, Xinyi
Liu, Zhao
Zhao, Yanjie
Cheng, Xiao
Zou, Quanchen
Zhang, Xiangzheng
Wang, Haoyu
Cryptography and Security
GitHub Actions is increasingly used to deploy LLM-based agents for repository-centric tasks such as issue triage, pull-request review, code modification, and release assistance. These agentic workflows extend traditional CI/CD automation with agentic capabilities but also create a new injection surface. In this paper, we introduce Agentic Workflow Injection (AWI), a workflow-level injection flaw where untrusted GitHub event context, such as issue bodies, pull-request descriptions, or comments, is incorporated into agent prompts or agent-consumed inputs and converted into attacker-influenced behavior through agent tools or downstream workflow logic. We identify two core AWI patterns: Prompt-to-Agent (P2A), where untrusted content reaches an agent prompt boundary, and Prompt-to-Script (P2S), where attacker influence propagates through model- or agent-derived outputs into later scripts. We present the first systematic study of AWI in GitHub Actions. We characterize 1,033 real-world AI-assisted actions and extract AWI-specific taint specifications, including prompt boundaries, derived outputs, agentic capabilities, and access-control interfaces. Based on these specifications, we design TaintAWI, a taint-analysis tool that tracks flows from untrusted event context to agent prompt inputs and security-sensitive workflow sinks. Applying TaintAWI to 13,392 real-world agentic workflows from 10,792 repositories, we report 519 potential AWI vulnerabilities, of which 496 are confirmed exploitable under our threat model, yielding a precision of 95.6%. Among them, 343 are previously unknown zero-day vulnerabilities. We prioritized disclosure for 187 zero-day cases, received 26 maintainer responses, and 24 cases have been accepted or fixed at the time of writing.
title Demystifying and Detecting Agentic Workflow Injection Vulnerabilities in GitHub Actions
topic Cryptography and Security
url https://arxiv.org/abs/2605.07135