How to resolve
Implement an output moderation and filtering layer, as needed by the application, to identify and block harmful content, such as toxicity, self-harm, and policy violations, before it reaches users or downstream systems. Standardized safety classifiers and redaction tools, such as OpenAI Moderation, or Llama Guard, could be utilized to ensure consistent enforcement of organizational safety guidelines and the protection of sensitive data.Risk
Governance/Compliance Missing output guardrails violates key requirements in established AI safety and security standards such as:- NIST AI RMF (GOV-2, MAN-2): calls for monitoring and controlling model outputs to prevent harmful or unsafe responses.
- ISO/IEC 23894:2023 (Operational Controls): requires safeguards to detect and mitigate high-risk or harmful model outputs before they reach users or other systems.
- OWASP Top 10 for LLMs (LLM03 Insecure Output Handling): highlights the need for output filtering, moderation, and policy enforcement to prevent unsafe content from being surfaced or executed.
- OpenAI Moderation, Anthropic Safety Filters, Meta Llama Guard, Google Vertex Safety Filters: all recommend output moderation layers as a core safety practice.
Explanation
Output guardrails act as the final safety layer for agent responses. They inspect or modify model outputs before they are shown to users or passed to tools. Without them, harmful content, unsafe commands, or sensitive data may be propagated without checks.Specifications
Trigger- agent.output_guardrails is empty
- LOW