Personally identifiable information (PII) gets into LLM workflows through four doors: what people type, what the system retrieves, what the model writes back, and what gets logged. Control comes from deciding which data an AI system may read in the first place, not from asking staff to be careful. For a B2B SaaS company, that means one agreed version of CRM and finance data, a clear owner for AI, and agents that act within permissions and leave an audit trail. This is the order we build in at NordOps Consulting: data foundation first, then the AI layer, then department agents.
TL;DR
- PII is any data that identifies a person alone or in combination with other data. In LLM use it enters through prompts, retrieved context, outputs and logs.
- Models can memorize and reproduce personal data, and they can infer it. Published research has extracted real PII from model outputs.
- The EDPB’s 2025 guidance recommends input restrictions plus automated detection before data is processed or logged.
- Tooling alone does not fix this. Someone has to own AI, decide which data it may read, and define where AI does not belong.
- GDPR, NIS2 and the EU AI Act are design requirements, not a final review step. Nothing here is legal advice.
Table of Contents
- What counts as PII in an LLM workflow
- How an LLM can expose or infer personal data
- What this means for a SaaS company
- Safeguards that hold up
- Choosing and checking an LLM provider
- What changed in EU rules and what to do about it
- The order of work: data, AI layer, agents
- Perspective
- Where to start
- FAQ
- Sources
What counts as PII in an LLM workflow
PII is data that identifies a specific person on its own or in combination with other data. The usual examples are names, email addresses, phone numbers, home addresses, government ID numbers, card or account numbers and dates of birth, as one LLMOps guide lists them. In a SaaS company, add things your teams handle daily: customer contact records in the CRM, invoice details, support tickets that quote users, and usage data tied to a named account.
The Council of Europe’s draft guidelines on privacy and data protection make a point that matters for operations. Whether information is personal data has to be assessed across the whole lifecycle: training data, prompts and outputs, inferred data, retrieved context, memory, tool parameters and operational records. Labels such as “synthetic”, “de-identified” or “internal” do not settle the question on their own.
The four entry points
- User input. A sales rep pastes a customer thread into a chat assistant to draft a reply. A finance analyst uploads a debtor list to summarize it.
- Retrieved context. The assistant pulls CRM notes, contracts or tickets to answer a question. Whatever is in those records can reach the model.
- Model output. The model can repeat personal data it was given, or invent plausible-looking identifiers that still point at a real person.
- Logs and telemetry. Prompts and responses are often stored for debugging, monitoring or provider-side review. PII ends up in those stores without anyone choosing it.
Most incidents in growing companies come from the first and fourth doors, because they depend on individual habits and default settings. That is the problem of AI being used while nobody owns it.
How an LLM can expose or infer personal data
There are three separate mechanisms, and they call for different controls.
Memorization and extraction. A 2025 IJCAI systematic survey of PII leakage reviews experiments where adversarial prompts made models reproduce training text. In one study cited there, researchers extracted 78 PII samples from 1,800 candidate outputs. In another, a divergence attack put memorized PII in 16.9% of 15,000 responses, and 85.8% of that PII was authentic. The survey also notes that fine-tuning or user prompts can expose PII, and that fine-tuning can weaken a model’s security mechanisms.
Association and inference. The same survey describes two capabilities behind leakage: memorization, where a model outputs PII given training-data context, and association, where it infers PII from little more than a name. Removing explicit identifiers does not fully remove this risk. Singapore’s Responsible AI Playbook points out that attribute-inference attacks can reveal hidden attributes, such as medical status, even when explicit identifiers have been scrubbed.
Context leakage in deployments. A 2026 Springer paper on systemic privacy risks describes multi-tenant “context leakage”, where one user’s session data mixes with another’s. It also notes that the literature often conflates verbatim memorization, semantic memorization, extractability and exposure, and has no standard way of reporting them. For a buyer, the practical reading is simple: vendor claims about “no leakage” need to be read against the architecture and the contract, not a headline.
The Council of Europe’s paper by Isabel Barberá and Murielle Popa-Fabre reports that LLMs memorize personal data such as names, phone numbers, email addresses and email signatures, and that memorized data can be extracted.
What this means for a SaaS company
A SaaS company is usually a controller of its customers’ contact data and, often, a processor of its customers’ end-user data. Both roles carry duties once that data touches an AI system.
An Australian regulator, the OAIC, says privacy obligations apply to personal information entered into AI tools and to output that contains it. It recommends not entering personal information, particularly sensitive information, into publicly available generative AI tools. That is Australian law, but it is a useful statement of the same instinct European regulators share.
In the EU, the deployer, meaning the company using an AI system, generally remains a GDPR controller for personal data it processes through that system. The role of the model provider depends on the contract and the actual data flows. A legal analysis of deployer obligations notes that a provider that independently decides to use personal data, including for training, cannot be a processor for that processing. This is general information, not legal advice. Your counsel or data protection officer should confirm your own position.
The Council of Europe’s paper by Franceschelli adds system-level risks beyond the model: persistent profiling through memory features, cross-context data leakage and secondary uses without adequate consent. These appear when you wire an assistant into CRM, billing and support, which is exactly where SaaS teams are heading.
Safeguards that hold up
The EDPB’s April 2025 report on AI privacy risks in LLMs recommends clear user guidance and input restrictions, such as filters or warnings that discourage entering personal data, plus automated detection that flags or anonymizes sensitive information before it is processed or logged. The OWASP entry on sensitive information disclosure adds data sanitization, terms of use that explain processing and training opt-outs, and least-privilege rules for fine-tuning data. It also warns that restrictions written into a system prompt can be bypassed by prompt injection.
That last point shapes the whole design. A prompt that says “never reveal customer emails” is a request, not a control. Controls belong in the data and permission layers underneath the model.
A practical control stack
| Layer | Control | What it prevents |
|---|---|---|
| Data | One agreed version of CRM and finance data; fields classed by sensitivity | Assistants reading duplicate, stale or unrelated personal data |
| Access | Role-based permissions the agent inherits from the user | An agent returning records the person asking could not open themselves |
| Input | Filters and warnings, automated detection before processing | PII pasted into prompts and stored in logs |
| Output | Review or approval for actions that change records | Wrong or invented personal data written into systems |
| Audit | A log of who asked, what was read and what changed | Not being able to answer a regulator or a customer |
| Hosting | Build and testing on infrastructure whose location you know | Unclear cross-border transfers during pilots |
Singapore’s playbook frames privacy as a dynamic property rather than a checkbox, and notes that well-intentioned users still add PII to prompts that get logged or used for training. It asks for evaluation at three layers: data, model and application. A structured AI model risk management process can help you document those layers in a way an auditor can follow.
Apply data minimization
The principle is the same across privacy regimes: an assistant should see only what the task needs. In US health privacy practice this is called the minimum necessary standard. In GDPR it is data minimization. For an AI agent, it means a renewal-forecast question should read contract value, term and usage, not the contact’s personal notes.
Where AI does not belong
Being explicit about exclusions removes more risk than any filter. Keep AI out of these places unless you have a clear lawful basis, a reviewed design and a named owner:
- Free-text fields full of personal remarks, such as old CRM notes nobody has cleaned. Clean the source first.
- Decisions about individuals, such as hiring, firing, credit or access to a service, where an automated judgment affects a person. The EU AI Act treats several employment uses as high-risk.
- Special categories of data such as health information, unless the design has been reviewed with your data protection officer.
- Public consumer chat tools for any record that names a customer or employee.
- Autonomous writes to financial records without approval and a log.
These are design choices, and they are cheaper to make before an agent is built than after.
Choosing and checking an LLM provider
The deployer’s GDPR documentation should show how the model processes input, what outputs it produces, what data is retained, where and for how long, which subprocessors are involved, and what cross-border transfers occur and on what basis. The same analysis says roles must be read from the contract, system architecture and data flows, not from marketing pages.
For processor terms, a guide on GDPR and generative AI lists what a generative AI provider acting as processor should commit to: confidentiality, appropriate technical and organizational measures, deletion or return of personal data when the service ends, and support for data subject rights.
If transfers outside the EU are involved, a transfer impact assessment is the document that records the risk and the basis. Your counsel should own that call.
What changed in EU rules and what to do about it
Three pieces matter for a European SaaS company.
- GDPR still governs any personal data in prompts, context, outputs and logs. The EDPB’s Opinion 28/2024 of 17 December 2024 addresses when an AI model can be considered anonymous and when a provider may rely on legitimate interest, according to the deployer-liability analysis.
- The EU AI Act adds duties for providers of general-purpose models and for deployers. For high-risk systems, deployers must keep the logs they control for a period appropriate to the purpose and at least six months, unless Union data protection law says otherwise, as the JuLIA handbook explains. Whether your use is high-risk is a question to settle with counsel.
- NIS2 concerns the security of network and information systems for entities in scope. It matters here because an AI agent that can read and write business systems is part of that security surface.
None of these is satisfied by buying a tool, and no design guarantees compliance. They are easier to meet when logging, permissions and data location were decided at the start. Our overview of GDPR and AI goes through what applies, and our AI governance framework covers the ownership model.
The order of work: data, AI layer, agents
PII control is mostly a data problem, so the work follows that order.
- Data foundation. The CRM, the systems around it and the Processor, which turns the data into one agreed version of the truth. Before any assistant reads anything, you know which fields exist, which are personal and which system is authoritative.
- AI layer. MCP connects that data to the AI assistant your company already uses, so the assistant reads governed data instead of whatever someone pastes in.
- Department agents. Purpose-built agents for Finance, Sales and Customer Success let people ask, report and look up, and also update records, trigger processes and provision access, within permissions, with approval where needed and an audit trail.
AI is adopted one process at a time, starting with the most expensive one. That keeps the personal data in scope small and reviewable at each step. You can see how this works in practice on our page on AI agents for Finance, Sales and Customer Success, and our AI adoption method describes the sequence.
Build, pilot and testing run on self-hosted European infrastructure in Germany, and GDPR, NIS2 and the EU AI Act are treated as design requirements from the start. The code, documentation and infrastructure transfer to you, on terms set in each contract.
Perspective
Most of the PII exposure we see described in AI projects traces back to one gap: AI is in use, and nobody owns it. Staff choose their own tools, paste in what they need, and the company finds out afterward what was shared.
Our view is that ownership comes before tooling. One named person decides where AI pays and where it does not belong. The same person makes sure the CRM and finance data is the source of truth that AI reads, so the question “which data may this agent see?” has an answer written down. That is why a Fractional Chief AI Officer who also builds the system matters: strategy and the working system do not drift apart.
We also build in the order the risk runs. Data foundation first, then the AI layer, then department agents. Permissions, approvals and an audit trail are part of the design, because a prompt instruction is not a control. We do not present any of this as a guarantee of compliance. It makes compliance work easier to evidence.
Claus Nielsen
Where to start
The first useful step is a map: which AI tools your teams use, which data they touch and which process costs the most today. Our AI Readiness Assessment is built for that, from €4,500 one-off. For a lighter first look, the AI Snapshot is €2,500-3,500 one-off. Both start with a free 30-minute discovery call.
Where AI already runs without an owner, the Fractional Chief AI Officer retainer puts one named person in charge, from €1,500 a month (Advisor), from €3,250 (Operating) or from €5,500 (Embedded). Builds are priced either as 30% of the first-year saving, once measured and proven, or at a fixed price agreed before work starts.
If you want to talk through your data and AI use first, you can reach us through NordOps Consulting.
FAQ
Can an LLM really reveal personal data it was trained on?
Researchers have shown that it can. The IJCAI survey cites experiments in which adversarial prompts extracted authentic PII from model outputs. The risk is not the same for every model or setting, which is why controls on what data reaches a model matter.
Is redacting PII before a prompt enough?
Redaction is a useful layer, and the EDPB recommends automated detection before data is processed or logged. It works best alongside governed source data and permissions. Singapore’s playbook notes that attribute inference can reveal hidden details even after explicit identifiers are scrubbed.
Does using a European-hosted setup remove GDPR duties?
No. Location helps with questions about transfers and subprocessors, but the deployer is still a controller for personal data it processes through the system. Lawful basis, minimization, retention and data subject rights still need to be handled.
Who inside a 20 to 200 person SaaS company should own this?
Someone with authority across CRM, finance and product, because the data crosses those lines. In smaller companies that is often the founder or COO, supported by a fractional AI lead and your data protection contact.
Sources
- Detecting and Redacting PII, Build with AI Today
- Council of Europe draft guidelines T-PD-2025-5 rev5
- Understanding PII Leakage in Large Language Models, IJCAI 2025
- Singapore Responsible AI Playbook: Privacy and PII
- Systemic privacy risks of personal data exposure, Springer
- Privacy and Data Protection Risks in LLMs, Barberá and Popa-Fabre
- OAIC guidance on commercially available AI products
- Deployer Liability for Third-Party AI, Mandos Legal
- Privacy and Data Protection Risks in LLMs, Franceschelli
- EDPB: AI privacy risks and mitigations in LLMs
- OWASP LLM06: Sensitive Information Disclosure
- GDPR and Generative AI guide for the public sector
- JuLIA handbook: Artificial Intelligence and Data Protection