Skip to main content

Gemini Agent-to-Agent Attack Method Exposed Secrets, Enabled Pull Request Tampering

0
Medium
News
Published: 08/04/2026 (08/04/2026, 10:54:30 UTC)
Source: SecurityWeek

Description

A crafted prompt to a low-privilege Google ADK agent could be used to pass a malicious hand-off comment to a privileged agent. The post Gemini Agent-to-Agent Attack Method Exposed Secrets, Enabled Pull Request Tampering appeared first on SecurityWeek .

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/04/2026, 11:18:08 UTC

Technical Analysis

Pillar Security discovered an agent-to-agent attack method in Google's ADK for Python where a low-privileged, user-facing agent could be manipulated to send malicious prompts to a high-privileged agent. This allowed attackers to execute commands remotely, extract GitHub tokens, and impersonate maintainers by modifying pull request comments, approvals, and reviews. The attack chain included posting crafted comments that triggered privileged workflows, leaking access to bash commands and enabling remote code execution. Although the attack required social engineering to merge malicious pull requests, it posed a risk of supply chain compromise. Google was notified and implemented hardening measures in early June. Subsequently, another vulnerability in the ADK's automation features was found and fixed in late July, which could have allowed remote code execution without maintainer interaction.

Potential Impact

The vulnerability exposed secrets such as GitHub tokens and allowed remote code execution via a privileged agent. Attackers could impersonate maintainers by modifying pull request comments, dismissing or approving reviews, and manipulating the pull request approval lifecycle. This could enable supply chain compromise through malicious pull requests. However, merging malicious code required social engineering to gain collaborator trust and approval from maintainers. The second vulnerability fixed later allowed remote code execution without maintainer interaction, increasing risk.

Defensive Guidance

Google has addressed the vulnerabilities through hardening and fixes implemented by late July 2026. No further action is required from users as the issues have been remediated. Organizations using the Google ADK for Python should ensure they are using the updated, patched versions. Patch status is not explicitly confirmed; users should verify with Google's official advisories for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Article Source
{"url":"https://www.securityweek.com/gemini-agent-to-agent-attack-exposed-secrets-enabled-pull-request-tampering/","fetched":true,"fetchedAt":"2026-08-04T11:18:00.205Z","wordCount":1148}
Classification
{"confidence":0.3,"severitySource":"heuristic","classifier":"rss-v2"}

Threat ID: 6a71ca68bf32cb7a34348bfd

Added to database: 08/04/2026, 11:18:00 UTC

Last enriched: 08/04/2026, 11:18:08 UTC

Last updated: 09/18/2026, 02:31:38 UTC

Views: 117

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses