mlsanityData to 14 Oct 2026

GitInject: Real-World Prompt Injection Attacks in AI-Powered CI/CD Pipelines

arXiv 2606.09935 ↗First posted 7 Jun 2026cs.CR cs.AIcited by 0

On the map: LLM safety and security → Prompt injection and agent security

Abstract (arXiv)

AI-powered agents are increasingly embedded in continuous integration and continuous delivery/deployment (CI/CD) pipelines to autonomously review pull requests (PRs), triage issues, and maintain codebases. These agents ingest untrusted content while operating with elevated repository permissions, making them a natural target for prompt injection attacks with supply chain consequences. We present GitInject, an open-source framework for evaluating prompt injection vulnerabilities in real, live GitHub workflows, a widely deployed instance of CI/CD pipelines. Unlike prior agent security benchmarks that simulate tool calls, GitInject provisions ephemeral repositories and triggers actual workflow runs, so that sandbox constraints, credential handling, and permission boundaries behave exactly as in production. Using GitInject, we study workflow configurations across four AI providers and document eleven named attacks spanning config-file injection, credential exfiltration, judgment manipulation, and availability. We find that all tested providers are susceptible to at least one attack class in their default configuration, and that the most critical vulnerabilities are structural: they arise from how CI/CD infrastructure handles credentials and configuration files, not from any specific model's behavior. For each confirmed attack class, we identify the minimum-cost workflow-level countermeasure and analyze its coverage and limitations. GitInject is released publicly to facilitate further research in this direction.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 12 of its 24 references that are in the map. First posted on arXiv 7 Jun 2026.

Builds on

12 of 24 references.

Closest ancestors · 9

Same direction, newest first

  1. 2026How Vulnerable Are AI Agents to Indirect Prompt Injections? Insights from a Large-Scale Public Competition16 Mar
  2. 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents11 Oct
  3. 2024Defending Against Indirect Prompt Injection Attacks With Spotlighting20 Mar
  4. 2024Automatic and Universal Prompt Injection Attacks against Large Language Models7 Mar
  5. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
  6. 2024StruQ: Defending Against Prompt Injection with Structured Queries9 Feb
  7. 2023Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Models21 Dec
  8. 2023Prompt Injection attack against LLM-integrated Applications8 Jun
  9. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection23 Feb

Other references · 3

  1. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
  2. 2023Identifying the Risks of LM Agents with an LM-Emulated Sandboxcited by 548
  3. 2022Taxonomy of Attacks on Open-Source Software Supply Chainscited by 58

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Demystifying and Detecting Agentic Workflow Injection Vulnerabilities in GitHub Actions
  2. 2026Hardware Keystores for AI Agent Signing Workflows: A Zero-Trust MCP Enforcement Architecture
  3. 2026Reliability of AI Bots Footprints in GitHub Actions CI/CD Workflows
  4. 2026Evaluating Whether GPT-6 Astra Performs Unsanctioned Supply-Chain Attacks
  5. 2026Comment and Control: Hijacking Agentic Workflows via Context-Grounded Evolution
  6. 2026Setup Complete, Now You Are Compromised: Weaponizing Setup Instructions Against AI Coding Agents
  7. 2026Prompt Injection Attacks on Agentic Coding Assistants: A Systematic Analysis of Vulnerabilities in Skills, Tools, and Protocol Ecosystems
  8. 2026From Assistance to Agency: Rethinking Autonomy and Control in CI/CD Pipelines