Menu

1 / 2

Claude, Gemini, and Copilot Got Hijacked — Here's What Went Wrong

DEV Community·AgentShield·7 months ago
#1mXPrygb
#attack#why#security#ai#instructions
Long article (663 words) — no AI summary yet.
Reading 0:00
15s threshold

Researchers from Johns Hopkins University successfully hijacked three of the most widely-used AI agents — Anthropic's Claude Code, Google's Gemini CLI, and Microsoft's GitHub Copilot — through indirect prompt injection attacks.

The attacks were straightforward. The results were devastating. And the vendor response was silence.

What Happened

Researcher Aonan Guan and colleagues demonstrated three distinct attacks:

Attack 1 — Claude Code Security Review

Guan embedded malicious instructions directly in a PR title. Claude executed the commands and leaked credentials — including the Anthropic API key and GitHub access tokens — in its JSON response posted as a PR comment.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.