What is Prompt Injection?
Prompt injection occurs when malicious or untrusted text attempts to change how a model follows its original instructions. The attack may be written directly by a user or hidden inside a webpage, email or retrieved document.
Defences include isolating instructions from data, limiting tool permissions, validating actions and treating external content as untrusted. Prompt wording alone cannot provide complete protection.