The attacker was an agent. Your risk register should say so.
Spain's data protection authority received the first GDPR breach notification for an attack carried out by an AI agent. Its advice was that a generic 'unauthorised access' line in a risk analysis is no longer enough. Here's what to change in the risk entry, the response plan and the logs.
- S-01Searches generic fileslooking for vulnerabilitieswhat's exposed?
- S-02Logs in successfullya valid login, not a forced oneOpenwould this login look odd?
- S-03Probes the applicationautonomously finds a flawOpenapp-layer detection
- S-04Modifies personal dataand opens invoicesFailwhich records changed?
- S-05Breach notifiedGDPR Article 3372 hours
On September 14, Spain’s data protection authority, the AEPD, published a short post about a first. It had received a breach notification where the attack was carried out by an AI agent using a well-known language model.
The AEPD’s description is brief. The agent searched generic files for vulnerabilities and logged in successfully. Once inside, it looked for weaknesses in the application on its own, and when it found one, it modified personal data and accessed invoices. The organisation, the sector and the model weren’t named. The AEPD was careful to say that using a particular model doesn’t mean the model or its provider was compromised, and that its account comes from the organisation’s notification, which it still has to analyse.
It’s one incident, and the AEPD says it doesn’t show a trend. I’ve come back to it two months later because its advice is the most practical any regulator has given on agent-run attacks, and most risk registers I’ve seen haven’t caught up.
Nothing new, except who did it
Every step in that attack is familiar: reconnaissance, a valid login, finding an application flaw, changing data. A competent person could do all of it. The AEPD’s point is that AI doesn’t create new threats, but it increases the speed, scale and adaptability of known ones. An agent can be given a goal, plan the steps, use tools, read the results and change course without anyone directing each move.
That changes three numbers in a risk assessment without changing the threat’s name: how likely the attack is, because it’s cheaper to run; how fast it moves from login to damage; and how wide it spreads, because one agent can try many systems at once.
The four changes the AEPD asks for
The AEPD lists four ways this notification changes risk management. Each one turns into something you can check.
1. Name it in the risk analysis. The AEPD says a generic reference to malware, phishing or unauthorised access isn’t enough, because automation can substantially change the likelihood, speed and reach of an incident.
In practice that means splitting one line into two. Keep the existing entry for a person attacking you. Add one for an agent-run attack on the same system, with a higher likelihood, a shorter time from first access to impact, and a wider scope. Then check whether the controls listed against it still hold at that speed.
Test: for your most important personal-data system, does the risk analysis mention attacks carried out by AI? If the entry predates 2026, it almost certainly doesn’t.
2. Review response times. Procedures designed for attacks run by hand may be too slow when an agent probes many assets and access routes at the same time. I made the same argument about patch deadlines written for a slower attacker. The same applies to detection and containment.
Test: take your last real incident. How long was it from the first alert to containment? Compare that with how long an agent would need to get from a valid login to changing data. If the first number is in hours and the second in minutes, the plan needs to change.
3. Treat credentials as the perimeter. The attack in Spain started with a successful login. The AEPD notes that an agent holding an account, an API key or a token with excessive permissions can reach different services at machine speed before anyone notices.
Test: for each system holding personal data, list the accounts and keys that can write to it. Are any shared, unused, or broader than their job needs? This is an ordinary access review, but it’s now the main defence, not a box ticked once a year.
4. Contain at machine speed. The AEPD is clear that human oversight is still essential, but it has to be backed by detection, containment and response that work fast enough. The practical version is a short list of containment steps that are approved in advance and run automatically: disable the account, revoke its sessions, block the token. A person then decides what happens next.
Test: which containment steps can run without waiting for someone to approve them? If the answer is none, the person approving them sets the pace of your response, however fast the attacker is.
A fifth: know which records changed
The AEPD’s list is about preventing and stopping the attack. The notification itself adds a problem the list doesn’t cover. This agent didn’t only read data, it changed it. Under GDPR that’s an integrity breach, and you have 72 hours to notify the regulator. If the risk to individuals is high, you also have to tell them.
To do that you need to know which records were changed, and from what to what. Many applications log logins and errors but not field-level changes to the data. Then the honest answer to “which customers were affected?” is “possibly all of them”, which makes for a much larger notification and much more work to restore the data.
Test: pick one table of personal data. Could you list every record changed in a given hour last week, with the account that changed it and the old value? If not, add that logging now. After an incident it’s too late.
The same basics, faster
The AEPD ends where most good guidance ends: the basics still decide the outcome. Know what personal data you process, keep less of it, limit access, fix vulnerabilities, control your suppliers, and be ready to respond. What’s changed is how fast each of those has to work.