Prompt Injection
Also known as: instruction injection
Quick definition
An attempt to make an AI system follow malicious instructions embedded in untrusted content.
An attempt to make an AI system follow malicious instructions embedded in untrusted content.
The attack crosses a trust boundary when retrieved text or a tool response is treated as higher-priority instruction.
Example: A webpage tells a browsing assistant to reveal private notes instead of summarizing the page.
Common use cases: AI security testing and secure assistant design.
Examples
- A webpage tells a browsing assistant to reveal private notes instead of summarizing the page.
Use cases
- AI security testing and secure assistant design.
Frequently asked questions
What is Prompt Injection?
An attempt to make an AI system follow malicious instructions embedded in untrusted content.
What should I know about Prompt Injection?
The attack crosses a trust boundary when retrieved text or a tool response is treated as higher-priority instruction.