← All articles

ARTICLE · DATA LEAK ACTIVE TESTING

Data leakage at a third-party processor: GDPR Article 28 and controls

  • Compliance
  • 6 min read
  • Updated
Network of interconnected cubes on a dark background, an image of the flows linking the company to its service providersThe contract is not enough

In short

  • Third-party data leakage is your data escaping from a provider’s, a SaaS vendor’s or an integration’s systems; under the GDPR you remain the controller.
  • On your side, cut flows and tokens back, then test that a sensitive file only reaches the tenant you meant it for.

A SaaS connector that a project team approved two years ago still holds Mail.Read on every mailbox, and the vendor behind it has just disclosed a breach. That is third-party data leakage as the controller sees it: a signed Article 28 contract, a token nobody revoked, and no record of what the connector pulled out.

Third-party flows: the leak path your own rules allow

Your data passes through an outsourcer, a payroll tool, a SaaS CRM, a support provider with remote control of your machines, a connector that syncs mail with an outside app. Each is a legitimate way out, and your controls are tuned to let it through.

The exposure takes three forms, and for each the useful question is the same: what could leave, by which route, and would you see it?

  • The third party is compromised and the attacker retrieves the data you entrusted to it, or uses its access to get into your environment.
  • The flow to the third party is too broad: a whole database is sent when the provider only needed three columns.
  • The integration is forgotten: an API token created for a project that has ended still works, with extensive read rights.

The GDPR obligations on you and on the processor

Article 28 of the GDPR (mirrored in the UK GDPR) only lets you use processors that give sufficient guarantees on their technical and organisational measures, and requires a contract or other legal act that sets out, among other things:

  • processing only on the documented instructions of the controller;
  • confidentiality commitments from the people processing the data;
  • implementation of the security measures provided for in Article 32;
  • prior written authorisation before engaging any sub-processor, with the same obligations flowed down;
  • assistance to the controller in meeting its own obligations, including breach notification;
  • making available the information needed to demonstrate compliance, and allowing audits and inspections.

Article 33(2) adds a direct duty: the processor must tell the controller about a personal data breach without undue delay after becoming aware of it. Your 72 hours to notify the regulator (the ICO in the UK, the CNIL in France) do not run while the processor stays silent: under EDPB Guidelines 9/2022, the controller is generally treated as aware once the processor has informed it. Your incident response gets no such grace: a week’s silence is a week in which you cannot cut the flow. The European Commission has published standard contractual clauses for this relationship (Implementing Decision 2021/915), and the CNIL offers a processor guide and sample clauses. The same supplier file serves NIS2 Article 21(2)(d) (supply chain security) and, for financial entities, the DORA register of information under Article 28(3).

Supplier contract clauses worth negotiating

A few clauses decide how the day of an incident goes:

Clause What it must specify Why it is useful
Notification deadline A short, quantified deadline, rather than “without undue delay” alone Start your own response sooner
Content of the notification Nature of the data, estimated volume, period, measures taken Avoid a first message with nothing in it
List of sub-processors Up-to-date list, notice before any change, right to object Know where your data goes
Logging Retention of, and access to, the access logs for your data Reconstruct what got out
End of contract Return, deletion, certificate of deletion Close down dormant copies
Security evidence Certifications, test reports, remediation plans Evidence rather than assurances

Technical checks on your side of the flow

You have no say over the provider’s systems. You do control what you send them and the access you give them. None of the checks below tells you what happens to a file once it reaches the provider; that is for the audit and the contract.

Diagram · two complementary levers

What is verified on your side, what is framed at the third partyOn your side: the flows sent, the access granted, the integrations and tokens, verified by an active test with synthetic data. At the third party: the Article 28 contract, evidence and audits, notification, framed by contractual guarantees.ON YOUR SIDETHE THIRD PARTYFlows sentArt. 28 contractAccess grantedEvidence, auditsIntegrations, tokensNotificationActive testsynthetic dataContractualguarantees

The contract frames what happens at the third party; the test verifies what leaves your side.

Map the outbound flows to third parties

List every external destination that receives data: SaaS domains, partners’ SFTP servers, APIs, providers’ mailboxes. For each one, note the type of data expected. Without this list, no DLP rule can tell a legitimate flow from a leak. Data classification underpins all of this.

