All articles

AI solutions16 min read

GDPR and artificial intelligence: what to do after a breach

GDPR, AI and data breaches: what to do straight away, how to assess the risk and when to notify the Garante within 72 hours.

One Monday morning, shortly after nine, someone in the sales office opens the company AI assistant and asks it to summarise a contract. The assistant answers by quoting a document it should never see: a staff record, with an appraisal and internal notes. Nobody uploaded that file by hand. It ended up in the index months earlier, when someone connected the whole shared folder and the permissions by department had never been separated.

From that moment the question is no longer technical. It is a question of timing: what you do within an hour, what within a day, what within three. Most of the SMEs I work with get the order of operations wrong, not their good faith. They start investigating, asking the supplier, reconstructing the configuration, and meanwhile the hours go by. The result is a notification written in a hurry on Thursday afternoon, with approximate data and no record of what was done before.

This is the sequence I recommend when an artificial intelligence system is caught up in an incident: contain, preserve, understand, decide. In that order.

Contents

The first hours after a suspected breach

The first reaction, when an AI assistant shows a document it should not, is to find out how it happened. It is the right reaction in substance and the wrong one in sequence. The 72-hour deadline set by Article 33 of the GDPR runs from when the data controller is reasonably certain that an incident has occurred, not from when the investigation is over. A plausible suspicion, confirmed by a quick second check, starts the clock.

Let us clear up the point that causes the most confusion: you do not need weeks to understand whether there has been a breach. You need a short initial check, a few hours long, that answers a single question. Has an unauthorised user seen personal data they should not have seen? If the answer is yes, the clock has already started, even if you do not yet know how many documents were in the index.

The table below is the working timetable I have clients follow for the first two days. It is not a formal procedure to hang in the corridor; it is the agenda for the meeting held at half past nine in the morning.

Actions in the first 72 hours after the suspicion

Window Action Owner
Hour 0-1 Isolate the system or account involved and revoke the API keys IT manager
Hour 1-4 Write down what is known, when the problem emerged and who reported it Data controller or privacy lead
Hour 4-24 Establish which personal data are involved and how many people are affected IT manager with privacy consultant or DPO
Hour 24-48 Assess the risk case by case and decide whether notification is required Data controller with privacy consultant or DPO
Hour 48-72 Send the notification to the Garante if the risk requires it, or document the reasons for not doing so Data controller

Rule of thumb: containment is a technical action and waits for nobody. The risk assessment is an act of the data controller and needs a person to sign it.

Separating the roles matters more than it seems. The person who isolates the system should not be the same person who decides whether to notify, because the technician tends to play it down (“it was just a shared folder”) and whoever manages commercial relationships tends to dramatise (“we have to warn all our customers right now”). The privacy consultant, or the DPO if one has been appointed, is there precisely to keep the technical fact and the legal assessment apart.

One warning that matters more than all the others: do not alert customers or suppliers before you have at least a basic picture. A hasty message that later turns out to be wrong creates a second problem, a reputational one, without solving the first. At the same time, do not wait for the checks to finish before you start writing. A text file with the date, the time, what was seen, by whom and what was done is already useful documentation, and in the first hours it is the one thing nobody thinks of producing.

How to secure systems and preserve the evidence

The assistant has indexed a folder it should not see. Some of the prompts have already gone out to the supplier. The logs are not all in one place: some are on the server, some in the service’s dashboard, some disappear at the first restart. In this situation, switching off the machine wipes out the evidence.

Process memory, sessions still open and temporary logs tell you who queried which document and whether the answer went through an external system. Without that trail, any notification stays generic.

The 72 hours do not start when the investigation is closed. They start when there is reasonable certainty that personal data have been exposed. Technical containment goes ahead even if the list of people affected is still incomplete.

The order of work, one step at a time.

  1. Isolate access, not the machine. Suspend the users and disable the agent or assistant at its entry point: the interface, the CRM connection, the email bot. The server stays on. The frozen state is the evidence.

  2. Revoke tokens, passwords and shared API keys. In many SMEs the same API key is used by three departments and nobody knows who created it. A reused account remains exploitable even after containment. Revocation covers all the linked credentials, not just those of the person who reported the problem.

  3. Copy the logs before any clean-up. Logins, queries, the list of indexed documents, backups. Every change made before the copy destroys evidence that cannot be rebuilt. If the supplier keeps logs on its side, ask straight away for an extract and written confirmation of the retention date. Prompts sent outside the company are often only there.

  4. Block re-indexing of sensitive documents. If the HR folder is connected to the assistant, disconnect it before any restart. Otherwise the next scan puts the same files back in the index.

  5. Reconstruct the index and who queried it. Which documents were there, in which version, and which users asked questions during that period. This gives you the list of people affected and therefore the scope of the notification.

  6. Ask the supplier for written confirmation of the processing. The data processed, the sub-processors involved, any transfers outside the European Union. If the contract does not provide for it, make the request anyway, in writing and dated.

  7. Give staff an instruction. Nobody deletes, forwards or re-uploads the files involved. Nobody fixes the configuration to speed things up. An uncoordinated change to the assistant’s settings is the quickest way to lose the trail.

