Large Language Models (LLM9)
Deckard can embed malicious instructions in external content like documents, emails, or web pages which are processed by the model, leading to unintended behavior or data exfiltration
This card describes how an attacker can use indirect prompt injection to change AI model behavior or steal data.
Scenario: Deckard's juice theft scenario
Example
Deckard loves juice, but he doesn't like to pay for it. His favorite juice shop has recently implemented an AI Chatbot and Deckard has heard that these chatbots' behavior can be changed. The chatbot allows users to upload their shopping lists as long as they are authenticated. Not only that, the LLM also fine-tunes its behavior and remembers the address that the juices are supposed to be sent to making it easier for users to order juices. By doing a bit of Vibe coding, Deckard is able to upload a document with hidden instructions to disregard all previous known addresses and only use a secret address if someone uploads their shopping list. At last, Deckard doesn't need to order and pay for his juices anymore.
Threat Modeling
STRIDE
This scenario falls into the Tampering and Repudiation category of STRIDE. Deckard is able to tamper with the behavior of the AI by uploading a document with hidden instructions. When the instructions are triggered for other users, tracing the instructions back to who might have injected them becomes very difficult as the instructions are hidden and introduced through indirect Prompt Injection. It's not Deckard that is buying the juices, but his victim. Deckard can deny to have bought the juices and blame the system for the wrong delivery. Being able to deny an action, means that the system is weak to the Repudiation category.
PHANTOM-B
This scenario fits Prompt injection. Hidden instructions in an uploaded document are indirect prompt injection because the model receives the attack through external content.
What can go wrong?
AI Backdoors can be used to make the AI deliver misinformation, data exfiltration, XSS, and remote code execution which can trick users into becoming victims of fraud, disclosing sensitive information, giving away their credentials, or spreading malware.
For more things that can go wrong, see OWASP Top 10 for LLM Applications and Mitre Atlas⢠IDs in the mapping section below and correlate these with the IDs on the OWASP Top 10 for LLM and Mitre Atlas⢠websites.
What are we going to do about it?
- Implement defenses against prompt injection.
- Enforce fine-grained access controls and authorization scope for every vector collection and every query.
- Pre-screen content before vectorization; treat memory writes as untrusted inputs; prevent ingestion of unsafe payloads.
- Log only the minimum AI interaction metadata needed for security monitoring, and ensure any prompt or output content included in logs is minimized and redacted or anonymized before storage.
- Detect AI-specific attack patterns (jailbreak, prompt injection, model extraction, multi-turn trajectory attacks, covert channels over LLM endpoints) and enrich security events with AI-specific context so that downstream detection and response systems can act on them.
- Monitor and alert when abuse is detected.
For detailed advice on how to mitigate threats related to the card, see the OWASP AISVS and OWASP AITG IDs in the table below and correlate these with the IDs in the OWASP AI Security Verification Standard and OWASP AI Test Guide documentation.
Mappings
STRIDE: T,R
PHANTOM-B: P
CIA: I
OWASP AISVS: 2.1.1,2.1.2,2.1.3,2.1.4,2.1.5,2.1.6,2.1.7,2.1.8,2.2.1,2.2.2,2.2.3,2.2.4,5.1.1,5.1.2,5.2.1,5.2.2,5.3.1,5.3.2,7.3.3,8.1.1,8.1.2,8.1.3,8.2.4,8.2.5,8.3.1,8.3.2,8.3.3,11.4.1,12.1.1,12.1.2,12.1.3,12.1.4,12.2.1,12.2.2,12.2.3,12.2.4,12.2.5,12.3.1,12.3.2,12.3.3,12.3.4,12.5.4
OWASP AITG: APP-02,APP-08
MITRE ATLAS: AML.T0051.001
OWASP LLM TOP10: LLM01:2025
CWE: CWE-1427
Attacks
No attacks registered!