# Prompt injection: what it is and how it works · Zorraquino
> Prompt injection is an attempt to make an AI system follow instructions inserted into content that it should treat as data.
URL: https://www.zorraquino.com/en/dictionary/prompt-injection

# Prompt injection

Prompt injection is an attempt to make an AI system follow instructions inserted into content that it should treat as data

What it means, how it is used and where it comes up, with its related concepts.

[The whole glossary](https://www.zorraquino.com/en/dictionary)

## What it is and how it works

It can appear in external documents, pages or messages. Protection requires separating trust levels, limiting permissions and evaluating actions. Asking the model to ignore malicious instructions is not in itself a sufficient defence.

Topics

[Artificial intelligence](https://www.zorraquino.com/en/dictionary/category/inteligencia-artificial)

## Related concepts

- [Prompt](https://www.zorraquino.com/en/dictionary/prompt)
- [Prompt engineering](https://www.zorraquino.com/en/dictionary/prompt-engineering)
- [AI agent](https://www.zorraquino.com/en/dictionary/ai-agent)
