Return to Threats

LLM Prompt Injection Prevention Cheat Sheet

OWASP 2026-11-09 prompt injection Critical

Executive Summary

The OWASP guidance addresses prompt injection in LLM applications and its potential to change intended behavior. Organizations operating LLM applications or AI agents should prioritize defenses against unauthorized access, exfiltration, and system-prompt disclosure.

What Happened

OWASP describes prompt injection as a vulnerability that can alter an LLM application's intended behavior. The guidance identifies potential outcomes including unauthorized data access, exfiltration, and system-prompt disclosure.

Affected Products

  • LLM applications

Vulnerability / Attack Technique

LLM prompt injection

Technical Mechanism

Prompt injection alters an LLM application's intended behavior through crafted instructions or input. The reported outcomes include unauthorized data access, exfiltration, and disclosure of the system prompt.

AI Security Category

LLM01:2025 Prompt Injection

Part of the Prompt Injection topic.

Relevant Frameworks

LLM01:2025 Prompt InjectionLLM02:2025 Sensitive Information DisclosureLLM07:2025 System Prompt LeakageMITRE ATLAS: Exfiltration

RealGround Analysis

Prompt injection can undermine the intended control flow of LLM applications and AI agents, especially where model outputs or instructions influence access to data or tools. Teams should combine application-level safeguards with adversarial testing focused on data access, exfiltration, and system-prompt protection.

Recommended Controls

  • Enforce strict separation between system instructions, user input, and retrieved or external content.
  • Apply least-privilege access controls to data and tools available to LLM applications or agents.
  • Validate and constrain model outputs before using them to trigger actions or access resources.
  • Test applications with prompt-injection scenarios targeting unauthorized data access, exfiltration, and system-prompt disclosure.
  • Monitor and log suspicious instruction patterns, sensitive-data access, and attempted system-prompt extraction.

Related RealGround Service

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

Sources

OWASP: https://cheatsheetseries.owasp.org/cheatsheets/LLM_Prompt_Injection_Prevention_Cheat_Sheet.html

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

Talk to AI CISO