Versatile AI Risk Assessment
Office work and knowledge management

AI knowledge assistant (enterprise search)

Also known as: AI knowledge assistant, enterprise search (RAG)

The assistant answers questions from a defined document collection and shows which documents support the answer.

Explore the interactive model

Export handout

A concise PDF covering how the system works, its data flows and points to investigate, ready to share.

The explanations and measures describe the typical system design. Extensive personal changes add an appendix.

Understand the use case

What defines this use case?

It retrieves relevant passages from manuals, policies or reports, and a language model formulates the answer from them (retrieval-augmented generation, RAG). A major bank, UK and German authorities, and an industrial company's maintenance team use these assistants.

This page describes a typical system design. Actual data flows and permissions depend on your implementation.

System design
Knowledge assistant grounded in sources
Ability to act
Provides results for subsequent use
Fields of use
financial services, public administration, industry
Also known as
knowledge chatbot, AI-powered enterprise search, policy chatbot, RAG assistant

How it works, step by step

System design and data flows

  1. Input data

    A staff member asks a natural language question.

    The collection also contains documents from manufacturers, service providers or customers, and many staff can often contribute content. Multimodal architectures also analyse illustrations, tables and drawings within documents.

  2. Processing

    Search retrieves relevant passages and passes them with the question to a language model.

    A retrieval component first searches the approved collection for relevant passages. Selected passages are passed to the language model together with the question. The model uses them to formulate an answer; searching, selecting passages and generating text are separate steps. Grounding an answer in sources does not remove the need to check its substance.

  3. Results

    The language model formulates an answer and identifies supporting documents.

    A generated result is newly worded or created. To assess it, the instruction and context on which it is based must remain identifiable.

  4. Use and impact

    Staff act on the answer, use it to advise customers or perform work on equipment.

    The model supplies information for subsequent use. Selection, adoption or a professional decision in the following workflow is a separate step and should not automatically be attributed to the model.

Explore the system design: Select a component to see its task, incoming and outgoing data, and role in the use case. The guided walkthrough explains each phase. Then use Yes, Uncertain and No to represent your specific system variant.

How the system is built

12 review first26 clarify9 baseline threats

InputProcessingResultImpact Externalaccess 04 Input 31 Third-partycontent 10 AI model 40 Providerservice 11 Documentcollection 12 Memory 01 Training andfeedback 02 OtherAI agents 00 Tools andinterfaces 04 Result 210 Business appor equipment 00 person 00 Affectedperson 00 AI serviceswithout approval 01 Externalaccess 04 Input 31 Third-partycontent 10 AI model 40 Providerservice 11 Documentcollection 12 Memory 01 Training andfeedback 02 OtherAI agents 00 Tools andinterfaces 04 Result 210 Business appor equipment 00 person 00 Affectedperson 00 AI serviceswithout approval 01
  • Present
  • Depends on your system
  • Absent
  • Review first
  • To clarify

In this system design: 12 to review first, 26 to clarify, 9 baseline threats.

Architecture as a list

How it differs from similar use cases

Data and information

Input data and information sources

The collection also contains documents from manufacturers, service providers or customers, and many staff can often contribute content. Policies and manuals rarely name people; minutes, tickets and customer records do.

Processing and operating environment

The language model usually comes from another provider; HMRC uses Azure OpenAI.

Storage and further use

For each question, the assistant retrieves relevant passages from the document collection. It formulates the answer from retrieved passages and cites them as sources.

Results and data sharing

With a cloud service, questions and retrieved passages leave the organisation's environment.

Using a provider does not automatically determine where processing takes place. Storage location, subcontractors, deletion periods and use for training must be checked for the specific deployment.

Assess risks and determine measures

From understanding the system to analysing risks

  1. Define the system boundary

    Record data, participants, interfaces and permissions. Resolve uncertain characteristics in the model.

  2. Investigate threats

    Relate review candidates to actual data flows: what could happen, and who would be affected?

  3. Assess risk

    Assess impacts and likelihood in the deployment context. The number of review candidates is not a risk score.

  4. Provide evidence of measures

    Select appropriate controls, assign responsibilities and define effectiveness checks. Document residual risks and approvals.

Key threats in the application context

  • 4 particularly important
  • 8 typical
  • 26 depending on the system
  • 9 for every AI system

A total of 47 threats from the threat catalogue may be relevant to this use case.

Priority review points

  1. RAG-Specific Attacks (Document Poisoning)

    Someone adds a document containing false or manipulated information. The assistant cites it as a source, making the answer appear particularly credible.

  2. Prompt Injection: Indirect

    A manufacturer's manual or chat message contains hidden instructions. The assistant follows them and discloses content from other documents, as demonstrated with Slack AI.

  3. Factual Inconsistencies (Hallucinations)

    If retrieval finds no suitable passage, the language model still produces an answer. An invented security rule or incorrect work step then looks like a manual quotation.

  4. Sensitive Information Disclosure

    The collection contains confidential reports accessible to only some staff. If retrieval ignores permissions, the assistant reveals their contents to unauthorised users too.

