Google Agent Development Kit Exposed to First-Ever Agent-on-Agent Attack via Prompt Injection

2 Sources

Share

Pillar Security discovered the first real-world agent-to-agent exploitation in Google's Agent Development Kit for Python. The AI agent vulnerability allowed attackers to manipulate low-privilege agents into triggering privileged actions through prompt injection, exposing over 90 million downloads to potential supply chain compromise.

Google Agent Development Kit Vulnerability Exposes New Attack Surface

Pillar Security researchers uncovered what they describe as the first-ever real-world agent-to-agent exploitation method in the google/adk-python repository, the open source Python toolkit behind Google's Agent Development Kit

1

. With more than 90 million downloads, the Agent Development Kit is widely used to build and deploy AI agents, making this AI agent vulnerability particularly significant for organizations relying on automated workflows

1

. The exploit demonstrated how one AI agent could be manipulated to control and compromise another agent with higher privileges, introducing a novel attack vector in CI/CD environments.

Source: The Register

Source: The Register

The vulnerability stemmed from architectural flaws in how the repository managed two classes of automated agents with different privilege levels that unintentionally shared a trust boundary

1

. A low-privilege, public-facing agent activated whenever users opened pull requests or issues, while a second high-privilege, maintainer-only agent handled sensitive operations. Dan Lisichkin from Pillar Security, who discovered and reported the vulnerability, emphasized that these new attack surfaces aren't yet reflected in existing threat models because agent-on-agent violence simply couldn't exist in the pre-agent world

1

.

How Agent-to-Agent Attacks Exploit Trust Boundaries

The attack mechanism exploited prompt injection techniques to bridge the trust boundary between low and high-privilege agents. An attacker could manipulate the public-facing agent through carefully crafted text in a malicious GitHub issue, causing it to trigger privileged AI agent workflows

2

. Pillar Security demonstrated that the public agent could be prompt-injected into posting as a trusted bot account, which satisfied the privileged workflow's owner, member, or collaborator gate

2

. This trusted bot identity became the authorization bridge that enabled the entire attack chain.

The attack unfolded in multiple stages. First, an external attacker would create a pull request combining legitimate fixes with malicious code, such as modified dependencies

1

. A public-facing agent tied to a high-privilege collaborator personal access token would read the attacker's pull request text and mark it for review. Once triage occurred, the attacker would open a second pull request containing the prompt injection payload, triggering the privileged-agent workflow to execute malicious actions

1

. This manufactured a complete, believable trail suggesting human review and approval when none actually happened.

Source: Hacker News

Source: Hacker News

Arbitrary Code Execution and Credential Exposure Risks

The research team demonstrated arbitrary code execution on the continuous integration runner and successful exfiltration of the bot personal access token

2

. The privileged job also held a Google API key and a Google Cloud service-account credential, significantly expanding the potential blast radius of a successful exploit

2

. While the runner rejected shell metacharacters and restricted commands, the script enabled full tool access, allowing the agent to write payloads and execute them through Git hook paths

2

.

The exposed component was the repository automation infrastructure rather than a flaw in the distributed Agent Development Kit Python package itself

2

. This distinction matters because it means the vulnerability affected the development and maintenance processes rather than end-user installations. However, successful exploitation could still lead to supply chain compromise if attackers gained sufficient access to inject malicious code into official releases.

Google's Response and Bug Bounty Controversy

Google fixed the underlying issue in the google/adk-python repository but deemed the exploit non-rewardable because it involved social engineering

1

. The company's rationale stated that the vulnerability report demonstrated exfiltration of a GitHub token with pull-requests write permission, which enables tampering with pull requests but still requires a maintainer to merge the malicious pull request since pull requests aren't automatically merged after bot review

1

. Google explained it doesn't reward vulnerability reports requiring social engineering to enable a supply chain security compromise, though it recognized the report with credit and hardened the repository

1

.

Google deleted three AI agent workflows from the repository in response to the findings. The removal commit specifically addressed workflows that processed untrusted issue and pull-request content with broad repository credentials

2

. Pillar Security verified the workflows were absent on July 2, and Google confirmed the issue fixed on July 21

2

. Importantly, Pillar Security's proof-of-concept attacks did not identify in-the-wild exploitation or a compromised Agent Development Kit release

2

.

Implications for AI Agent Security and Identity Management

Lisichkin will present these findings at DEF CON AI Village on Friday, August 7 at 1600 PDT, bringing attention to this emerging threat category

1

. He stressed that CISOs and security practitioners should start considering these scenarios, threat-modeling them, and calculating worst-case implications and blast radius

1

. The research demonstrates that agent isolation alone is insufficient to prevent agent-to-agent attacks in production environments.

For organizations deploying AI agents in CI/CD workflows for triage, pull request reviews, and discussions, this vulnerability highlights critical security gaps in current implementations

1

. Lisichkin emphasized that agents should have their own identity, which mandates what resources they can access and how they can interact with those resources

1

. If Google had given a bot identity to the initial triaging agent, most of the attack could have been prevented. Security teams need to start modeling agent identity and agent resource access within their threat models to address this emerging class of vulnerabilities.

Pillar Security recommends that similar repositories implement separate bot identities, narrower token and tool scopes, and authorization signals that untrusted inputs cannot generate

2

. As AI agents become more prevalent in software development workflows, identity-based security frameworks specifically designed for autonomous agents will become essential to prevent supply chain compromise through agent-on-agent violence. Organizations should watch for updated threat modeling frameworks that account for prompt injection attacks against privileged AI agents processing untrusted inputs in automated workflows.

Today's Top Stories

© 2026 TheOutpost.AI All rights reserved