Sub topic 1
What counts as customer data
Prerequisites
This chapter assumes three things:
- You have used an AI chat assistant or coding assistant.
- You know roughly what customer records look like where you work.
- You have read your employer's security or acceptable-use policy, or know where to find it.
No legal knowledge is needed. Later chapters cover the law and the tools in detail.
Why the definition matters
Most leaks through AI tools are accidents. A person pastes a support ticket, a spreadsheet, or a log file into a chat window and does not realize the text identifies a customer. The first protection is a working definition of customer data that is wider than "names and credit card numbers".
Customer data is any information that relates to a customer, or that you hold because of your relationship with them. It does not have to be labeled "confidential" and it does not have to come from a database.
The main categories
| Category | Examples | Why it is easy to miss |
|---|---|---|
| Direct identifiers | Name, email, phone number, postal address, account number | Obvious in a form, but easy to overlook in free text |
| Indirect identifiers | Job title plus company, IP address, device ID, order number, a rare combination of details | No single field names the person, but together they point to one |
| Financial data | Card numbers, bank details, invoices, payment history | Appears in screenshots and exported reports |
| Sensitive personal data | Health information, government IDs, biometric data, precise location | Often carries stricter legal rules |
| Account and security data | Passwords, API keys, session tokens, support access codes | Pasted along with error messages and config files |
| Behavioral and usage data | Purchase history, browsing logs, product usage, support conversations | Feels anonymous, but is tied to an account |
| Business data about the customer | Contracts, pricing, internal notes, renewal dates, the fact that they are a customer | Confidential even when no person is named |
The last row matters for business customers. A contract with a company contains no personal data, but you may still owe that company confidentiality.
Data hides in ordinary work material
Customer data often sits inside things that do not look like customer records:
- Support tickets and chat transcripts, where customers volunteer details nobody asked for.
- Log files and stack traces, which can contain emails, tokens, and request bodies.
- Meeting notes and call recordings.
- Screenshots, where names appear in a corner or a browser tab.
- Code and test fixtures that were copied from production.
- Document metadata, such as author names and comments.
Identifiability is the test
A useful question is: could this information, alone or combined with other information, point to a specific person or company? If yes, treat it as customer data.
Removing a name does not always remove the risk. Consider this text:
The CFO of the only dental chain in Leeds asked for a refund on order 88213.It contains no name, yet one person fits the description, and the order number links to an account. Re-identification through combined details is the most common reason "anonymized" text is still customer data.
Quick self-check
Before you paste anything, ask:
- Does it name a person or company, directly or by description?
- Does it include an identifier such as an ID, email, IP address, or order number?
- Does it include credentials or tokens?
- Did it come from a customer-facing system, such as a CRM, helpdesk, or production log?
A "yes" to any of these means the text needs the handling rules covered in the chapters on classification and minimization.
Exercise
A colleague wants to paste this into an AI assistant to get a summary: "Priya from Northwind Traders called about invoice 5521. She said the payment failed twice and her card ending 4417 was charged. Please call her back on 0161 496 0000." List the types of customer data it contains.
Show answer
It contains a direct identifier (the name Priya), a business customer (Northwind Traders), an indirect identifier (invoice 5521), financial data (the payment history and the card ending 4417), and a direct identifier in the phone number. The company relationship is also confidential business data. The text should not be pasted as written.
Exercise
A developer pastes a stack trace with no names in it. Give two ways it could still contain customer data.
Show answer
The trace may include request details such as an email address or user ID, and it may include an authentication token or API key in a header or URL. It may also include file paths or query strings that identify a customer account.