8 further review candidates in the typical design

Other relevant threats

  1. Backdoor ML Model

    Training data or an adopted base model can introduce hidden triggers for misbehaviour.

    Listed because of this characteristic

    • Uses another provider's model
  2. Sleepy Agent (Time/Event-Triggered Hidden Instructions)

    An instruction-following model can change behaviour at a particular time or event.

    Listed because of this characteristic

    • Performs natural language tasks
  3. Prompt Injection: Direct

    Users can override the system's working instructions through their inputs.

    Listed because of this characteristic

    • Performs natural language tasks
  4. Jailbreaks

    People requesting generated content may try to bypass intended limits.

    Listed because of this characteristic

    • Performs natural language tasks
  5. Meta Prompt Extraction

    Carefully crafted queries can reveal system instructions, which must therefore contain no secrets.

    Listed because of this characteristic

    • Performs natural language tasks
  6. Model Denial of Service

    Complex or high-volume inputs can exhaust model computing resources.

    Listed because of this characteristic

    • Generates its own text
  7. Privacy Attacks

    Targeted queries can recover some personal or protected training data from the model.

    Listed because of this characteristic

    • Processes confidential data
  8. Exfiltration from ML Application

    Protected data can leak through tools, network connections, storage or insiders.

    Listed because of this characteristic

    • Processes confidential data

Up to 26 further threats may apply, depending on your system design. Nine threats need to be reviewed for every AI system.

System features and open questions

Each Yes adds further threats to your checklist, up to 26 in total. If you cannot yet answer a question, include its threats in your review.

How many threats a Yes adds
  • Added by this Yes
  • Also requires a Yes to another question

How your system is built

Does the system use a knowledge graph storing concepts and their relationships?

Graph-RAG uses a knowledge graph to organise concepts and relationships; simpler architectures do without one.

If yes, add

Do documents from several customers, departments or permission groups share one search store?

If documents from different departments or confidentiality levels share a search store, retrieval must respect permissions.

If yes, add

Does the system process several input types together, such as text with images or speech?

Multimodal architectures also analyse illustrations, tables and drawings within documents.

If yes, add

How you operate the system

These questions arise for almost every AI system.

Controls and implementation

Measures for the priority review areas are expanded. Each linked measure explains how to implement it.

Review priorityRAG-Specific Attacks (Document Poisoning)3 measures
Review priorityPrompt Injection: Indirect3 measures
Review priorityFactual Inconsistencies (Hallucinations)3 measures
Review prioritySensitive Information Disclosure3 measures
Backdoor ML Model2 measures
Sleepy Agent (Time/Event-Triggered Hidden Instructions)3 measures
Prompt Injection: Direct3 measures
Jailbreaks2 measures
Meta Prompt Extraction2 measures
Model Denial of Service3 measures
Privacy Attacks3 measures
Exfiltration from ML Application3 measures

Controls for the remaining threats are available on their pages in the threat catalogue.

AI Act provisions

When AI Act provisions apply
  1. Art. 4: AI literacy

    For every AI system Applies since 2 February 2025.

  2. Art. 53 para. 1 point b, Annex XII: Embedded general-purpose model

    Depending on use Review trigger since 2 August 2025.

Applies to every AI system

Art. 4: AI literacy

Applies if staff or appointed representatives operate or use AI systems.

Applies since 2 February 2025.

Obligations and details for Art. 4: AI literacy
Who bears the obligations
Provider, Deployer, Product manufacturer, Provider of a general-purpose AI model

Detailed obligations

May apply in particular uses

Art. 53 para. 1 point b, Annex XII: Embedded general-purpose model

Applies if your organisation builds the assistant itself using a large language model or another third-party general-purpose model.

Applies since 2 August 2025.

Obligations and details for Art. 53 para. 1 point b, Annex XII: Embedded general-purpose model
The general condition is
Applies if another provider's general-purpose AI model is incorporated, such as a large language model.
Points to consider
The model provider bears its obligations. It must give you the Annex XII information; use it for your own documentation.
Who bears the obligations
Provider of a general-purpose AI model

Detailed obligations

Generally does not apply

Art. 50 para. 1: Disclosure of AI interaction

Staff knowingly invoke the assistant, making it obvious that they are using an AI system.

Obligations and details for Art. 50 para. 1: Disclosure of AI interaction
The general condition is
Applies if people directly write or speak with the system and it is not obvious that they are interacting with AI.
Who bears the obligations
Provider, Product manufacturer

Detailed obligations

Classify your system with the quick checker All obligations in the obligations compass

Cross-cutting threats

Review these threats for every AI system, whatever its purpose.

Why these threats always belong on the checklist

Atypical system features

View 5 further questions

