Prompt Injection
An attack technique targeting large language models in which adversarial instructions are embedded within external content read by the model, such as web pages, documents, or tool return values. This hijacks the model's behavioral logic without requiring direct interaction with the model.
Core Facts
AI safety emphasizes defending against external threats and preventing system misuse, including prompt injection defense, jailbreak protection, data leakage prevention, and abuse detection.
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.
Indirect prompt injection can hide malicious instructions in external data sources (such as web pages or documents), triggering the attack automatically when an agent reads them.
Timeline (last 90 days)
In telecom operations and maintenance scenarios, if an LLM is granted action permissions such as calling configuration interfaces or modifying work order status, prompt injection may escalate into actual manipulation of network infrastructure.
Experimental results show that a target model that natively follows only 0.4% of prompt injections on the benchmark can reach a follow rate of up to 44.2% after caches are transferred from the source model through the mapper.
Attackers can take control of legitimate agents through prompt injection, poisoning shared data, compromising tools, or multi-agent collaboration, and can exploit legitimate encrypted LLM API traffic to exfiltrate sensitive data.
New risks brought by agentic browsing include: the agent may accidentally trigger payment, submission or deletion actions, and may also be induced by malicious instructions on the page (i.e., prompt injection).
Prompt injection is especially risky in retrieval-augmented generation and agent scenarios.
In language models, adversarial attacks manifest as prompt injection, jailbreak prompts, and bypassing safety guardrails through specific token sequences.
Prompt injection is a security risk worth noting in vibe coding scenarios: when users describe hardware operation intents to AI in natural language, status information returned by devices, protocol documentation fragments or third-party content may be mixed into the prompt, and if malicious instructions are smuggled in, the model may execute them as legitimate requests.
In the Railway incident, the attacker generated the attack payload most likely with the help of similar elicitation techniques.
For models lacking safety guardrails, prompt injection attacks almost inevitably succeed; even for commercial models, defense strategies need to be continuously updated.
Once API credentials leak, attackers can directly consume compute quotas, extract model outputs in bulk, and even probe internal system information via prompt injection.
40 more timeline events
All Facts (20)
AI safety emphasizes defending against external threats and preventing system misuse, including prompt injection defense, jailbreak protection, data leakage prevention, and abuse detection.
90%VerifiedPrompt 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%VerifiedIndirect prompt injection can hide malicious instructions in external data sources (such as web pages or documents), triggering the attack automatically when an agent reads them.
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 engineering refers to the practice of carefully designing input text to guide AI models toward producing higher-quality outputs that better meet expectations.
90%VerifiedRed-teaming in LLM scenarios refers to systematically probing model safety boundaries using edge cases, adversarial prompts, jailbreak instructions, and similar methods, with testing dimensions including prompt injection, harmful content generation, privacy leakage, and hallucination triggering.
90%VerifiedPrompt注入(Prompt Injection)是针对大语言模型应用的安全威胁,攻击者通过在输入中嵌入恶意指令试图覆盖系统原有行为约束
90%VerifiedOWASP has listed prompt injection as the top security risk among the ten major security risks for LLM applications.
90%VerifiedPrompt injection attacks are a serious threat facing local AI Agents, as maliciously crafted content in files processed by the Agent may induce it to execute dangerous operations.
90%VerifiedOWASP has listed prompt injection as the top security risk for large language model applications.
90%VerifiedFailures in AI agents are often semantic deviations rather than explicit error codes, and this kind of "successful failure" requires the orchestration layer to have semantic-level error recognition capability.
85%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%VerifiedPrompt Injection is a security attack method targeting AI applications, analogous to SQL injection in traditional web development.
85%VerifiedSupply-chain-level MCP attack patterns include typosquatted servers and rug pulls (i.e., tool definitions that are silently altered after being approved).
80%VerifiedIf the underlying data is messy, AI models will amplify those errors faster and at greater scale—meaning "garbage in, garbage out" is further magnified in the AI era.
80%VerifiedThe concept of Prompt Injection was first systematically proposed by security researchers including Simon Willison in 2022.
80%VerifiedThe root cause of Prompt Injection is that large models cannot structurally distinguish between "system instructions" and "user data," as both are presented as natural language text at input time.
80%VerifiedWhen authorizing an Agent to perform high-risk operations, a manual confirmation step should be established, where the Agent proposes the plan and humans retain final execution authority (human-in-the-loop mechanism).
80%VerifiedMCP tools are essentially arbitrary code execution, indirect prompt injection is a real-world threat, and attack vectors can be hidden in resource content rather than in direct user input.
80%VerifiedThe root cause of prompt injection is that large language models lack a native mechanism to distinguish between the instruction layer and the data layer.
80%