Lesson 8 of 13 · 12m
Purpose Creep
Collection is bound to a stated purpose; Meta's contract laundering, 2FA-for-ads, and SDK access show how reuse fails.
Contract laundering
On January 4, 2023, the Irish DPC fined Meta €390 million — €210M for Facebook, €180M for Instagram — over how the company obtained its basis for behavioral advertising. Meta's mechanism was elegant: it had rewritten its terms of service so that personalized ads were "necessary for the performance of the contract." Agree to the ToS, and by construction you've agreed to be tracked. No consent banner needed. The DPC ruled Article 6(1)(b) doesn't work that way — a contract can't launder a purpose that requires consent into one that doesn't.
The case is the template for the failure mode this lesson covers: collecting data under one justification and spending it under another.
The purpose limitation mechanism
GDPR Article 5(1)(b) binds every collection to purposes "specified, explicit and legitimate" at collection time. Article 6(4) supplies the compatibility test for reuse: new purpose, or compatible enough with the original that the data subject wouldn't be surprised. "Improve the service" is not a purpose — it's a direction. "Fraud detection," "billing," "delivery notifications" are purposes. If you can't write the purpose in one concrete clause, you don't have one.
Watch the mechanism in the incidents:
Facebook's 2FA numbers. Users gave Facebook a phone number for two-factor authentication — security purpose. In September 2018 Facebook confirmed researchers' finding: those numbers were also used for ad targeting and people-lookup. The number was collected under security necessity and spent under ad revenue. Same field, different purpose, no new basis.
Contact-import shadow profiles. When users ran "find friends" contact uploads, Facebook retained the non-users' contact data too — building shadow profiles on people who never signed up, which Ireland's DPC audit surfaced back in 2011. The consent belonged to the uploader. The data belonged to people who never consented.
LinkedIn's Add Connections spam. LinkedIn's import feature emailed users' contacts repeatedly without making the invitation flow clear; it settled a class action for $13 million in 2015. Contact data collected for "find friends" was spent on "growth loop."
Grindr. In April 2018 BuzzFeed reported Grindr was sending users' HIV status and last-tested dates to analytics vendors Apptimize and Localytics, bundled with GPS coordinates, phone IDs, and emails. Norway's DPA eventually fined Grindr €6.5 million (December 2021) — the consent people gave to run a dating app did not cover distributing health data to adtech.
"We don't sell data" is not a control
Every vendor with access is a disclosure — processor, SDK, analytics tool, support desk. The phrase companies use, "we don't sell your data," is doing work: selling isn't the risk; access is. Article 28 requires processor contracts, and Article 5(1)(b) requires that their access stays inside your stated purpose. An SDK ingesting fields for "crash analytics" that also feeds an ad network is a purpose violation you shipped.
Internal reuse is the same problem at smaller scale. The support team querying email + plan + ip for debugging is fine; the growth team joining that support export to a conversion funnel is a new purpose nobody declared.
The practice
- Keep a purpose registry: field → purpose → basis. New use of an existing field requires re-basis — new consent, or a documented Article 6(4) compatibility analysis.
- Audit join keys: the same identifier linking tables across teams is purpose creep with a foreign key.
- Treat every processor as a disclosure. DPAs and access lists bound the who; purpose limitation bounds the what.
Purpose limitation is the only thing standing between "we collect X for Y" and "we collect X." Enforce it in the schema review, not the privacy policy.
Was this lesson helpful?
Keep reading
Related articles from the SudoSecurity blog.
Healthcare Ransomware: Why Hospitals Can't Patch Fast Enough
The criminals behind the attack claim to have shared 400GB of patient data. The NHS stated it is working swiftly to confirm the validity of these files. The ransomware attack on the UK's National Health Service (NHS) continues to disrupt health services in London, with a significant amount of…
RSA Is Simple. Deploying RSA Correctly Almost Never Is.
The capstone to our RSA series. The math checks out. Shipping it as written gets you breached. This is the nineteen-year-old attack that proves it, and what belongs in production instead.
RSA in JavaScript Part 2: The JWT Is Where You'll Actually Meet It
Most JavaScript developers never call an RSA function directly. They verify an RS256 token, and two classic attacks turn that into an authentication bypass — both demonstrated here, both fixed by one line.