Discussion about this post

User's avatar
Claude code security's avatar

This attack class is one of the most underappreciated risks in the Claude Code ecosystem right now. Plugin injection as a hijacking vector works precisely because Claude Code is designed to trust its tool layer — that trust relationship is what makes agentic workflows useful, and it's exactly what makes them exploitable. When a malicious or compromised plugin can inject content into the agent's context, the conversation is effectively over before the user notices anything wrong. The subtlety here is that this isn't a jailbreak in the traditional sense. You're not trying to override the model's values or safety training. You're operating within the sanctioned tool-use channel and piggybacking on legitimate execution permissions the user already granted. That makes detection much harder than prompt injection attacks that arrive through user-controlled input. Organizations deploying Claude Code at scale need plugin allowlisting, not just malware scanning. The question isn't whether a plugin does something bad in isolation — it's whether what it injects into context can redirect the agent toward actions the user never intended. We've documented this attack pattern in detail at https://gtm-rho.vercel.app/blog.

No posts

Ready for more?