Artificial Intelligence
Prompt injection
Appears inAIF-C01Gen AI Leader
Attack where a malicious user includes hidden instructions in their input to manipulate the model into ignoring its original instructions, revealing confidential information, or performing unauthorized actions.
On the exam
In AIF-C01 (Domains 3 and 5) it's distinguished from jailbreaking (trying to evade the model's safety restrictions) and prompt poisoning (contaminating training data). Mitigation: Guardrails, input validation, and a clear separation between system instructions and user content. In GENAI-L (Domain 4) it's one of the security risks SAIF aims to mitigate in generative AI applications.
Related terms
- Amazon Bedrock GuardrailsConfigurable controls in Bedrock to filter harmful content, block disallowed topics, redact sensitive information (PII), and reduce hallucinations, applied to both user inputs and model outputs.
- SAIF (Secure AI Framework)Google's framework for securing AI systems across their entire lifecycle, covering infrastructure security, training data, the model, and the applications that consume it, with controls and best practices at every layer.