Skill 3.2.7

Implement protections and guardrails for generative AI applications (for example, by applying GenAI OWASP Top 10 for LLM Applications protections)

Key Concepts

The OWASP Top 10 for LLM Applications includes prompt injection, sensitive information disclosure, supply chain risks, data and model poisoning, improper output handling, excessive agency, system prompt leakage, vector and embedding weaknesses, misinformation and unbounded consumption.

Amazon Bedrock Guardrails apply content filters, prompt attack detection, denied topics, word filters, PII redaction or blocking, and contextual grounding checks to both inputs and outputs, with any model. Add least-privilege roles for agents and tools, validate and encode model output before using it, limit tokens and request rates, keep data private with VPC endpoints and encryption, and log model invocations.