Reduce integrations and tokens

  • In Microsoft Entra ID, check the Permissions tab of each enterprise application for Mail.Read or Files.Read.All. Get-MgOauth2PermissionGrant lists delegated consents in bulk; the service principal sign-in logs show when each app was last used.
  • In the Google Workspace Admin console, the API controls page under Security lists the third-party apps with access to user data.
  • Revoke orphaned API tokens and cut the rest back to what the job needs.
  • Require named accounts and MFA for suppliers’ remote access, then check: a shared “vendor” login tends to show up as simultaneous sessions from different addresses.

Check that your controls block what must not leave

An approved flow to a third party should not turn into an open tunnel. If your DLP lets any data through to the provider’s domain, an attacker who controls an account at that provider gets the same free pass. A look-alike domain only slips through a sloppy rule; the commoner gap is a wildcard such as *.provider.com on a multi-tenant platform, where any customer’s subdomain matches. On shared SaaS, allowing drive.google.com or login.microsoftonline.com lets personal accounts through with your corporate one. The fixes are Tenant Restrictions v2 in Microsoft Entra ID, the X-GooGApps-Allowed-Domains header inserted by your proxy for Google Workspace, or the tenant controls in your CASB. To check, sign in to a personal account on the same service from a test machine: if it opens, the rule cannot tell tenants apart. See also CASB and DLP controls on SaaS applications.

Worked example: the payroll provider’s upload

A mid-sized company outsources its payroll: every month an HR export goes to the provider’s platform, under an Article 28 contract, and the DLP allows HR files to the provider’s domain.

Uploads run with synthetic data in production show whether an HR file also reaches a personal account on the same service, and whether the SOC notices, without exposing a single real payslip.

Illustrative example, made-up figures: a synthetic HR file of 40 rows, sent over HTTPS to three destinations. To the provider’s platform: attempted, transmitted, collected, as intended. To a personal Google Drive account: attempted, transmitted, collected; the proxy log shows the upload allowed and the DLP console holds no incident. To a paste site: attempted, not transmitted; the proxy logged a category block. The second upload is the finding: the rule trusts the service, not the tenant. The fix is a tenant restriction on the proxy, followed by the same upload to confirm it now fails.

Next step

Your supplier flows, measured from inside your network

Before any supplier flow is touched, a 30-minute guided demo on pre-built results shows a campaign across the eight channels, the report and its detail, with nothing installed and no access to your environment. The POC, quick and usually free, then runs a standard scenario with synthetic data from a machine on your network, through your real egress controls. A paid pilot, if you want one, measures what gets out on a limited part of your production, such as the HR machine that uploads the payroll export.

Checkpoints for your next supplier review

  1. Processors handling sensitive data are identified and ranked by criticality.
  2. Every critical contract contains a quantified notification deadline.
  3. The list of sub-processors has been reviewed within the year.
  4. Outbound flows to each critical third party are documented and minimised.
  5. Unused integrations and tokens have been revoked.
  6. An active test has verified that sensitive data only leaves for the intended destinations.
  7. The incident response plan covers a leak at a third party.

For the last item, settle the roles before the provider calls: who decides, who gathers the facts, who drafts the notification. See our article on the first 24 hours of incident response.

Frequently asked questions

Who is liable when data leaks at a processor?

The controller remains liable to data subjects and the regulator. The processor has its own duties (security, notifying the controller) and can be held liable if it fails them.

How long does the processor have to warn me?

Article 33(2) says “without undue delay”, with no figure. Put a deadline in hours into the contract, along with what the first message must contain.

Is a supplier security questionnaire enough?

No: it tells you what the supplier intends. Back it with audit reports or certifications, and test your own controls on the flows to that supplier.

Can the flows to a third party be tested without risk?

For the data, yes: you test from your own network, towards destinations you control, with synthetic data. We check your controls, not the supplier’s systems. Tell the SOC or MSSP before the campaign and agree the machines and time slots in advance.

Supplier egress routes, tested with synthetic data

We push synthetic data through your real egress controls, supplier routes included, in controlled scenarios mapped to MITRE ATT&CK. You see what was attempted, transmitted and collected, and we agree with you what to fix first.