Data Protection in Daily Engineering Work
Personal data reaches AI systems through three doors: prompts, logs and training sets. A manager who writes down which data classes may pass each door, and which changes force a privacy assessment before work starts, turns the GDPR and US privacy rules into a one-page team standard. An Italian fine against OpenAI, later annulled on a question of jurisdiction, shows what regulators ask about and what that annulment did not settle.
After this chapter you can
- Write a one-page rule saying which of five data classes may enter prompts, logs and training sets.
- Sample 200 real inputs and count how many hold personal or confidential data before setting any rule.
- Identify the six changes that trigger a privacy assessment before building, and ask the privacy office to run it.
- Set a release bar for a masking tool, retest after fixes and list known gaps in the release notes.
- State what the Italian fine against OpenAI and its annulment do and do not show about training data.
In December 2024 the Italian data protection authority, the Garante, announced a fine of 15 million euros against OpenAI over ChatGPT. As reported, the authority cited a data breach that had not been notified, no identified lawful basis for using personal data to train the model, inadequate information to users, and no age verification1. Every item on that list touches an engineering team’s daily decisions as well as a legal department’s: what data goes into a model, whether a breach is noticed and reported, what users are told, who can use the system.
Your engineers face the same questions on a smaller scale each week. Someone pastes a stack trace with a customer email into an assistant. A feature logs every prompt. A fine-tuning set is built from support tickets. This chapter gives you a one-page standard to answer the audience question: what can the team put into AI tools and features, and what is off limits? The facts below are as of October 2026; they are general information, not legal advice, so confirm with counsel how they apply to your product.
Here you set the rules at the points where an engineer decides.
Three doors, one rule each
Data reaches an AI system through three doors, and a rule for one door says nothing about the others.
Prompts carry whatever the user or the code sends to a model at question time. Logs and traces record what went in and what came out, often for debugging, and they last longer than the request. Training and retrieval sets are collections the team prepares: fine-tuning examples, evaluation cases and the documents behind a retrieval index. A team that cleaned its prompts but keeps raw prompts in a log for a year has closed only one of the three doors.
The question for each door is the same: which classes of data may pass, in what form, for how long, and under which contract with the vendor.
Five classes of data
Teams argue less when data has a short list of classes with plain names. The following five are a starting point; adapt them to your company’s own classification.
- Public: already published; no restriction beyond licensing.
- Internal: business information that is not secret but not public, such as design notes without customer details.
- Confidential: customer contracts, unreleased products, credentials and source code the company treats as secret.
- Personal: anything relating to an identifiable person, directly or through an identifier such as an online ID. The GDPR defines it that broadly (Art. 4(1))2.
- Special-category: health data, biometric data used to identify someone, and data revealing ethnicity and similar characteristics, which the GDPR prohibits processing unless a specific exception applies (Art. 9).
Secrets, meaning keys, tokens and passwords, deserve a separate line: they are off limits for every door and are handled by a secrets scanner, not by judgment.
The table is the deliverable. Put it where engineers work, in the repository or the design template, and keep it to a page. Two entries cause most arguments. “Mask before sending” needs a named tool and a measured miss rate, as the worked example shows. “Approved tool only” means the tool runs under a contract, not that it appears on an internal list.
What the law adds
Most of the table is judgment, but some cells carry legal weight. The GDPR is the main European anchor, and the points that reach engineering are these:
The European Data Protection Board’s Opinion 28/2024 adds two points for model builders. Legitimate interest cannot be assumed as the lawful basis for training and using AI models; it must pass a three-step balancing test. And whether a model trained on personal data counts as anonymous is a case-by-case question, not a presumption3.
In the United States there is no single privacy statute. California’s CCPA regulations require a documented risk assessment for new high-risk processing from 1 January 2026, and about twenty states have their own privacy laws4. Sector rules, for example for health data, add more. For the daily standard, the practical reading is simple: apply the strictest rule that governs your users, and let counsel say which that is.
Your team may also be a processor for someone else. If the product sells to businesses and handles their customers’ data, your customer usually decides the purpose and you process under their contract (whether you are a processor or a controller depends on the facts; ask counsel), so your own prompt rules must fit the terms you signed.
When a change should trigger a privacy assessment
A privacy or impact assessment is cheapest before the design is fixed. The rule that works is a short list of triggers, applied at design review and again when something changes. The following six are an illustrative starting set; your privacy office may add to them.
Your inventory entry for the feature is the control point: any trigger updates it, and an update to the entry without a matching assessment is a gap to chase.
Case: the Garante’s fine, and what the annulment left open
The fine against OpenAI makes a good checklist and a poor precedent, and a manager should hold both thoughts.
The authority’s decision, taken in November 2024 and announced the following month, listed the problems above: a breach not notified under Article 33, no identified lawful basis for training under Articles 5 and 6, inadequate information under Articles 12 and 13, and missing age verification under Articles 24 and 251.
The decision was dated 2 November 2024 and covered a further order for an information campaign that this chapter leaves aside. Then, as reported by PPC Land, the Court of Rome annulled the fine in full on 18 March 2026 (the reasoning was published on 28 May 2026). It held that the Garante had lost competence once OpenAI’s Irish entity was recognized by the Irish Data Protection Commission as its main establishment on 15 February 2024, which under the GDPR’s one-stop-shop rule made the Irish authority the lead one. The court did not reach the substantive allegations1.
Two readings are wrong. One is that the fine proves OpenAI broke the law; no court decided that. The other is that the annulment shows AI training is permitted; the court said nothing about it. What the episode supports, within its scope, is smaller and more useful. It shows the questions an authority asks of an AI service, and that the question of which authority decides depends on where the company is established. For your team, the questions stay on the checklist: do you have a lawful basis for each door, would you notice and report a breach within 72 hours, and what do users see about how their data is used?
A team-sized worked example
The scenario below is constructed and its figures are invented, so you can follow the method. A nine-person team plans a feature that summarizes support tickets for agents, using a hosted model. About 40,000 tickets arrive each month. Before writing code, the manager asks for a sample.
The sample. The team reads 200 recent tickets. Thirty-eight contain personal data (19 percent), and six of those 38 also mention a health condition (3 percent of the 200). If the sample is representative, around 7,600 tickets a month carry personal data (40,000 times 0.19). With 200 tickets the 95 percent Wilson interval on 19 percent runs from about 14 to 25 percent, so roughly 5,700 to 10,000 tickets a month, and the manager plans for the upper end.
The rules. Applying the table: personal data is masked before sending and in logs, with 30-day retention. Tickets that mention health details are filtered out of the feature entirely and handled by a person. Because special-category data appears in the inputs, the trigger list calls for a privacy assessment before launch.
The masker’s test. The team sets a release bar of 95 percent of personal-data tickets fully masked on a test sample. On the original 38, the masker handles 36 completely, which is 94.7 percent and just short. The team fixes two patterns (email addresses inside quoted text and phone numbers with spaces) and retests on a fresh set of 200 tickets in which 41 contain personal data. It masks 40 completely: 97.6 percent, above the bar. The one miss goes into the known-gaps list in the release notes. Neither test is large: on 41 cases the same Wilson interval runs from about 87 to 99.6 percent, so the pass shows the fixes helped, not that the true miss rate is below 5 percent. The manager schedules a larger retest after launch.
The manager also records three decisions: the provider’s contract must be an approved processor agreement with no use of inputs for training, which the security team confirms; the log retention is 30 days, with a named engineer who can purge a customer’s records on request; and the breach runbook adds this feature to the list of systems whose incident clock starts at discovery.
Reusable one-page standard
The Monday action: you, the manager, pull a sample of 200 real inputs your feature or your engineers send to AI tools, and count how many hold personal or confidential data. You cannot set a rule from a feeling.
Check yourself
- If a tool is on the company’s approved list, any data may be sent to it.
- Logs of prompts count as processing of personal data when the prompts contain it.
- The Court of Rome’s annulment of the Garante’s fine means a court found OpenAI’s training lawful.
- A personal data breach must be notified to the supervisory authority within 72 hours.
- Adding a new model provider to an existing feature needs no privacy review if the data is unchanged.
- A masking tool should be released only after a measured miss rate on a test sample.
Reflection
What comes next
Data rules decide what goes in. The next chapter, Approval Gates and Evidence Packs for Your Releases, covers what evidence the team brings to the gate that lets a release go out.
Laws referenced
Not legal advice. Laws change; verify before relying on this, and consult counsel for decisions.
General Data Protection Regulation · EU
Regulation (EU) 2016/679
Personal data is any information relating to an identified or identifiable person, directly or indirectly, including by an identifier such as an online ID (Art. 4(1)). Lawful basis and purpose limitation (Arts. 5-6); processing special-category data, including biometric data used to identify a person, health data and data revealing ethnicity, is prohibited unless a specific exception applies (Art. 9); data protection by design and by default (Art. 25); processors such as AI vendors may act only under a written contract with required terms and sufficient guarantees (Art. 28); transparency to data subjects (Arts. 13-14); right not to be subject to a decision based solely on automated processing with legal or similarly significant effects (Art. 22); breach notification to the supervisory authority within 72 hours (Art. 33) and to individuals without undue delay when the risk is high (Art. 34); data protection impact assessment for high-risk processing (Art. 35). Fines up to EUR 20 million or 4% of global turnover.
- 2018-05-25 — Applies
Last verified 2026-10-08 · official text
California privacy rules on automated decisions (CCPA regulations) · US - California
California Consumer Privacy Act; CPPA regulations on ADMT, risk assessments and cybersecurity audits (approved by OAL Sept 2025)
The most concrete US privacy rule on AI. Businesses that use automated decision-making technology to make a significant decision about a California resident (finance or lending, housing, education, employment or pay, healthcare) must give notice before use, offer an opt-out unless an exception applies, and answer access requests. Processing that poses significant privacy risk needs a documented risk assessment. There is no comprehensive federal privacy statute; about 20 states have their own laws, and California's is the reference point.
- 2026-01-01 — Updated CCPA regulations take effect; risk-assessment duty applies to new high-risk processing
- 2027-01-01 — ADMT duties for significant decisions: pre-use notice, opt-out (with exceptions) and access (some firm alerts cite enforcement from 1 Apr 2027)
- 2028-04-01 — Attestation of 2026-2027 risk assessments due to the CPPA; cybersecurity audits phase in 2028-2030 by revenue
Last verified 2026-10-06
EU AI Act · EU
Regulation (EU) 2024/1689, as amended by Regulation (EU) 2026/1744
Risk-based rules. Prohibited practices include social scoring, untargeted scraping of facial images, and emotion recognition in workplaces and schools (with narrow exceptions). High-risk systems (Annex III: biometrics, safety components of critical infrastructure such as energy, water and traffic, employment and worker management, credit, education, essential services, law enforcement, migration, justice) need risk management, data governance, documentation, logging, human oversight, human oversight that keeps people able to understand the system, notice automation bias (over-reliance on its output), override it or stop it (Art. 14(4)), appropriate accuracy, robustness and cybersecurity (Art. 15), automatic logging of events (Art. 12), a provider quality-management system (Art. 17) and conformity assessment. An Annex III system is not high-risk if it poses no significant risk of harm, for example a narrow procedural or preparatory task that does not replace human assessment; systems that profile people are always high-risk, and a provider relying on this exception must document it and register (Art. 6(3)). Deployers of high-risk AI must use it as instructed, assign competent human oversight, monitor its operation, keep logs for at least six months and report serious incidents (Art. 26); employers must inform workers' representatives (Art. 26(7)). Public bodies, private providers of public services, and deployers of credit-scoring or life and health insurance pricing systems must carry out a fundamental-rights impact assessment before first use (Art. 27). Providers must run post-market monitoring (Art. 72). A deployer that puts its name on a high-risk system, substantially modifies it, or changes its purpose so that it becomes high-risk takes on the provider's obligations (Art. 25(1)). A substantial modification (Art. 3(23)) of a high-risk system needs a new conformity assessment, unless the change was pre-determined and documented at the first assessment, as with planned continuous learning (Art. 43(4)). Providers of general-purpose AI models (from 2 Aug 2025) must keep technical documentation, have a policy to comply with EU copyright law including text-and-data-mining opt-outs, and publish a sufficiently detailed summary of training content (Art. 53). Research, testing and development before a system is placed on the market or put into service is outside the Act, except testing in real-world conditions (Art. 2(8)). Since the 2026 Omnibus, the Art. 4 AI-literacy duty is an obligation of effort (take measures to support literacy), not of result. Fines reach EUR 35 million or 7% of global turnover for prohibited practices.
- 2024-08-01 — Entered into force
- 2025-02-02 — Prohibited practices (Art. 5) and the AI-literacy duty (Art. 4) apply
- 2026-07-27 — Omnibus softens Art. 4: providers and deployers must take measures to support AI literacy; no specific level must be guaranteed
- 2025-08-02 — General-purpose AI model obligations apply; governance and penalties regime in place
- 2026-08-02 — Transparency duties (Art. 50) apply: disclose AI interaction, label synthetic and deepfake content (marking for generative systems already on the market: 2 Dec 2026)
- 2027-12-02 — High-risk obligations for Annex III systems (e.g. hiring, credit, education, essential services) - moved from 2 Aug 2026 by the 2026 Omnibus
- 2028-08-02 — High-risk obligations for AI in products regulated under Annex I
Last verified 2026-10-06 · official text
References
- PPC Land. How Europe's AI privacy rules are being gamed: the OpenAI ruling explains it all. PPC Land. 2026.
- European Parliament and Council of the European Union. Regulation (EU) 2016/679 (General Data Protection Regulation). Official Journal of the European Union. 2016.
- European Data Protection Board. Opinion 28/2024 on certain data protection aspects related to the processing of personal data in the context of AI models. EDPB. 2024.
- White & Case. CPPA finalizes rules on ADMT, risk assessments, and cybersecurity audits requirements under the CCPA. White & Case LLP. 2025.
Further reading
- European Parliament and Council of the European Union. Regulation (EU) 2016/679 (General Data Protection Regulation). Official Journal of the European Union. 2016.
- European Data Protection Board. Opinion 28/2024 on certain data protection aspects related to the processing of personal data in the context of AI models. EDPB. 2024.
- Information Commissioner's Office (UK). Guidance on AI and data protection: What are the accountability and governance implications of AI?. ICO. 2023.
- PPC Land. How Europe's AI privacy rules are being gamed: the OpenAI ruling explains it all. PPC Land. 2026.
Sources last verified 2026-10-13.