Skip to content
Back to the AI glossary

Glossary · AI security & threats

Guardrails (AI)

also: safety rails, action guardrails

In short

Technical and organisational limits that define what an AI system or agent may and may not do, for example allowed actions, value limits, mandatory human approval or running only in a sandbox. Goal: allow the benefit and limit the potential for harm.

Reference: Own assessment; cf. EU AI Act Art. 14, ISO/IEC 42001 operation

What it means

Guardrails are rules that define what an AI system may output or do. They exist on several levels. Input filters reject unwanted requests. Output filters hold back personal data or offensive content, for example. Action limits define which tools an agent may call, up to which amount, in which environment and when a person has to agree. Organisational guardrails complete the picture: approval rules, permitted purposes, responsibilities.

ISO/IEC 27090:2026 places guardrails in 6.11.3.2 as one form of oversight: rules or business logic detect unwanted behaviour and correct or stop it. The standard also names the weakness. What is wanted and what is unwanted often cannot be described completely. Guardrails therefore catch known patterns and miss new ones. Where judgement is needed, human oversight remains necessary: slower and more costly, with more understanding of the individual case.

In practice and in the audit

Put guardrails where an error costs most, and as far outside the model as possible. The model can ignore a rule in the prompt; it cannot ignore a permission in the target system. An agent that creates purchase orders needs a fixed value limit in the interface to the ERP system, a list of permitted suppliers and an approval above a certain amount. That keeps the damage limited even if the model is deceived.

Test guardrails like any other security control, before introduction and after every change to model, prompt or tools. Record which guardrail addresses which risk, and check in the logs how often it triggers. If it never triggers, that may reflect quiet operation or a guardrail that does not work. In an audit against ISO/IEC 42001, guardrails belong to the controls from risk treatment and to operation and monitoring under A.6.2.6.

References in standards and law

I cite standards by clause number and in my own words, never verbatim. Legal texts link to EUR-Lex.

  • ISO/IEC 27090:2026, 6.11.3.2Oversight by rules or by people and the limits of guardrails.
  • ISO/IEC 27090:2026, 6.11.3.3Least privilege for AI systems and agents.
  • ISO/IEC 42001:2023, A.6.2.6Operation and monitoring of AI systems.
  • Article 14 Regulation (EU) 2024/1689 Human oversight of high-risk AI systems.

Frequently asked questions

Are the AI provider’s guardrails enough?

They cover general risks such as offensive content. Only your company knows the limits for your own use: which data, which actions, which amounts. Those guardrails you have to set yourself.

Related terms

Further reading in the insights

Matching service

Independent review of guardrails

In an AI security audit I check which guardrails your AI tools have, whether they act outside the model and what happens in an incident.

To AI security

Author: Lars Zimmermann

Term and explanation in my own words. Researched to the best of my knowledge and reviewed for accuracy.

This is my interpretation from practice. For legal advice, please turn to the appropriate professionals.