Four-step infographic on how to protect IT systems and properly preserve digital evidence.

If a synchronisation rule has sent messages or quotes to the wrong address, export the list of actual recipients before correcting the configuration. Addresses and sending times make the notification precise. Without that export it remains a phrase like “some customers”, and the Garante has good reason to ask you to redo the work.

I would keep the fix separate from the evidence gathering: first the copy, then the change. In the first hours it is normal not to know whether the prompt stayed in the supplier’s cache or whether the index included other folders. You note the doubt and request the extract.

Typical breaches when AI is involved

An assistant that indexes the wrong folder, a prompt with customer names that ends up with an external supplier, logs split between tools and servers: each is a breach in its own right. The 72-hour clock starts from reasonable certainty that personal data have left the intended perimeter, not from the end of the investigation.

In 2025, 16.4% of Italian companies with at least 10 employees were using at least one artificial intelligence technology, compared with 8.2% in 2024 and 5.0% in 2023, according to data published by Istat (the Italian National Institute of Statistics). In these environments the first sign often comes from an out-of-place answer or an unexpected message, not from a firewall alarm.

A business team analyses GDPR risks linked to the use of artificial intelligence during an office meeting.

I distinguish three levels. Each calls for a different check, and each can be enough, on its own, to establish reasonable certainty.

First level: the document assistant answers with another department’s documents. Permissions were not separated, or an update rebuilt the index and put back folders that had already been excluded. Check the permissions by department, the index version and the date of the last re-indexing. It is the most common case. It pulls in staff data, among the most sensitive there are. If a colleague has already read a payslip or a file that was not meant for them, the certainty is there even without the full list of files.

Second level: the agent fills in the CRM or writes to an out-of-date list. A deleted contact stays in the synchronisation queue. A message goes to an address that in the meantime belongs to someone else. Check the synchronisation rules and the actual recipients, and keep that list before correcting the rule. The fix does not move the start time: if you already know personal data have gone out, the 72 hours are running while you reconstruct the rest.

Third level: a prompt with customer data ends up on an external cloud service. The perimeter is not just the internal configuration. Check the contract with the data processor, the sub-processors, the logs the supplier actually makes available and any transfers outside the European Union. Logs are often split, part on your tenant and part with the supplier, sometimes with neither complete. You do not need the perfect log to say that the incident has happened.

On the regulatory side, the Garante per la protezione dei dati personali (the Italian Data Protection Authority) has made clear that the European regulation on artificial intelligence, Regulation (EU) 2024/1689 of 13 June 2024, does not replace the GDPR. It overlaps with it on transparency, fundamental rights and the oversight of automated systems. The same goes for a third-party chatbot: the data collected, sources, purposes, legal basis and place of storage remain questions for the data controller, even when the model does not run on your servers.

A model installed in the company reduces the flow of data to the outside. It does not change the nature of the processing. If it touches personal data, the GDPR applies as it does to any other system.

The video below gives an accessible summary of how the two sets of rules overlap.

Watch the video on YouTube

Working out whether the risk requires notification

The risk assessment is an act of the data controller, not a technical opinion. It means someone in the company must be able to explain, six months later, why they decided one way and not the other. The Garante per la protezione dei dati personali points out that the GDPR and the European AI rules are complementary, and that using an assistant to read documents, classify emails or prepare drafts does not remove the basic obligations of legal basis, purpose, minimisation and privacy notice. Article 25 requires data protection by design, and Article 22 becomes central when a decision is taken solely by automated means and produces legal effects on the person.

From this follows the first practical criterion: the difference between an AI that proposes a draft and an AI that decides. An assistant that prepares a quote and leaves the signature to a person is not the same as a system that automatically rejects a job application or a credit approval. If something goes wrong, the second weighs far more.

There are five criteria to go through, and they must be considered together.

  • Type of data. The special categories of Article 9 (health, biometric data, personal beliefs) weigh more than a price list. An exposed medical report is not an exposed price list.
  • Volume and number of people. Ten customer records and ten thousand do not belong in the same box.
  • Actual identifiability. Data encrypted with an uncompromised key greatly reduce the risk, because whoever saw them cannot read them.
  • Nature of the access. Internal error, wrong recipient, malicious actor: three different scenarios with three different assessments.
  • Concrete consequences. Discrimination, fraud, reputational damage, loss of a business opportunity. If you cannot name a plausible consequence for a person, the risk is probably not high.

Cases and notification obligations

Case Data involved Notification to the Garante Communication to the people affected
Encrypted price list folder, key not compromised Prices, no personal data No No
Email with quotes sent to the wrong recipient Name, contact details, commercial terms Usually yes, unless the risk is unlikely Yes, if the risk is high
AI assistant accessible to unauthorised users Customer records or medical reports Usually yes, within 72 hours Yes, without undue delay if the risk is high
Cloud AI supplier with external access to prompts Customer data entered in prompts To be checked within 72 hours, depending on role and contract Yes, if the risk to people is high
Health or biometric data exposed Special categories (Art. 9 GDPR) Usually yes Usually yes, unless the data are encrypted

