Skip to content
Back to the AI glossary

Glossary · AI concepts & terminology

System prompt

also: system instruction, system message

In short

A higher-level instruction that sets the role, tone, limits and rules of behaviour of an AI assistant before user inputs are processed. A central means of control, yet no reliable protection: attacks such as prompt injection can try to override it.

Reference: General AI knowledge

What it means

The system prompt is the instruction placed in front of a request to a language model before the user’s input. It defines the assistant’s role, the tone in which it answers, the sources it relies on and what it should not do. The makers of large models provide a separate role for this in their interfaces, and their models are trained to give these instructions priority.

Priority is no protection. ISO/IEC 27090:2026 describes in 6.9 jailbreaking as a form of prompt injection that deliberately bypasses limits set through design, architecture or system prompts. A system prompt can also often be extracted. It should therefore contain nothing that must remain secret: no credentials, no internal prices, no confidential rules.

In practice and in the audit

Treat the system prompt as configuration that affects every result. It gets a version, an owner and an approval, and every change is tested before it goes live. When a result stands out, an auditor will ask which system prompt applied at that time. ISO/IEC 42001 requires in A.6.2.3 that design and development are documented, and in A.6.2.8 that event logs are recorded. For an assistant, the system prompt belongs to both.

Whatever an assistant must never do belongs in technical limits outside the prompt: permissions on data and systems, filters for inputs and outputs, human approval for actions with consequences. ISO/IEC 27090 recommends in 6.11.3.3 restricting the permissions of AI systems and agents to what is necessary. The system prompt shapes behaviour in the normal case; the technical limits secure the exceptional case.

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.9Prompt injection and jailbreaking against system prompts.
  • ISO/IEC 27090:2026, 6.11.3.3Least privilege for AI systems and agents.
  • ISO/IEC 42001:2023, A.6.2.3 and A.6.2.8Documentation of design and development, recording event logs.

Frequently asked questions

May I put confidential rules into the system prompt?

Better not. System prompts can often be extracted with clever inputs. Whatever must stay secret belongs in permissions and data that the assistant only accesses in a controlled way.

Related terms

Further reading in the insights

Matching service

Testing assistants against manipulation

I test your AI assistant for prompt injection and jailbreaks and check whether important limits are enforced outside the system prompt.

To AI security

Author: Lars Zimmermann

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