Large Language Models (LLM4)
David can cause the model to disclose sensitive information from its training data, system prompts, configuration, services or other users' context due to insufficient input and/or output filtering or prompt leakage
This card describes how an attacker can use prompt injection to manipulate an LLM into leaking sensitive data.
Scenario: David's user prompt disclosure scenario
Example
David loves trading, and he loves cryptocurrency. Lately, he has become familiar with CryptoniteAI, the latest LLM platform for finding hot tips on cryptocurrency trading and investment. David wonders whether it is possible to know what other users on the platform are doing. After learning about prompt engineering and prompt injection, he constructs some clever prompts to get the LLM to reveal what other users are asking the AI. And, wouldn't you know, after some clever adjustments, he finally manages to get the LLM to reveal other users' emails, names, usernames, and what they are asking, almost in real time. Armed with emails, names, and information about which coins other users are interested in, he decides to trick his victims into taking part in his cryptocurrency pump schemes. Little do they know that David will be cashing in on the movement while they are left in the red.
Threat Modeling
STRIDE
This scenario falls into the Information Disclosure category of STRIDE. David is able to get the LLM to send him information about other users, revealing confidential, sensitive information that can be leveraged for fraud.
PHANTOM-B
This scenario fits Missing security engineering. Insufficient controls over the data available to the model and its output can allow sensitive information or system prompts to be disclosed.
What can go wrong?
LLMs, especially when embedded in applications, risk exposing sensitive information. This can result in data breaches, privacy violations, and intellectual property theft.
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.
- Implement controls to prevent cross-tenant information from leaking through the shared infrastructure components like inference caches and shared model state.
- Implement controls to prevent cross-tenant and cross-user information leakage during retrieval and prompt assembly.
- Ensure data from Model Context Protocol (MCP) sources are validated and verified to be trustworthy before use.
- Implement model-extraction defenses to protect the LLM against intellectual property theft.
- Continuously monitor and identify backdoored or poisoned input at inference time especially if external data sources are used.
- 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; 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: I
PHANTOM-B: M
CIA: C
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.3,2.2.4,3.2.1,3.2.2,3.2.3,5.2.4,5.3.1,5.3.2,7.1.1,7.1.2,7.3.2,8.4.1,8.5.1-4,10.2.6,11.2.1,11.2.2,11.2.3,11.2.4,11.2.5,11.3.1,11.3.2,11.3.3,11.3.4,12.1.1,12.1.2,12.1.3,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.4.1,12.4.2,12.4.3
OWASP AITG: APP-01,APP-03,APP-04,APP-07,DAT-01,MOD-05
MITRE ATLAS: AML.T0057
OWASP LLM TOP10: LLM02:2025,LLM07:2025
CWE: CWE-200
Attacks
No attacks registered!