Highveld Mutual's security team, at our fictional South African insurer, ran a simple exercise before the claims assistant went live. They listed every place a claimant's ID number could end up once it entered the AI system. They expected three answers: the claims system, the model provider and the chat window. They found eleven, including a trace store that kept full prompts for a year, an evaluation spreadsheet on a shared drive, a vector index that ignored the permissions of the documents it was built from, and a memory feature that could, in one configuration, carry a detail from one broker's session into another's.
None of those were model failures. Each was a place where the AI system touched something the organisation already had to govern, and the governance did not follow the data. That is the pattern this part maps: twelve surfaces where enterprise AI leaks data, and for each one the control, the owner and the evidence.
CloudNala has covered several of these surfaces in depth, including what must be logged when staff use AI, permission-aware retrieval and whether your observability tools store the prompt. The series POPIA in Production covers the privacy programme around them. This part puts the surfaces on one map so that no owner can assume someone else has it.
Twelve surfaces on one map
The numbers follow the order below. The four zones matter as much as the numbers: people and channels, models and providers, stores, and actions. A leak in the stores zone is usually silent, because nothing in a store looks like an incident until someone queries it.
- Prompts and uploads. Staff paste customer data, contracts or source code into an AI tool that was never approved for that class of data.
- Unsanctioned tools and browser extensions. A personal AI account or an extension that reads every page sends data outside any agreement. CloudNala treats this as an architecture signal, not just a policy breach, in shadow AI is an architecture signal.
- Provider retention and training terms. Data sent to an approved provider is still retained for a period, and terms differ by product and contract.
- Retrieval without permission filtering. The assistant answers from a document the user could never open directly.
- Embeddings and vector stores. Vectors are treated as anonymous, so the store gets weaker controls than the source.
- Logs, traces and evaluation datasets. Full prompts and responses are captured "for debugging" and kept indefinitely.
- System prompts, secrets and hidden context. Instructions, internal rules or credentials placed in context are revealed through a crafted question.
- Generated responses. The answer itself discloses more than the user should see, or reproduces personal information from context.
- Fine-tuning and training records. Personal information used to tune a model persists in the training set and possibly in the model's behaviour.
- Rendered links, images and active content. A response contains an image or link whose address carries data to an outside server when the interface renders it.
- Tool calls, connectors and outbound actions. The agent sends data to the wrong recipient, or a connector has broader access than the task needs.
- Cross-user or cross-session memory. A memory feature carries one person's information into another person's session.
The threats are documented, not hypothetical
Several of these surfaces map directly to the OWASP Top 10 for LLM Applications, 2025 edition (checked on 18 November 2026):
- LLM01:2025 Prompt Injection is how many of the others are triggered, especially surfaces 7, 10 and 11.
- LLM02:2025 Sensitive Information Disclosure covers surfaces 6, 8 and 9.
- LLM05:2025 Improper Output Handling covers surface 10: rendering model output without sanitising it.
- LLM06:2025 Excessive Agency covers surface 11.
- LLM07:2025 System Prompt Leakage covers surface 7.
- LLM08:2025 Vector and Embedding Weaknesses covers surfaces 4 and 5.
For agents, OWASP's GenAI Security Project released the OWASP Top 10 for Agentic Applications for 2026 on 9 December 2025. It covers risks such as hijacked agent goals, tool misuse, identity and privilege abuse and poisoned memory. Check the current edition and its identifiers before you map controls to it.
Two surfaces deserve evidence because they are often dismissed.
Embeddings are not anonymisation. Morris and colleagues showed in Text Embeddings Reveal (Almost) As Much As Text (EMNLP 2023) that their method could recover 92% of 32-token inputs exactly from their embeddings, under the paper's experimental setup. The result does not apply equally to every model and text length, but it ends the argument that a vector store holds nothing sensitive. Protect it like the source.
Rendered images can carry data out. Security researcher Johann Rehberger documented in 2023 how an injected instruction could make an AI chat interface render a markdown image whose web address carried conversation data to an outside server. One case he reported in the Azure AI playground was fixed in September 2023. The control is simple to state and often missed: do not render images or links from model output unless the destination is on an allow list.
The control map
Use these two tables as a working map. Fill in the owner column with a named role in your organisation, not a team name.
Prevent and detect
| # | Failure mode | Preventive control | Detective control |
|---|---|---|---|
| 1 | Restricted data entered into an unapproved tool | Approved tools by data class; data-loss prevention on upload; training | Usage and DLP alerts by data class |
| 2 | Data leaves through a personal account or extension | Managed browsers and extension allow lists; a sanctioned alternative | Network and endpoint discovery of AI services |
| 3 | Data retained or used beyond the agreed purpose | Contract terms checked per product; zero or reduced retention where justified | Annual terms review; provider change notices tracked |
| 4 | User sees content they are not entitled to | Permission filtering during retrieval, using source permissions | Tests with users of different entitlements |
| 5 | Vectors exposed or inverted | Same access control, encryption and residency as the source | Access logging on the vector store |
| 6 | Second sensitive store created by logging | Log references not content; redact before storage; retention by purpose | Scans of trace and eval stores for personal information |
| 7 | Instructions or secrets extracted | No secrets in context; credentials in the tool runtime; prompts treated as public | Red-team prompts in the regression set |
| 8 | Response discloses more than the user may see | Minimum context per step; output filters for identifiers | Sampled output review |
| 9 | Personal information persists in training data | Minimise and de-identify before tuning; record lawful basis | Training-set register and review |
| 10 | Data sent out through a rendered link or image | Allow list for rendered domains; sanitise output | Outbound request monitoring from the client |
| 11 | Data sent to the wrong place by a tool | Least-privilege connectors; recipient allow lists; approval for outbound sends | Tool-call audit and anomaly alerts |
| 12 | One user's details appear in another session | Memory scoped by user and tenant; write rules; expiry | Cross-tenant test cases; memory audits |
Respond and account
| # | Response action | Accountable owner | Evidence retained | Residual risk |
|---|---|---|---|---|
| 1 | Contain, assess, notify if required | Information officer with business unit head | DLP event and assessment | Paste into approved tool beyond its purpose |
| 2 | Block, offer sanctioned route, assess exposure | CISO | Discovery record and decision | Personal devices outside management |
| 3 | Invoke contract terms; request deletion | Procurement with information officer | Terms register and correspondence | Provider-side retention you cannot inspect |
| 4 | Disable source in index; review access | Data owner for the source | Test results and index configuration | Permission drift between source and index |
| 5 | Rotate access; rebuild index if required | Platform owner | Access logs | Inversion techniques improve |
| 6 | Purge, restrict access, review purpose | System owner | Retention schedule and purge records | Copies in exports and tickets |
| 7 | Rotate secrets; revise context design | Application owner | Red-team results | New extraction techniques |
| 8 | Correct and notify affected users | Business process owner | Sample review records | Rare combinations of context |
| 9 | Retrain or retire the model | Model owner | Training-set register | Memorised content in deployed model |
| 10 | Patch rendering; review outbound logs | Application owner | Client and proxy logs | Injection through new content types |
| 11 | Revoke connector; reconcile actions | Business process owner | Tool-call audit | Approved recipient misuses data |
| 12 | Disable memory feature; purge affected entries | Product owner | Memory audit | Inferences derived from memory |
Three cautions apply across the map. A framework label, such as an OWASP identifier on a risk register, is not evidence that a control exists; the evidence column is. Encryption protects data from people without access to the keys. It does nothing when the system decrypts the data for someone who should not see it, so it does not fix an authorisation or tenant-isolation failure. And over-logging is the most common way to create a new sensitive data store by accident. Every debugging convenience on surface 6 is a retention decision.
Where the controls sit
The map connects back to the boundaries in Part 1. The AI gateway is the right place for surface 3 controls, such as routing classes of data only to approved endpoints, and for some output filtering. The harness from Part 2 owns surfaces 7, 11 and 12: what enters context, which tools run with which credentials, and what memory may be written. Retrieval, covered in Part 4, owns surfaces 4 and 5. The application and its data owners own everything about purpose and entitlement. No single product covers the map.
The South African frame
The Protection of Personal Information Act (POPIA) does not mention AI, but several of its sections bear directly on this map. As general information, not legal advice:
- Section 19 requires a responsible party to secure the integrity and confidentiality of personal information with appropriate, reasonable technical and organisational measures, to identify foreseeable risks and to verify safeguards regularly. A leak map is one way to show that risks were identified.
- Sections 20 and 21 deal with operators, who process personal information for a responsible party. They must do so only with authorisation, keep it confidential, maintain security measures under a written contract and notify the responsible party of a suspected compromise. Whether a given AI provider is an operator for your processing is a question for your legal adviser.
- Section 14 limits how long records may be kept, which applies to prompt logs, traces, evaluation sets and vector stores (surfaces 5, 6 and 12).
- Section 72 restricts transfers of personal information outside South Africa unless conditions are met, such as adequate legal protection in the recipient country, binding agreements or consent. Model endpoints in other countries make this a design question, not only a contract question.
- Section 22 requires notification of the Information Regulator and affected data subjects as soon as reasonably possible after a security compromise. The Regulator announced that from 1 April 2025, reporting through its eServices portal is mandatory.
When we checked on 18 November 2026, we found no dedicated guidance from the Information Regulator on generative AI. That makes your own documented reasoning more important, not less. CloudNala's articles on lawful basis as a design input and retention as a deletion pipeline cover the programme side.
Provider terms change, so treat them as a register to maintain. As examples checked on 18 November 2026: OpenAI states that API data is not used for training unless the customer opts in, and that abuse-monitoring logs are kept for up to 30 days by default. Anthropic states that API inputs and outputs are deleted from its back end within 30 days, with exceptions including zero-retention agreements and content flagged under its usage policy. Microsoft's data privacy page for Foundry Models says that the option to turn off abuse-monitoring storage will not be available for models released from 1 November 2026, from a date it will announce. Read the current terms for the exact product and contract you use.
Run the map as a workshop
The map is most useful as a two-hour workshop with the information officer, security, the platform owner and the business process owner for one AI use case:
- Trace one real request end to end, and mark every place data is stored, copied, sent or rendered.
- For each of the twelve surfaces, decide whether it applies. Most use cases touch eight or more.
- Fill in both tables for the surfaces that apply, with named owners.
- Mark each control as designed, implemented or tested. Only "tested" counts as evidence.
- Agree the residual risk with the person who has authority to accept it, and record that acceptance.
Repeat it when the use case gains a new tool, data source or memory feature.
Next: Part 7, When the model or the cloud goes quiet. Previous: Part 5, AgentOps: operating AI that can take action. All parts are on the series page.
How CloudNala can help
CloudNala runs leak-surface workshops for AI use cases before they go live and for those already in production. We trace real requests through your stores, logs, providers and connectors, complete the control map with named owners, test the controls that matter most, including permission filtering, log redaction, output rendering and memory isolation, and give your information officer a record of identified risks and accepted residual risk. Legal interpretation stays with your legal adviser; we make sure they are working from an accurate picture of the system.
Work with CloudNala
CloudNala helps organisations move from technology ambition to practical execution across cloud, AI, data, platform engineering and digital services.
Whether you are exploring AI, modernising your cloud environment, building a public-sector digital service, or turning an idea into a working MVP, we can help you shape the roadmap and deliver the next step.
Book an AI Data Leak Workshop or write to us at consult@cloudnala.co.za
