← Tech dictionary
Security
What is Prompt injection?
Prompt injection is an attack where text the AI reads — a document, web page or message — contains instructions that try to override the app’s rules. Defences include separating data from instructions, limiting tools and permissions, validating outputs and human approval.
Learn it properlyAI engineering tutorials — free, with diagrams, quizzes and a certificate