Breach Date
August 1, 2020
Records Affected
200,000,000
Verified
Yes
Source
wikipedia
Summary
In August 2020, security researchers at Comparitech discovered an unsecured database containing approximately 235 million user profiles scraped from Instagram, TikTok, and YouTube. The Instagram portion of this exposure encompassed roughly 200 million records. The database, which had no password protection or authentication of any kind, was traced to a now-defunct company called Social Data, believed to be linked to or a successor of Deep Social, a data analytics firm that had been banned from Facebook's and Instagram's APIs in 2018 for violating their terms of service.
The exposed data had been collected through web scraping — the automated extraction of publicly visible information from social media profiles. While the individual data points were technically public (usernames, bios, profile pictures, follower counts), the mass aggregation of 235 million profiles into a single searchable database transformed scattered public information into a powerful tool for surveillance, social engineering, spam campaigns, and targeted harassment. The database included profile names, real full names (when provided by users), profile photos, account descriptions, follower and following statistics, engagement metrics, and — critically — contact information such as email addresses and phone numbers that users had listed on their public profiles.
The incident ignited a significant debate about the legal and ethical boundaries of web scraping. Instagram's terms of service explicitly prohibit automated data collection, and the platform has pursued legal action against scraping operations. However, the scraped data consisted entirely of information that users had voluntarily made public. This tension — between platform policies prohibiting scraping and the technically public nature of the data — remains unresolved in both legal and security contexts. From a cybersecurity perspective, the aggregation of 200 million profiles into a single database, regardless of the data's original public status, created a resource that dramatically lowered the cost and effort of conducting social engineering attacks, phishing campaigns, and identity fraud at scale.
Breach Details
- Breach Date
- August 1, 2020
- Records Affected
- 200,000,000
- Source
- Wikipedia
- Verified
- Verified
- Industry
- Social/Entertainment
- Type
- Poor Security
Impact Analysis
Scale of Impact
- ~200 million Instagram records exposed (part of a larger 235 million profile dataset including TikTok and YouTube)
- Database included profiles from multiple countries, making this a global exposure
- Data was accessible without any authentication on the exposed server
- The database was searchable and structured, enabling efficient querying of specific targets
Data Types Exposed
Profile Information:
- Profile name / username
- Full real name (where provided by the user)
- Profile biography / description
- Profile picture URL
- Account verification status (whether the account had a verified badge)
Engagement Metrics:
- Follower count
- Following count
- Engagement rate calculations
- Average likes and comments per post
Contact Information:
- Email addresses (where listed on public profiles)
- Phone numbers (where listed on public profiles)
- Location information derived from profile data
Account Metadata:
- Whether the account was a business or personal account
- Account category (for business accounts)
- Connected Facebook page information (for linked accounts)
Risk Profile
| Risk Category | Severity | Rationale |
|---|---|---|
| Phishing and spam | Critical | 200M email addresses and phone numbers enable mass phishing campaigns |
| Social engineering | High | Detailed profile information enables personalized pretexting |
| Account takeover | High | Email addresses linked to Instagram accounts useful for credential stuffing |
| Identity impersonation | High | Profile photos, names, and bios enable convincing fake accounts |
| Stalking/harassment | Moderate | Real names linked to social profiles and contact information |
| Business intelligence abuse | Moderate | Engagement metrics and business account data valuable for competitive intelligence |
Impact on Specific User Groups
Influencers and Public Figures:
- Contact information (email, phone) exposed alongside follower metrics
- Business account details and engagement data exposed to competitors
- Higher risk of targeted impersonation due to public profile visibility
Business Accounts:
- Business category, contact information, and connected Facebook pages exposed
- Engagement metrics that businesses typically consider proprietary were made available in bulk
Regular Users:
- Users who listed email or phone numbers on their public profiles were exposed to spam and phishing
- Users who used their real names became searchable in a structured database rather than only through Instagram's own interface
Broader Implications
- The incident demonstrated that "public" does not mean "safe" — data that is publicly visible in isolation becomes dangerous when aggregated at scale
- Highlighted the gap between platform terms of service (which prohibit scraping) and technical reality (which makes scraping difficult but not impossible to prevent)
- Raised questions about social media platforms' responsibility to protect even publicly visible user data from mass collection
- The involvement of Social Data / Deep Social showed that companies banned from official APIs simply shift to scraping methods, undermining platform enforcement
Timeline
- Pre-2018: Deep Social operates as a social media analytics company, accessing Instagram data through official and unofficial means to build influencer marketing datasets
- 2018: Facebook/Instagram bans Deep Social from its APIs for violating terms of service related to data collection practices
- Post-2018: Social Data emerges, believed to be linked to or a continuation of Deep Social's operations; shifts to web scraping to collect social media profile data
- Pre-August 2020: Social Data accumulates approximately 235 million profiles scraped from Instagram (~200M), TikTok (~42M), and YouTube (~4M)
- August 1, 2020: Comparitech security researcher Bob Diachenko discovers the unsecured database during routine scanning for exposed databases
- August 1, 2020: Diachenko contacts Social Data to report the exposed database
- August 2020: The exposed database is taken offline approximately three hours after notification
- August 19, 2020: Comparitech publishes its research report detailing the exposure, the data contents, and the connection to Social Data / Deep Social
- August 2020: Instagram (Facebook) issues a statement that scraping violates its terms of service and that it is investigating
- Post-2020: Social Data's website goes offline; the company appears to have ceased operations
- 2021-2022: Multiple lawsuits and regulatory actions against web scraping operations broadly (including the landmark LinkedIn v. hiQ Labs case) continue to shape the legal landscape around social media data scraping
Lessons Learned
1. Public Data Becomes Dangerous When Aggregated at Scale
The individual data points in this breach — usernames, bios, follower counts — were technically public information that any Instagram user could see. However, the aggregation of 200 million profiles into a single structured database transformed this scattered public information into a powerful resource for mass phishing, social engineering, and identity fraud. Organizations and users must recognize that public visibility does not equal safety, and that data aggregation fundamentally changes the risk profile of even individually innocuous information.
2. Platform Bans Do Not Stop Determined Data Collectors
Deep Social was banned from Instagram's API in 2018, but the operation continued under the Social Data name using web scraping instead of API access. This demonstrates that platform-level enforcement (API bans, terms of service violations) is insufficient to protect user data when scraping remains technically feasible. Platforms must invest in anti-scraping technology, rate limiting, and legal enforcement to meaningfully deter data collection at scale.
3. Contact Information on Public Profiles Is a Persistent Risk
The most immediately exploitable data in this breach was the email addresses and phone numbers that users had listed on their public profiles. This information — intended to facilitate business inquiries or personal connections — became a resource for mass spam, phishing, and credential stuffing when aggregated into a searchable database. Users should carefully consider what contact information they make publicly visible, and platforms should offer privacy controls that prevent mass scraping of contact details even when profiles are public.
4. Scraping Databases Must Be Secured Like Any Other Sensitive Dataset
Social Data stored 235 million profiles on a server with no authentication or access controls. Regardless of whether the data was originally public, the aggregated database represents a high-value target that should be secured with the same rigor as any sensitive dataset. The failure to implement basic access controls — authentication, encryption, network restriction — turned a business intelligence database into a publicly accessible resource.
5. The Legal Framework for Scraping Remains Ambiguous
The tension between the public nature of the data and Instagram's terms of service prohibition on scraping reflects a broader legal ambiguity. Courts have issued conflicting rulings on whether scraping public data constitutes unauthorized access. Until clearer legal frameworks emerge, organizations must navigate this uncertainty, and users must assume that any public information can and will be collected at scale.
6. Users Bear Partial Responsibility for Their Public Data Exposure
While the scraping and insecure storage were clearly the fault of Social Data, users who listed email addresses, phone numbers, and real names on their public Instagram profiles contributed to the exploitability of the dataset. Security awareness education should include guidance on minimizing the personal information visible on public social media profiles.
Technical Details
Data Collection Method: Web Scraping
The data was collected through automated web scraping — programmatic extraction of publicly visible information from Instagram, TikTok, and YouTube profiles. This is distinct from API-based data access:
| Method | API Access | Web Scraping |
|---|---|---|
| Authorization | Requires API key/token | No authorization needed |
| Rate limiting | Enforced by platform | Must be circumvented |
| Data scope | Limited to permitted endpoints | Anything visible in HTML/JSON |
| TOS compliance | Subject to API TOS | Violates platform TOS |
| Detection | Easily monitored | Harder to detect at scale |
Scraping techniques likely used:
- Automated profile crawling — Bots systematically visited Instagram profiles and extracted data from the publicly rendered HTML or underlying JSON responses
- Rate limit evasion — Distributed scraping across multiple IP addresses, rotating user agents, and potentially using residential proxy networks to avoid detection
- Hashtag and explore page crawling — Discovering new profiles through Instagram's hashtag pages, explore feed, and follower/following lists
- API endpoint scraping — Even without an authorized API key, some Instagram data is accessible through undocumented JSON endpoints that power the web interface
Database Exposure
The collected data was stored in an ElasticSearch database deployed without security controls:
- No authentication: The ElasticSearch instance required no username or password
- Public network access: The server was accessible from any IP address on the internet
- Full query access: All ElasticSearch REST API endpoints were available, enabling search, scroll, and bulk export operations
- Three-server cluster: The data was distributed across a three-server ElasticSearch cluster, suggesting a deliberate infrastructure investment rather than an accidental deployment
Data Volume and Structure
| Platform | Records | Percentage |
|---|---|---|
| ~200 million | 85% | |
| TikTok | ~42 million | 18% |
| YouTube | ~4 million | 2% |
| Total | ~235 million | — |
Note: Some percentages overlap due to profiles appearing on multiple platforms.
Instagram record structure:
- profile_id (Instagram numeric ID)
- username
- full_name
- biography
- profile_pic_url
- is_verified
- is_business_account
- business_category
- follower_count
- following_count
- media_count
- engagement_rate
- avg_likes
- avg_comments
- email (if listed on public profile)
- phone (if listed on public profile)
- city (if listed)
- connected_fb_page
- last_scraped_timestamp
Social Data / Deep Social Connection
The database was traced to Social Data through server metadata and data structure analysis:
- Deep Social was a Hong Kong-based social media analytics firm that provided influencer marketing data
- Deep Social was banned by Facebook/Instagram in 2018 for violating data collection policies
- Social Data appeared after Deep Social's ban, offering similar services through a different brand
- Social Data's website (socialdataapi.com) was active during the exposure but was taken down afterward
- The data structure and field naming conventions in the exposed database were consistent with Social Data's documented API offerings
Response Timeline
The response was notably fast once the exposure was discovered:
- Discovery to notification: Same day (August 1, 2020)
- Notification to database takedown: ~3 hours
- However, the duration of exposure before discovery is unknown — the database could have been accessible for weeks or months before Comparitech found it
Frequently Asked Questions
How many Instagram users were affected?
Approximately 200 million Instagram profiles were included in the exposed database. The broader dataset contained approximately 235 million profiles from Instagram, TikTok, and YouTube combined. However, since the data was scraped from public profiles, "affected" is a nuanced term — the data was already publicly visible, but its aggregation into a searchable database created new risks.
What data was exposed?
The database contained profile information scraped from public Instagram profiles: usernames, full names, biographies, profile photos, follower/following counts, engagement metrics, and — most critically — email addresses and phone numbers that users had listed on their public profiles. No passwords, private messages, or non-public account data were included.
Who was responsible?
The database was traced to Social Data, a company believed to be linked to Deep Social, a social media analytics firm that was banned from Instagram's APIs in 2018 for violating data collection policies. Social Data's website went offline after the exposure was reported.
Was this a hack?
No. The data was collected through web scraping — the automated extraction of publicly visible information from Instagram profiles. The security failure was twofold: Social Data violated Instagram's terms of service by scraping data at scale, and then stored the resulting 235 million records on an unsecured ElasticSearch server with no authentication.
Is scraping public data illegal?
The legality of web scraping is ambiguous and varies by jurisdiction. Instagram's terms of service explicitly prohibit automated data collection, and violating TOS can constitute unauthorized access under certain legal interpretations. However, several court decisions (notably the hiQ Labs v. LinkedIn case) have suggested that scraping publicly available data may not violate the Computer Fraud and Abuse Act. The legal landscape continues to evolve.
My profile is public — should I be concerned?
If you had a public Instagram profile in 2020 with your email address or phone number listed, your contact information was likely included in this database. Even if your profile did not include contact details, your username, name, bio, and engagement data were available. The primary risk is that this aggregated data enables mass phishing campaigns, spam, and social engineering attacks that reference your Instagram activity to appear legitimate.
What should affected users do?
Users should: review their Instagram privacy settings and consider making their profile private if they do not need public visibility; remove email addresses and phone numbers from their public profile; be cautious of phishing emails or messages that reference their Instagram activity; enable two-factor authentication on their Instagram account; and use a unique password for Instagram that is not reused on other services.
How is this different from a traditional data breach?
Traditional data breaches expose private data — passwords, financial information, private messages — that was intended to be confidential. This incident exposed data that was already publicly visible on Instagram. The danger lies not in the exposure of secret information, but in the mass aggregation of public information into a structured, searchable database that can be used for attacks at scale. A phishing email is far more effective when the attacker can reference your real name, bio, and Instagram activity.
Did Instagram take action?
Instagram stated that scraping violates its terms of service and that it was investigating the matter. Instagram has pursued legal action against other scraping operations in the past. However, the platform's ability to prevent scraping of public profiles is inherently limited — any data visible to an unauthenticated visitor can potentially be scraped.
Protect Your Organization From Data Breaches
Our security experts can help you identify vulnerabilities and strengthen your defenses.