[KongchangAI]
Concept提示注入 / Prompt Injection攻击

Prompt Injection

Prompt injection is an AI security attack technique that exploits the architectural limitation of large language models in distinguishing between data and instructions. By crafting specific inputs, attackers can bypass a model's safety constraints and redirect its behavior, drawing an analogy to traditional SQL injection attacks in conventional software systems.

Core Facts

Timeline (last 90 days)

Oct 12

Gemini CLI 会合并工作区的 .gemini/settings.json 配置,若允许其设置 defaultApprovalMode 为 yolo,则克隆恶意仓库后可自动执行 shell 命令,形成提示注入加自动批准的严重安全风险。

Unverified50%
Oct 12

Retrieved external content (emails, attachments, documents) should be treated as untrusted input, and adversarial documents should be included in evaluation sets.

Unverified50%
Oct 11

LLMs have no hard isolation mechanism between data and instructions and must rely on semantic understanding to distinguish the two, which is their vulnerability.

Unverified50%
Oct 11

Prompt injection was first publicly demonstrated by Riley Goodside in 2022 and involves disguising instructions as ordinary input content to a model in order to bypass the system prompt.

Unverified50%
Oct 11

Hardcoding validation logic on the server side rather than relying on system prompts to constrain model behavior is a fundamental engineering practice for defending against prompt injection attacks

Unverified50%
Oct 11

Prompt Injection refers to malicious text being embedded in content that the model will read, in an attempt to override or tamper with the original instructions.

Unverified50%
Oct 10

There is currently no fundamental technical solution in the industry for prompt injection, and the main mitigation measures include the principle of least privilege, input sandboxing and filtering, and mandatory human confirmation before sensitive operations

Unverified50%
Oct 10

MCP's human-in-the-loop authorization mechanism is consistent with the defense logic against prompt injection attacks: even if an attacker induces an agent to issue an unauthorized request, it cannot bypass the manual checkpoint of user consent.

Unverified50%
Oct 10

Agents lacking isolation face indirect prompt injection attacks when scraping local HTML documents or websites containing maliciously hidden prompts, as language models cannot reliably distinguish legitimate commands from hidden payloads embedded in documents.

Unverified50%
Oct 10

PinSay treats the text content of comments as untrusted data to reduce the risk of prompt injection attacks

Unverified50%

40 more timeline events

All Facts (20)

Verified

Prompt注入(Prompt Injection)是针对大语言模型应用的安全威胁,攻击者通过在输入中嵌入恶意指令试图覆盖系统原有行为约束

90%
Verified

Prompt 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%
Verified

Prompt Injection is a security attack method targeting AI applications, analogous to SQL injection in traditional web development.

85%
Verified

Compared to traditional scripts, AI Agents are unpredictable and carry inherent risks such as hallucinations, context misinterpretation, and susceptibility to prompt injection attacks.

80%
Verified

Indirect prompt injection attacks plant hidden instructions within normal business data to induce Agents into executing unauthorized operations, representing a security risk at the semantic level rather than the code level.

80%
Verified

Prompt 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%
Verified

In a Prompt Injection attack, an attacker can craft a special input to induce the Agent to perform unintended operations.

80%
Verified

OWASP已将Prompt注入列为LLM应用十大安全风险之首

80%
Verified

AI systems have introduced entirely new dimensions of security risk, including erroneous decisions caused by model hallucinations, prompt injection attacks, training data poisoning, and AI agent privilege abuse.

80%
Verified

Prompt injection has become one of the most closely watched attack surfaces in the field of agent security

75%
Verified

提示注入是一种针对大语言模型的攻击手法,攻击者通过在模型输入数据中嵌入恶意指令劫持模型的正常行为

75%
Verified

Prompt 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.

75%
Verified

Privilege level and data access scope determine the severity of a vulnerability.

70%
Verified

Indirect prompt injection is an attack vector in which an attacker embeds malicious instructions in web pages, documents, or emails that an agent may read, inducing the agent to perform operations beyond the scope of the original task.

70%
Verified

Indirect prompt injection refers to attack instructions hidden in external web pages, documents, or API responses accessed by an agent, where the malicious instructions are activated when the agent retrieves and injects them into the context.

70%
Verified

Large language models are architecturally incapable of strictly distinguishing between system instructions and user data, which is a fundamental flaw at the architectural level.

70%
Verified

Prompt injection attacks can use carefully crafted user inputs to induce the model to ignore the constraints of the system prompt.

70%
Verified

The prompt injection security threat category was first systematically proposed by security researcher Simon Willison in 2022.

70%
Verified

AI代理操控计算机面临的安全风险包括提示注入攻击、权限升级和不可逆操作等问题

70%
Verified

Indirect injection refers to attackers hiding malicious instructions in external content that the model will read, such as webpage body text, email body text, or document content.

65%

Source Articles