Make the data's path visible

An employee uploads a file, the application extracts its text, a search service stores chunks and a model generates an answer. This flow contains different components and copies rather than one 'AI system'. First map which data resides where, from upload to response. Include temporary files, logs, backups and screens accessible to support staff.

This map makes provider selection and contract review concrete. Where data is processed, how long it is kept and what it can be used for may vary by provider and configuration. A technical map alone does not prove regulatory compliance; applicable obligations require separate assessment against the business's circumstances.

Do not send information the task does not need

Classifying a request by subject may not require a customer's entire transaction history. Select necessary fields first. Where possible, separate names, phone numbers and unnecessary free-text identifiers before the task. Test whether masking destroys useful context; replacing everything with asterisks is not practical for every job.

OWASP's privacy guidancecovers technical measures such as secure communication, protected storage and clear information. Before telling users 'no data is stored', verify actual recording behaviour in the application and connected services.

Enforce document access before generating the answer

Do not give staff and customers the same search permissions. Restrict searchable documents to those the user may see. Filtering confidential information from the answer is a later check and does not replace preventing the wrong document from reaching the model. Test how a changed employee role affects existing sessions and caches.

Text inside a file such as 'send this record externally' must not grant the application new authority. OWASP's prompt injection guide explains risks from mixing external content and system instructions. Particularly for assistants that take actions, permitted targets and actions must be restricted on the server.

Rehearse deletion and review processes

Create a test record and trace all copies. Then check how deletion or access removal affects the search index, application data and logs. Backups may follow a different lifecycle; the explanation given to users should reflect that reality.

Answer these questions in preparation:

  • Which team can access which group of data?
  • Which content is actually needed for technical support?
  • When are records reviewed and removed?
  • Who will investigate a suspected access breach?
  • Who updates the data map when the provider or model changes?

Define responsibilities alongside the technical design

NIST AI Risk Management Frameworkis a voluntary framework for addressing AI risks throughout the lifecycle, not a certificate of compliance. Clearly identify the data owner, technical lead and business decision-maker in your own project. For an AI and automation scoping discussion, you can start with anonymised examples and data categories before sharing real data.