If any of these features does apply to your system, add the listed threats.

  • Does the system generate or edit images, sounds, voices or videos?

    If yes, add

  • Does the system determine its next steps itself based on earlier results?

    If yes, add

  • Can people outside your organisation use the system, including without login?

    The assistant answers staff questions rather than customers' or citizens' questions.

    If yes, add

  • Does the system generate code, scripts or database queries for further use?

    If yes, add

  • Is the system intended to maximise a specified metric, such as revenue, utilisation or clicks?

    If yes, add

Annotated review example: RAG assistant

Fictitious learning example. The expectations below are not measured test results or an approval. Updated: 9 October 2026.

Sketched data flow: retrieval supplies document passages as untrusted context; the model answers with source references.
  1. User question
  2. Authorised retrieval
  3. Document context
  4. Language model
  5. Answer with sources
  1. Define the system boundary

    A fictitious company wants to make internal policies easier for staff to find. Its assistant answers questions from a bounded document collection and links to the passages it used. It may neither send email nor modify files. The pilot uses synthetic content only. The responsible business team names document owners, user groups and a technical operator. Before testing, the team records the model version, search index and permissions. Whether the external model service retains requests is initially unresolved. This question belongs in preparation and must be answered before real data is used. “Internal documents only” describes an origin, but does not establish a trust boundary: an internal file can also contain malicious instructions.

  2. Describe the attack path and potential consequence

    A manipulated policy contains ordinary text alongside an instruction to send earlier conversation content to an outside address. Retrieval supplies the passage to the language model as context. If the model treats the document as a higher-priority instruction, this is the attack path of indirect prompt injection. The person asking the question need not be the attacker. In this bounded pilot, actual transmission is technically prevented; an answer could still be distorted or contain a harmful link. The team therefore separates three questions: was the hostile content retrieved, was its instruction followed, and could an unauthorised effect occur? Mapping this to indirect prompt injection establishes a review prompt, not a probability. Other threats, including unauthorised document access, still require their own checks.

  3. Specify two mitigations

    The first mitigation is “Validation of content sources”. In this pilot, only explicitly approved repositories are indexed; origin, document version and permitted user group remain attached to each passage. Import rules detect or isolate suspicious content and log their decisions. This implementation needs testing because an allowed source can still carry hostile content. The second mitigation is “Sandbox processing of external content”. The processing service receives no sending tools or write permissions. Network access is technically restricted, and retrieved text stays marked as untrusted content. A sentence in the system prompt alone does not demonstrate this boundary. The owner documents which infrastructure rule enforces the restriction and which legitimate data flows remain necessary.

  4. Define tests and evidence in advance

    The team creates synthetic documents with visible and hidden instructions, alongside normal comparison documents. Cases cover allowed and disallowed sources, different user permissions and repeated runs with the same configuration. Expected behaviour is defined beforehand: disallowed sources do not enter the index; document instructions trigger no extra tools or network connections; answers identify verifiable sources. Ordinary documents must remain useful. Each run connects a test identifier, input, retrieved passages, model and rule versions, answer and relevant network logs. A second person checks the association and records deviations. These expectations constitute a test plan, not observed results. An absent log event is meaningful only when the completeness of logging has itself been checked.

  5. State limitations and prepare the next decision

    Even passing test cases would not demonstrate general safety. New document types, model changes and additional tools can alter the attack path. Before approval, the team must resolve retention by the model service, lawful basis, permission enforcement, incident handling and repeat testing. Legal classification follows intended purpose, role and class rather than the term RAG: Art. 14 concerns high-risk systems; Art. 55 addresses providers of general-purpose AI models with systemic risk. A threat reference does not automatically turn an ordinary deployer into a model provider. Preparation collects the use case, the threat, sources and outstanding evidence. It assigns no risk score and grants no operating approval. The handout continues to describe the use case; the individual review plan is exported separately from preparation. The owner also records who will resolve each outstanding question, by when, and which decision can then be made.

Review plan overview: expected evidence, no results
AssumptionThreatControlTest evidenceLimitation
Bounded document setMalicious policySource validationIndex logCheck internal sources too
Context is not an instructionIndirect prompt injectionSeparate content and instructionsAnswer with source passagesModel behaviour can vary
Read-only pilotUnauthorised external effectSandbox processingNetwork and tool logVerify logging completeness
Separate user permissionsUnauthorised accessPermission check before retrievalPositive and negative test per roleNo general security guarantee
Versioned configurationChanged attack pathRepeat testingConfiguration and test identifierReassess new tools

Three review questions for your preparation

  1. Who may access which documents before retrieval?
  2. Which technical boundaries prevent unauthorised actions?
  3. Which versions and logs make the test reproducible?

Threat with all mitigations · Validation of content sources · Sandbox processing · OWASP LLM01:2026

Sources

Related use cases

Also in the field of Office work and knowledge management

Often used together with

Updated: 30 September 2026. Review checklist rules version 0.3.2, threat catalogue version 2026.10.24.2. How these pages are structured