Prompt Injection
Prompt injection is a type of cyberattack that targets AI systems built on large language models (LLMs), such as chatbots and other generative AI services. An attacker crafts deceptive text and disguises it as a legitimate prompt in order to manipulate the model's behavior, for example to make it ignore its intended instructions or reveal information it should not. It is commonly described as a novel security threat specific to conversational and generative AI systems.
Prompt injection is a security vulnerability affecting applications built on large language models (LLMs) in which an attacker deliberately supplies crafted input designed to manipulate the model's behavior. The malicious input is disguised as, or embedded within, otherwise legitimate prompts, causing the model to deviate from its intended instructions—for example to extract data or produce unauthorized outputs. Some sources characterize it as a form of social engineering directed at conversational AI rather than at a human operator. The scope of this entry is limited to the LLM/generative-AI security concept as described in the cited evidence; the evidence does not detail specific attack subtypes (such as direct versus indirect injection), quantified prevalence, or defensive control frameworks, so those aspects are out of scope here.
Why it matters
Prompt injection matters because it targets a class of systems that organizations are deploying rapidly—applications built on large language models—and it exploits the way those systems interpret text rather than a conventional software flaw. Because the attack manipulates the model's behavior through crafted input disguised as legitimate prompts, it can cause an AI system to deviate from its intended instructions, for example by revealing information it should not or producing unauthorized outputs. For governance and risk functions, this means that an LLM-based deployment can behave in ways its operators did not intend even when the underlying infrastructure is otherwise secure.
The vulnerability is commonly described as novel and specific to conversational and generative AI systems, which is significant for teams accustomed to traditional application security controls. Some sources characterize prompt injection as a form of social engineering directed at the AI rather than at a human operator, meaning it shares conceptual features with manipulation-based attacks even though the target is a model. This framing is useful for risk teams because it signals that existing input-validation assumptions may not translate cleanly to systems that treat natural-language input as instruction.
The evidence cited here establishes the existence and general character of the threat but does not detail specific attack subtypes, quantified prevalence, or defensive control frameworks. Organizations should therefore treat this entry as a description of the concept rather than as guidance on how frequently prompt injection occurs or how to mitigate it, and should consult security-specific and up-to-date sources when designing controls.
Who it's relevant to
Inside Prompt Injection
Common questions
Answers to the questions practitioners most commonly ask about Prompt Injection.