# When an AI agent leaks personal data, the first three hours decide

> FDEs are usually the data processor, so they must lock down the agent, preserve the evidence and alert the right people before anyone writes to users.

Original: https://fdetimes.net/en/guides/ai-agent-data-breach-first-three-hours/

On November 21, 2026, Together AI disclosed a security incident with an unusual culprit. An AI coding agent had committed an exposed credential to a private repository holding prompt templates, and an unauthorized party downloaded those templates.

The notice admitted the company did not yet have all the answers. It said the review was still under way, and that the company would contact each affected customer directly where necessary, with the findings relevant to them.

For FDEs, that way of writing is more instructive than the incident itself. When an agent you deployed at a client exposes personal data, you will not have enough information in the first three hours, yet the legal clock is already running.

Get those three hours right and the following 72 proceed in order. Get them wrong and a technical bug becomes a breach of the duty to report.

## You are almost always the processor

GDPR Article 33 puts the main duty on the controller: notify the supervisory authority without undue delay and, where feasible, within 72 hours of becoming aware of the breach. The exception is a breach unlikely to result in a risk to the rights and freedoms of individuals. A later notification must give reasons for the delay.

In Vietnam, Article 23(1) of the Personal Data Protection Law 91/2025/QH15 uses the same 72-hour mark. The controller must notify the specialized personal data protection authority no later than 72 hours after discovery if the breach could harm the life, health, honor, dignity or property of data subjects.

When an agent runs on a client's data, the client is usually the controller and your company the processor. For processors, GDPR Article 33(2) requires only that the controller be notified without undue delay. Article 23 of Law 91/2025/QH15 likewise obliges the processor to inform the controller promptly, without stating a number of hours.

The absence of a number in the law leaves no room to take your time. The client needs your facts to assess the risk and prepare its filing, so the later you report, the less time the client has to do that properly.

Contracts can also be stricter than the law. Anthropic's Data Processing Addendum (DPA) commits to notifying customers in writing in no case later than 48 hours after becoming aware of a security incident.

If your stack includes a model provider, each contractual layer has its own clock. Know how many hours the DPA between your company and the client specifies before an incident happens.

## When does the clock start?

Guidance for small businesses from the EDPB, the European Data Protection Board, answers this. Awareness is the point at which you have a reasonable degree of certainty that a security incident has occurred and compromised personal data. That point usually arrives well before the investigation is finished.

A tool call in the logs that returned person A's record into person B's chat session gives you enough certainty. You do not yet know how many sessions were affected, and the clock keeps running regardless. Article 33(4) allows information to be provided in phases, as long as there is no further undue delay.

**Key point:** The reporting clock starts when you know, not when you understand everything.

## A worked example across three hours

Take a hypothetical case. You deploy a customer service agent for a retail chain. Its order lookup tool filters on the wrong `customer_id`, so a shopper asking about their own order gets back another person's full name, delivery address and phone number. The bug ticket arrives at 14:05.

**14:05 to 14:30: containment.** Ravindra Annam, writing in CSO Online, describes the first step when an agent causes an incident: immediately revoke or suspend the agent's credentials, API keys and OAuth tokens, and cut off its access to tools. In this example, you switch off the order lookup tool with a feature flag, then revoke the agent's token to the order system. The agent can still greet people, but it can no longer touch customer data.

Annam also stresses freezing the agent's memory and tool-call history while leaving them intact, because every fragment will be needed later. Export the logs to a read-only location before anyone "tidies up." They are the only source for the question the client is certain to ask: how many people were exposed.

**14:30 to 15:15: assign roles.** PagerDuty's incident response guide separates four roles: the Incident Commander coordinates, the Scribe takes notes, the Internal Liaison handles internal communication, and the Customer Liaison is responsible for talking to customers, directly or through public channels. FDEs fit the Customer Liaison role because they know who on the client side needs to hear the news. Leave the Commander role to someone else, since one person cannot fix the bug and write a careful letter at the same time.

The Scribe must timestamp every action. If the client has to notify the regulator after more than 72 hours, it must give reasons, and your record is those reasons.

**15:15 to 17:00: first notice to the controller.** Send it in writing to the client's data protection contact, then phone to make sure they have read it. Vietnam's Decree 356/2025/ND-CP, Article 28, lists what a breach notification must contain: the nature of the breach (time, place, conduct, organizations or individuals involved, type and volume of data), a contact point, likely consequences and remedial measures. Build the letter on that frame and the client can copy it almost verbatim into its filing with the regulator.

