What is prompt injection?
PICTURE THIS: AN LLM TURN
Simple meaning
Prompt injection is hostile text that tries to override your instructions, often by saying ignore previous rules.
WHY — Tokens instead of words?
LLMs use tokens (not full words) because it helps them:
who only read docs from people who shipped.
and tied to GenAI / LLM work.
Each piece maps to a number the network can learn.
Fixed pieces are what transformers expect as input.
STEPS — What happens step by step?
Before you speak the answer, walk the interviewer through these steps:
- 1Prompt injection is hostile
text that tries to override your instructions, often by saying ignore previous rules.
- 2It can sit in
a user message or in a retrieved document.
- 3Treat untrusted text as
data, not as new system policy.
- 4Give an example
One tiny concrete case you can say aloud.
- 5Common mistake
What juniors usually get wrong.
- 6Close
When you pick this over the alternative.
EXAMPLE — See it in action
Here's a short line you can speak, broken into clear beats:
Note: Adapt this scaffold to your own project — keep it under 60–90 seconds.
Key takeaway
Prompt injection is hostile text that tries to override your instructions, often by saying ignore previous rules. It can sit in a user message or in a retrieved document.