A common pattern for using external AI models with sensitive material is to replace identifying values, such as names, account numbers and addresses, with placeholder tokens before the text leaves the organisation, and to swap the real values back into the answer when it returns. The model sees “CLIENT_17 transferred AMOUNT_3 to ACCOUNT_9” rather than the real details.
It is a sensible technique. It is also routinely described in a way that overstates what it does. The result is not anonymous data, and treating it as if it were can lead to the wrong conclusions about contracts, transfers and risk.
What the data protection authorities explain
The Irish Data Protection Commission’s explanation of anonymisation and pseudonymisation distinguishes replacement identifiers from information in which people are no longer identifiable. Removing a name does not settle the question: other facts may still single a person out.
The European Commission’s explanation of personal data confirms that information which can be used to re-identify someone remains personal data after pseudonymisation. Fully anonymised information is treated differently. A label on a transformed prompt cannot establish which description applies.
Tokenisation with a mapping kept on the device is a reversible transformation. Whoever holds the mapping can restore the corresponding values by design. That is why replacing identifiers should not be described as making the material anonymous.
Assess the actual information and its context with qualified advisers. This article does not determine whether a particular recipient could identify someone, or settle the legal consequences of a particular transfer.
What tokenisation genuinely achieves
Being clear about the limits is not an argument against the technique. Recital 28 of the Regulation notes that pseudonymisation “can reduce the risks to the data subjects concerned” and help controllers and processors meet their obligations. In practice, tokenising a prompt before it leaves the device can:
- keep direct identifiers out of a model provider’s logs, caches and support tooling;
- reduce the harm if an outgoing request or response is exposed;
- make it harder to link one request to another about the same person, if tokens are not reused across contexts;
- keep the ability to re-identify under the organisation’s control, on its own device, rather than with a third party.
What it does not achieve
The limits are just as practical.
- Context still identifies. “The newly appointed head of compliance at a small regional lender” needs no name. Tokenising named entities does nothing about identifying descriptions, rare combinations of facts or free-text detail.
- Detection is imperfect. Automated detection of sensitive values misses some and wrongly flags others. No system detects every confidential concept, and a product that claims to should be treated with caution.
- Confidential is broader than personal. Deal terms, trading strategies and draft regulatory findings can be highly sensitive without identifying anyone. Personal-data techniques do not address them on their own.
- The obligations remain. Because pseudonymised data remain personal data, questions about lawful basis, processor terms, transfers and retention still have to be answered for the provider receiving them.
Where the mapping lives matters
The protection that tokenisation offers depends almost entirely on the mapping between tokens and real values. If the mapping is sent to the same provider, or stored centrally next to usage logs, the separation that the definition requires is thin. If it stays on the device, protected by the operating system and deleted according to a defined retention policy, the separation is real.
Our vision for Synainesi puts that separation on the device. The intended flow will replace sensitive values locally, assemble and rescan the outgoing payload, and keep re-identification mappings local and protected. We describe this intended technique as pseudonymisation, not anonymisation. The central governance service is designed not to receive protected values or mappings at all.
How to describe masking honestly
For compliance teams writing policies, answering client questionnaires or briefing supervisors, precise language is the safest language.
- Say “identifiers are replaced with reversible tokens before leaving the device”, not “data is anonymised”.
- Say where the mapping is held, who can access it and when it is deleted.
- State what is not covered: indirect identification, free text and non-personal confidential information.
- Treat the provider as receiving personal data unless qualified advice concludes otherwise for your specific situation.
Tokenisation is a good control. It becomes a liability only when it is described as something it is not.
Related: the principles behind Synainesi, and what an AI control should record.
Put the ideas to work
Use these ungated tools without any particular product: Prompt pseudonymisation examples and checklist. Explore all AI governance resources.
Insights are general commentary on governing AI. They are not legal, regulatory, tax or security advice.
