Explain it in 60 seconds
Prompt injection explained
Machine Learning · Prompt Engineering · Intermediate
What is prompt injection, and why is it hard to prevent?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Malicious instructions in user input or external content override intended behavior.
- Direct (user types it) vs indirect (hidden in documents, web pages, emails).
- Models can't perfectly distinguish instructions from data.
- Mitigations: delimiting, instruction hierarchy, classifiers, least privilege, human approval.
- No complete solution; design for containment.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.