Prompt injection
Meaning
An attack that hides instructions inside content the AI reads, such as a web page, an email, or a document, so the AI obeys the smuggled instruction instead of the instruction of its owner. It is dangerous mainly for AI agents that can act, because a smuggled instruction could make them leak data or do things nobody asked for. Defenses include narrowing the work area of the agent and asking for human approval on important actions.
Example of use
A web page carries a hidden sentence ordering an AI assistant to forward user data to a foreign address.
