# AI safeguards

Understand how filters, validation, and access limits can form safeguards and why they need evaluation in the actual application.

Canonical URL: https://thecompanybrain.com.br/en/glossary/ai-safeguards
Authors: Luiz Gardelin
Updated: 2026-11-14T19:17:53.694Z

AI safeguards are measures intended to reduce unwanted behavior and consequences when using [artificial intelligence](/en/glossary/artificial-intelligence) systems. They can include content filters, output validation, and action limits. As one implementation example, Amazon Bedrock Guardrails documentation describes configurable filters for generative application inputs and outputs. That service does not represent every possible form of safeguard. [AWS, Amazon Bedrock Guardrails](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html).

## Controls at different application points

OWASP presents [prompt injection](/en/glossary/prompt-injection) mitigations that include validating output formats, limiting privileges, separating external content, and requiring [human approval](/en/glossary/human-approval) for higher-risk actions. It also acknowledges that foolproof prevention of this kind of attack has not been established. A filter's existence should therefore not be treated as a guarantee of complete safety. [OWASP, prompt injection prevention and mitigation](https://genai.owasp.org/llmrisk/llm01-prompt-injection/).

[Model alignment](/en/glossary/model-alignment) concerns the objectives shaping model behavior. A safeguard may operate in the surrounding application, for example by preventing an operation that its account is not authorized to perform. Documentation should identify where each control operates and the consequence it is intended to prevent.

## A hypothetical control and its test

Consider an assistant authorized to prepare draft replies but without permission to send them. In this hypothetical example, the sending restriction limits the consequence of an inappropriate response. A content filter and a person's review could provide additional measures, each with a stated purpose.

Test legitimate requests as well as attempts to cross the defined boundaries. Record which inputs were blocked, which should have been accepted, and what happens if a control fails. Assign responsibility for reviewing configuration and investigating incidents.

A [model benchmark](/en/glossary/model-benchmark) can help organize bounded tests, but evaluating safeguards must also account for the permissions, integrations, and consequences of the actual application. The decision goes beyond selecting a filter: it requires demonstrating which limits exist and how the organization checks that they work. Examine the consequence of a missed block as carefully as an unnecessary refusal.

## Sources

- [Detect and filter harmful content by using Amazon Bedrock Guardrails](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html): Configurable filters from a particular service, presented as one example of safeguards for generative applications.
- [LLM01:2025 Prompt Injection](https://genai.owasp.org/llmrisk/llm01-prompt-injection/): Mitigations include validation, least privilege, and human approval; no foolproof prevention is promised.

## Related reading

- [Model alignment](/en/glossary/model-alignment)
- [Model benchmark](/en/glossary/model-benchmark)
- [AI audio generation](/en/glossary/ai-audio-generation)
- [AI image generation](/en/glossary/ai-image-generation)
- [AI model license](/en/glossary/ai-model-license)
- [AI system evaluation](/en/glossary/ai-system-evaluation)
