Cybersecurity

🔥 AI Turns Against Its Owners: “PromptPwnd” Exploit Hijacks GitHub Actions Across Fortune 500 Giants

December 13, 20253 min read

A new vulnerability is rewriting the storyline for AI-powered development — and not in a cute “look what the chatbot said” way.

This one hits CI/CD pipelines, Fortune 500 companies, and the very tools dev teams rely on to build and secure modern software.

Security researchers at Aikido have uncovered a devastating flaw — dubbed PromptPwnd — that allows attackers to hijack AI agents inside GitHub Actions and GitLab pipelines.

And yes, enterprises using Google Gemini CLI, Claude Code, OpenAI Codex, or GitHub AI Inference are already exposed.

This isn’t theory.
This isn’t academic.
This is real-world compromise of production pipelines — triggered by nothing more than… text.


🎯 How PromptPwnd Actually Works (And Why It’s Terrifying)

We all know “prompt injection” as the trick that makes chatbots do unhinged things.

But inside a CI/CD pipeline?
It becomes a weapon.

Modern enterprises use AI agents to automate routine workflows:

  • Sorting bug reports

  • Labeling pull requests

  • Reviewing commit messages

  • Summarizing discussions

  • Running analysis

To do this, AI gets privileged credentials — access to code, secrets, infrastructure, protected branches, automation keys, and more.

And here’s the kill shot:

Attackers don’t need malware

They don’t need code exploits
They don’t need access to the system

They just need to submit text.

A malicious commit message, a bug report title, a pull request description — all it takes is one prompt.

When the AI reads it?
It misinterprets the text as instructions and executes attacker-controlled actions with its elevated privileges.

The result?

  • Leaked secrets

  • Modified source code

  • Stolen cloud tokens

  • Forced pipeline actions

  • Unauthorized config changes

The attacker never touches the system directly.
The AI does the dirty work for them.

That’s the part that keeps CISOs awake at 3 a.m.


🧪 Real-World Exploit Demonstrated Against Google

Aikido didn’t stop at theory — they tested the vulnerability, and the results were alarming:

By submitting a specially crafted issue title to Google’s Gemini CLI repository, researchers tricked the AI into exfiltrating sensitive API keys using its own admin tools.

Google patched the issue within four days.

If this vulnerability can punch holes in Google’s infrastructure, imagine the impact across less-hardened CI/CD pipelines.


⚠️ The Bigger Issue: AI Has Become a New Attack Surface

AI in development pipelines is still the Wild West.

“Untrusted user input is being shoved directly into AI prompts,” Aikido warns.
“The AI’s output is then executed inside shell commands with repository-level privileges.”

That’s not automation — that’s a loaded weapon with no safety.


🛡️ How Organizations Can Fight Back

Security teams need to adapt — fast.
Here’s where to start:

1️ Lock Down AI Permissions

Don’t give AI blanket authority.
Limit:

  • Write access

  • Approvals

  • Secret access

  • Deployment rights

If the AI doesn’t need it, remove it.

2️ Sanitize All Input

Never feed raw user text directly into an AI prompt.
Validate. Escape. Scrub. Distill.

Treat every piece of text coming from the internet like a biological hazard.

3️ Verify All AI Output

Every line of code, every command, every pipeline action:

AI output = untrusted until a human approves it.

This must become policy.


🛠 Aikido Releases Free Tools

To help the community, Aikido published:

Open-source detection rules
A free scanning tool to identify vulnerable GitHub Actions (.yml) patterns

If you rely on GitHub or GitLab CI/CD, this is not optional — it’s immediate homework.


Elliptic Systems’ Take

The industry is learning the hard way:

AI isn’t just a productivity booster — it’s a security liability when misused.
PromptPwnd shows that attackers don’t need exploits anymore…
They just need influence.

Eric Stefanik

Eric Stefanik

Ai Consultant | Best-selling Author | Speaker | Innovator | Leading Cybersecurity Expert

LinkedIn logo icon
Instagram logo icon
Youtube logo icon
Back to Blog