Server rack with network cablesAI content

In short: The IT-Grundschutz of the German Federal Office for Information Security (BSI) also provides a proven framework for AI applications. Anyone deploying AI in regulated environments must go beyond classic data-protection considerations. We show which modules apply, what requirements hold for language models and RAG systems, and what an implementation path looks like.

Why BSI Grundschutz and AI go together

AI applications shift the security model. Classic protection goals like confidentiality, integrity and availability remain, but new risks emerge: training-data manipulation, prompt injection, model theft, unintended data leakage through language models.

The German federal administration is bound to work according to IT-Grundschutz. Many federal states, municipalities and critical-infrastructure operators use it to demonstrate the state of the art they are required to implement (§§ 30, 31 BSIG). Anyone deploying AI in such environments therefore does well to align their architecture with IT-Grundschutz. The EU AI Act adds requirements for high-risk systems. BSI Grundschutz and EU AI Act complement each other.

New risks from AI
  1. Prompt injectionHidden instructions in inputs redirect the model.
  2. Poisoned training dataFalsified data changes how the model behaves.
  3. Model theftThe model or its knowledge is extracted.
  4. Data leakageThe language model reveals confidential content.

Graphic: GermanAI Defense, simplified

Which BSI modules are relevant

The BSI Grundschutz uses thematic modules. The IT-Grundschutz Compendium (Edition 2023) has no dedicated module for artificial intelligence. AI applications are therefore covered through existing modules; for specific requirements, IT-Grundschutz allows user-defined modules. For AI systems, particularly relevant:

  • APP.6 General Software for the application that embeds the AI
  • CON.10 Web Application Development for AI APIs and frontends
  • OPS.1.1.5 Logging for traceability of model inference (inference means the running model answering an input)
  • DER.1 Detection of security-relevant events for anomaly detection in operations
  • NET.1.1 Network Architecture and Design for segmenting AI workloads
  • SYS.1.1 General Server for the hosting infrastructure

The BSI has also published the AIC4 criteria catalogue for AI cloud services (AI Cloud Service Compliance Criteria Catalogue) and the paper “Generative AI Models: Opportunities and Risks for Industry and Authorities”. Anyone running AI on cloud platforms should consider both in parallel.

Specifics for language models and RAG systems

Language models and RAG systems (language models that draw on your own documents for their answers) have security requirements that classic applications do not have:

Prompt injection and jailbreaks. Prompt injection means commands smuggled into inputs or documents. A jailbreak is an input that gets the model to bypass its built-in safety rules. Inputs can change model behavior in unintended ways. Inputs must therefore be treated as untrusted, even when coming from authenticated users. Output filters, prompt templating with clear separation of system and user instruction, and rate limiting (a cap on requests per time period) are standard practice.

Data flow in RAG architectures. When the model accesses internal knowledge documents, the permissions architecture must filter these documents by user role. Otherwise the model discloses information through search that the user could not see in the original source.

Training and fine-tuning data. For models trained on proprietary data, training data must be classified, approved and handled by protection level. Personal data requires a legal basis under GDPR.

Model hosting. Self-hosting in a controlled environment is often the most controllable option for regulated users. External APIs without clear data residency, without contracts under German law and without audit capability are hard to reconcile with IT-Grundschutz requirements for elevated protection needs.

Steps for implementation

We recommend six steps for AI applications in regulated environments:

  1. Protection-need analysis for the AI application. What data does the model process? What decisions do the outputs drive? This produces the protection level (normal, high, very high).
  2. Identify relevant BSI modules. From application type and infrastructure. Map into a gap analysis.
  3. Derive architecture decisions. Self-hosting vs API, model selection, RAG components, permissions model. These decisions are expensive to revise later.
  4. Implement technical measures. Input validation, output filters, logging, detection, backup, encryption. With auditable configuration.
  5. Organisational measures. Role concept, training, emergency plan, regular testing (including adversarial, e.g. red-team engagements, in which specialists deliberately attack the system the way attackers would).
  6. Documentation and audit. Audit-ready evidence of measures, mapped to BSI modules. For elevated protection needs: additional penetration tests and model reviews.

Where things typically break down

Three patterns regularly underestimated in projects:

  • Model selection becomes IT-driven instead of risk-driven. Teams pick the currently best-performing model without checking regulatory viability. At elevated protection levels, whether a commercial model meets the requirements needs to be checked case by case, regardless of its performance.
  • Permissions handled at application level, not in the RAG layer. This leads to subtle data leakage that normal tests do not catch.
  • No emergency plan. What happens if the model systematically delivers wrong answers? When is it shut down, who decides, how is it communicated?

Relationship to the EU AI Act

The EU AI Act and the BSI Grundschutz address different layers. The AI Act classifies applications by risk class and defines duties for high-risk systems. IT-Grundschutz helps implement part of these duties technically and organizationally, for example cybersecurity, logging and contingency planning. It does not replace the conformity assessment under the AI Act. The two frameworks are compatible and can be addressed in one program.

How GermanAI Defense supports

We design AI applications with clear permissions architecture, reviewed data flow and documentation referencing the BSI modules. On request, we operate them in Germany or on your premises, with models and data under your control.

For federal authorities, critical-infrastructure operators and regulated mid-market companies.

→ More on our AI Solutions: View AI Solutions

This article is a professional overview and does not replace legal advice in individual cases.

Sources