Return to Threats

Why 94% of AI Agents Are Vulnerable to Prompt Injection — And What To Do About It

Straiker 2025-04-07 indirect prompt injection Critical

Executive Summary

Straiker says most deployed AI agents are exposed to prompt injection when they read documents, emails or web pages and then act, citing a command injection flaw in a widely used AI tool with over 437,000 installs.

What Happened

Straiker details research indicating that the vast majority of deployed AI agents are exposed to prompt injection risks, particularly when they read documents, emails, or web pages and then take real-world actions.[10] The article references a command injection vulnerability in a widely used AI tool that affected over 437,000 installations and allowed remote code execution, framing prompt and command injection as a critical security issue for businesses automating workflows with AI agents.[10]

Vulnerability / Attack Technique

Prompt and command injection in agents

Technical Mechanism

Agents act on untrusted content, and one widely used tool had a command injection flaw enabling code execution.

AI Security Category

LLM01:2025 Prompt Injection

Part of the Prompt Injection topic.

Relevant Frameworks

LLM01:2025 Prompt InjectionLLM05:2025 Improper Output Handling

RealGround Analysis

Reading plus acting is where risk concentrates. RealGround analysis: gate actions that follow reading untrusted content.

Recommended Controls

  • Gate agent actions taken after processing external content

Related RealGround Service

Secure AI Agent Build · or start with the free AI Agent Security Scanner.

Sources

Straiker: https://www.straiker.ai/blog/why-94-of-ai-agents-are-vulnerable-to-prompt-injection----and-what-to-do-about-it

Summary and analysis written by RealGround from the source above; last updated 2026-10-18.

Talk to AI CISO