```
Subject: [Notice 1] Personal data incident – order support agent

Detected at: 14:05, [date], via ticket [ID]
Confirmed: the agent's order lookup tool returned order details
  belonging to another customer into at least 1 chat session
Data types: full name, delivery address, phone number
Volume: 1 record confirmed; reviewing logs since [deployment date]
Unknown: total number of affected sessions; when the bug began
Actions taken: 14:20 order lookup tool disabled; 14:25 agent token revoked;
  agent memory and tool-call logs frozen
Likely consequences: [to be completed after consulting legal]
Contact: [name, email, on-call phone number]
Next update: 19:00 today
```

The "Unknown" line matters as much as the "Confirmed" line. It keeps you from guessing, and it shows the client what the next update will answer.

## The client decides who tells users

Notifying data subjects belongs to the controller. GDPR Article 34 requires it when a breach is likely to result in a high risk, with the nature of the breach described in clear and plain language. There are exceptions, for example when the data was encrypted and unreadable to anyone without authorization.

In Vietnam, Decree 356/2025/ND-CP, Article 29, sets a tighter rule for breaches involving location or biometric data.

The controller must notify affected people within no more than 72 hours of discovery, while also reporting to the competent authority and keeping records.

If your agent touches that kind of data, remind the client of the deadline in the first notice itself.

Your part is to give the client the facts it needs to decide. An FDE who messages end users directly, however well meant, can throw the client's whole legal plan off course.

## The mistakes that make a small incident big

The most common mistake is wiping the trail: resetting the agent's memory or rotating logs to look "clean" before the meeting. The second is waiting for a complete report before sending anything, when the law already allows phased reporting. The third is working to the law's 72 hours when the DPA says 48.

Two smaller mistakes come up often too. One is revoking a single key while the agent still holds OAuth tokens to other systems. The other is writing "only a few people were affected" when only half the logs have been reviewed, then having to correct it in the next round.

## Turning this skill into a career advantage

Data incident handling rarely shows up on a CV by itself, so write it as a specific line: "wrote a data incident runbook for an agent, with a kill switch per tool and token revocation in under 5 minutes." A line like that carries far more weight than a generic keyword.

In a scenario interview, walking through the three-hour sequence above shows you understand both the code and the responsibility to the client.

This week's exercise: take an agent you run, assume its most broadly permissioned tool has just exposed data, and write a first-round notice on the template above in 30 minutes. Any field you cannot fill in, such as the hours in the DPA or the name of the client's contact, marks a gap in your runbook.

In an incident like Together AI's, what clients need early is to know what you have contained, what remains unclear and when you will report again.

**Try this week:**

- Open the DPA between your company and the client you look after, find the incident notification deadline and the name of the client's data protection contact, and record both in the project runbook
- Check whether each of the agent's tools has its own kill switch, and try revoking the agent's token in staging to measure how many minutes it takes

## Sources

- [Art. 33 GDPR](https://gdpr-info.eu/art-33-gdpr/)

- [Data breaches (EDPB SME data protection guide)](https://www.edpb.europa.eu/sme-data-protection-guide/data-breaches_en)

- [Art. 34 GDPR](https://gdpr-info.eu/art-34-gdpr/)

- [Luật Bảo vệ dữ liệu cá nhân 2025 số 91/2025/QH15](https://congluatviet.vn/van-ban/luat-bao-ve-du-lieu-ca-nhan-91-2025-qh15)

- [Nghị định 356/2025/NĐ-CP quy định chi tiết một số điều và biện pháp thi hành Luật Bảo vệ dữ liệu cá nhân](https://ketoananpha.vn/nghi-dinh-356-2025-nd-cp)

- [Anthropic Data Processing Addendum](https://www.anthropic.com/legal/data-processing-addendum)

- [The first 24 hours of an AI agent security incident](https://www.csoonline.com/article/4214961/the-first-24-hours-of-an-ai-agent-security-incident.html)

- [Different Roles (PagerDuty Incident Response Guide)](https://docs.pagerduty.com/ops-guides/incident-response-guide/different-roles)

- [Security event: Prompt leakage for requests in June and July of 2026](https://www.together.ai/blog/security-event-prompt-leakage-for-requests-in-june-and-july-of-2026)
