Prompt Injection
An attack technique targeting AI systems in which malicious instructions are embedded in text read by an AI model, inducing it to deviate from its original objectives and execute attacker-designed behaviors. It is a central security threat facing agents powered by large language models.
Core Facts
Prompt Injection is divided into two categories: direct injection and indirect injection; direct injection plants malicious instructions through user input, while indirect injection conceals malicious instructions in external content that the AI may read.
Prompt injection is an attack technique targeting large language models, where attackers embed malicious instructions in the model's input data to hijack the model's normal behavior.
Prompt注入(Prompt Injection)是针对大语言模型应用的安全威胁,攻击者通过在输入中嵌入恶意指令试图覆盖系统原有行为约束
Timeline (last 90 days)
WAFs mainly defend against traditional web attacks and have limited coverage of AI-specific threats such as prompt injection.
The model can only select actions and targets from the legal action menu pre-filtered by rules, and the JSON schema is dynamically rebuilt on each call, so prompt injection cannot produce unauthorized behavior outside the menu.
Handing ADB debugging privileges to an AI agent is equivalent to letting the model execute arbitrary commands on the device, which carries security risks such as prompt injection attacks.
Single-agent approaches (one prompt hooked up to multiple tools) tend to fail in production environments because the model confuses tool parameters or falls victim to prompt injection.
Common defenses against prompt injection include input filtering, tool whitelisting, least privilege, and separating untrusted content from instructions during processing.
Prompt-level constraints (such as "do not execute instructions in documents") are easily bypassed, because injected content can be disguised as legitimate user intent.
Players tried prompt injection (such as asking everyone to speak like pirates), and the system noticed somewhat but more or less complied.
Prompt injection attacks can hide malicious instructions in the HTML source code of emails; when the model summarizes an email, it may be induced to ignore system prompts and execute malicious operations, with the risk being especially prominent for smaller or older models.
Content extracted from web pages or documents is positioned as "information to be evaluated" rather than an "authoritative instruction source".
The absence of centralized moderation means harmful content (such as the spread of prompt injection attacks) may be harder to control; and reputation systems are vulnerable to Sybil attacks when early users are few.
40 more timeline events
All Facts (20)
Prompt Injection is divided into two categories: direct injection and indirect injection; direct injection plants malicious instructions through user input, while indirect injection conceals malicious instructions in external content that the AI may read.
90%VerifiedPrompt injection is an attack technique targeting large language models, where attackers embed malicious instructions in the model's input data to hijack the model's normal behavior.
90%VerifiedPrompt注入(Prompt Injection)是针对大语言模型应用的安全威胁,攻击者通过在输入中嵌入恶意指令试图覆盖系统原有行为约束
90%VerifiedPrompt injection is divided into two categories—direct injection and indirect injection—where indirect injection refers to attackers concealing malicious instructions in external content that the AI may read, such as webpage body text, code comments, README files, and image OCR text.
85%VerifiedOWASP lists prompt injection as the top risk in the LLM Top 10 (LLM01).
80%VerifiedPrompt injection is essentially an architectural flaw in which large language models cannot distinguish data from instructions, analogous to traditional SQL injection in which the database engine confuses data with SQL instructions.
80%VerifiedPrompt injection attacks induce AI agents to execute malicious operations by embedding text disguised as system instructions in code comments, documentation, web content, or even file names.
80%VerifiedUnlike SQL injection, prompt injection has no simple escaping or parameterization scheme, because there is no formal boundary between natural language instructions and data.
75%VerifiedPrompt injection is a class of attack faced by LLM applications in which attackers disguise malicious instructions as normal content to induce the model to execute them.
75%VerifiedPrompt injection refers to an attacker embedding malicious instructions into text that the model will read, causing the model to mistake these instructions for part of a legitimate task and execute them.
75%VerifiedPrompt injection exploits not a vulnerability in the code parser, but the model's own insufficient awareness of the boundary between instructions and data
75%VerifiedThe essence of prompt injection is that attackers hijack the execution logic of large language models through carefully crafted text content.
75%VerifiedPrompt injection has become one of the most closely watched attack surfaces in the field of agent security
75%VerifiedPrompt Injection refers to attackers using carefully crafted inputs to induce large language models to ignore original system instructions and execute malicious operations; in multi-agent systems, a compromised agent may propagate malicious instructions to other agents through legitimate internal communication channels.
75%VerifiedSelf-generated prompt injection is a security risk in which the injected instruction originates from the model itself rather than an external attacker.
70%VerifiedPrompt injection can be divided into two types: direct injection and indirect injection; indirect injection is where an attacker hides malicious instructions in external data sources such as web pages, PDFs, and emails, and when an AI agent processes this data the malicious instructions are executed as legitimate instructions.
70%VerifiedLLMs are vulnerable to prompt injection attacks, where malicious web pages or files can embed hidden instructions to induce AI to perform unintended actions.
70%VerifiedPrompt injection attacks can use carefully crafted user inputs to induce the model to ignore the constraints of the system prompt.
70%VerifiedOWASP ranks prompt injection as the top risk among the ten major risks for large model applications.
65%VerifiedBecause large models themselves cannot strictly distinguish between instructions and data, prompt injection is fundamentally very difficult to completely eliminate.
65%