AI Security
Researchers Reveal Framework for Hijacking LLM-Powered Automation Workflows
A new study demonstrates how attackers can craft malicious inputs to compromise agentic AI workflows on platforms like GitHub Actions and n8n.
Academic researchers have unveiled a vulnerability framework that shows how automation platforms integrating LLM agents can be manipulated to perform harmful actions, potentially exposing developer credentials and enabling unauthorized code execution.
The Vulnerability#
Platforms such as GitHub Actions and n8n increasingly deploy agentic workflows—automation systems that use Large Language Model agents to handle tasks like automated code review and data management. While these systems boost developer productivity, they introduce a new security risk: an adversary with control over certain inputs (such as GitHub issue comments or other workflow data) can craft malicious content to trick the LLM agent into executing unwanted actions, including stealing secrets or running arbitrary commands.
How the Attack Works#
Researchers developed a detection and exploitation framework called JAW (using a technique termed Context-Grounded Evolution) that identifies and exploits these vulnerabilities. The approach works by analyzing agentic workflows through three key lenses:
- Static path analysis — Maps the feasible paths an agent can take through a workflow and determines what input constraints are needed to trigger them
- Prompt-provenance tracking — Traces how user input gets transformed and inserted into the LLM's context window
- Capability enumeration — Catalogs what actions and restrictions the agent has access to at runtime
By evolving attack inputs under these derived contexts, JAW can generate payloads designed to hijack workflows for malicious purposes.
Scope of the Problem#
Testing revealed significant real-world impact. The research identified vulnerabilities affecting over 4,700 GitHub workflows and eight n8n templates that could be successfully compromised to leak user credentials and execute unintended commands. The vulnerable components span 15 popular GitHub Actions, including official integrations for Claude Code, Gemini CLI, Qwen CLI, and Cursor CLI, as well as two official n8n nodes.
Responsible Disclosure#
The researchers disclosed all findings responsibly to affected vendors. Major technology companies including GitHub, Google, and Anthropic acknowledged the vulnerabilities, issued patches, and in some cases provided bug bounties in response to the work.