The decision not to notify must be written in the same words you would use to write a notification. The Garante can ask you to account for that choice months later, and “it seemed minor” is not a justification.

Notifying the Garante and informing the people affected

The two communications have different recipients and are not alternatives. The Garante must be notified within 72 hours of becoming aware, using the online procedure provided by the Authority. The people affected must be informed only when the risk is high, without undue delay and in plain language.

Notification to the Garante and communication to people compared

Aspect Garante People affected
When Within 72 hours of becoming aware of the breach Without undue delay, only if the risk is high
Channel Online procedure provided by the Garante Letter, email or direct communication
Minimum content Nature of the breach, categories and number of people affected, consequences, measures taken, contact details Clear description of the event, data involved, concrete risks, recommended actions, contact
Delay Explain the reasons in the notification Not provided for, to be avoided
Exceptions Not needed if the breach is unlikely to result in a risk; it must still be documented Not needed with adequately encrypted data or with measures that rule out high risk

One detail that almost nobody handles well is the content of the notification to the Garante. You do not need a story; you need verifiable facts: the nature of the breach, the categories and approximate number of people affected, the likely consequences, the measures already taken and a contact for clarifications. If the notification arrives after the 72 hours, the reasons for the delay must be written in the notification itself. Notifying late and explaining why is far better than not notifying at all.

On delay: the deadline is not a requirement of perfection. It is a requirement of timeliness. A partial, honest notification is worth more than a complete report delivered the following week.

If information is missing at the time of sending, you proceed in stages: you report what you know and add to it as soon as more is available, without waiting for the end of the investigation. This is the correct way to handle an incident involving an external supplier, where the data arrive in pieces.

The calendar helps. Discovery on Monday at 9:00, assessment completed on Tuesday evening, notification sent by Thursday at 9:00. If the AI supplier acts as data processor, it is obliged to inform the data controller without undue delay: that clause should be checked in the contract before the incident, because during the incident you have no bargaining power to negotiate it. And prepare a template message for the people affected well in advance, so that on the day of the decision you are not rewriting everything from scratch with your back against the wall.

The breach register and the decision within 72 hours

Every breach must be recorded in the breach register, even when it is not notified. The facts, the effects, the measures taken and the reasons for the decision. It is the document that, months later, separates a company that assessed from a company that hoped.

Traceability is the part that AI makes both harder and more necessary. For every answer from the assistant you should be able to link the input, the documents consulted, the model version, the output, the human approval and the final action. Keeping the prompt is not enough. The Garante’s ten-point guide for adopting AI in healthcare services shows the methodological path: map the flows, including prompts, indexed documents, logs and backups; define purposes, legal basis and retention periods; clarify whether the supplier is a data processor; apply minimisation and encryption; run tests for unauthorised access and data leakage; document the monitoring. It also points out that, when processing is likely to result in a high risk, Article 35 requires a prior DPIA.

A mistake I see repeated: treating the fact that the model runs locally as enough. In the solutions we install in companies, the model works on an internal server and the data do not leave the organisation, which makes controlling the flows simpler. It does not, however, remove the obligations of legal basis, separation of permissions, log inventory and data subjects’ rights. A local model without separate permissions by department produces exactly the incident described at the start.

There are four controls to put in place immediately after an incident.

  • Permissions and access. Separation by department, a quarterly review of who can query the index, an up-to-date list of who has an API key.
  • Periodic tests. Tests for unauthorised access and data leakage, with a written outcome. A test that leaves no trace is useless.
  • Contracts with AI suppliers. Clauses on sub-processors, availability of logs, and the time allowed to inform the data controller in case of an incident.
  • Internal rules on prompts. Which information can go into a request, with concrete examples of forbidden data: tax codes, medical reports, staff appraisals, data about minors.

Infographic showing the five steps for managing data breaches under the GDPR.

What remains is the decision that closes the window. Before the 72nd hour, the data controller, with the privacy consultant or the DPO, approves either the notification or the reasoned decision not to notify, and records both. It is not a formality: it is the moment the company decides what it really risked and what it has learned. In the first hours you do not know everything, and that is fine. What you cannot afford is to reach the deadline without a written decision and without the evidence that you made it.


If you are considering an AI assistant for your company documents and want to set it up so that an incident, if one comes, can be reconstructed, Creattiva starts by analysing your processes and data to understand where AI pays off and where to begin, with a measured pilot project before widening the scope. The solutions we develop can run on a server inside your company, with the data staying in-house, and with answers that always show the source consulted: this is the technical foundation that makes traceability achievable rather than a document written after the fact. Write to us for a first meeting and bring your real case, connected folders included.

More articles

Where do we start?

A first call, no strings attached. You tell us about your company, we tell you what we would build.

Book a meeting