Products Lemma APIProof issuance & verification platformTrust402Delegate to agents, and transactSealSign-in for the agent era — no keys handed over
Use cases Manufacturing & Critical InfraInspection Record AssuranceFinance & FinTechCounterparty Record VerificationPublic SectorCertificate-less ProceduresHealthcareQualified Worker AssuranceProcurement & Supply ChainSupplier Credential MonitoringMedia & ContentContent AuthenticityService & RetailCross-group IdentityAI Adoption (cross-industry)AI Run GovernanceDevelopers & Agent OpsAgent Authority Control ▸ Browse the use-case index
Pricing
Resources Critical BriefThe frontier of AI × trustBlogThinking and implementation notesDocumentationAPI & specsVerification CenterReal verification & issuance countsAbout usFRAME00, Inc.ContactSales & press inquiriesGlossaryDefinitionsFAQFrequently asked questions
Dashboard ↗ JA
Home / Critical Brief / No. 008
No. 008 Critical Brief · Verifiable Origin

Discord: Messages from public servers were bulk-collected and published as a research dataset (404 Media)

2.05Bmessages
Collected through the public API from 3,167 public servers and published in a form anyone can download (the research team's paper)
4,735,057users
Users included in the dataset (covering 2015–2024)
10%
Share chosen at random from the 31,673 public servers found through the Discovery feature (as of 2024-11-17)
CountryGlobal
Incident date2025-05-22
Published2026-05-30
Revised v1.2 · 2026-11-03
AuthorsLemma Critical Team
Contents
  1. 01Summary
  2. 02What got through
  3. 03Pre-execution check
  4. 04What Lemma does
  5. 05Facts and timeline
  6. 06Sources

Summary

Being technically able to retrieve data through a public API is not the same as the use the terms allow. The research team says it anonymized the data, but the dataset was distributed with an arXiv paper in a form anyone can download, and 404 Media reported that this ran against Discord’s terms of service and developer policy. The reporting came after publication, and reporting alone does not close the path by which a distributed dataset passes downstream. The usage terms of the source are not carried in the dataset itself, so unless they are checked before distribution or training, data for a use the terms prohibit passes downstream like any other data.

Exhibit 1Detection vs pre-execution check

A pre-execution check means confirming, before distribution or ingestion for training, the source of the data and its usage terms, and keeping a record. Detection means finding the publication after it happens. The dates below follow the disclosures.

Pre-execution check · not known from the disclosuresCheck the source and usage terms before distribution
What was confirmed2.05 billion messages published
in a form anyone can download
Detection · worked after publication404 Media reports it and sets out how it relates to the terms and policy
2024-11-17
10% of public servers chosen
From 11-17
Collected via the public API (estimated)
2025-05
Paper and dataset published
05-22
404 Media reports

What got through

What got through
Bulk retrieval of messages from public servers through the public API, and publication online as an arXiv paper (2502.00627) and a JSON dataset.
What reached the receiving side
In general, a public API answers queries without telling what use they are for. For those who receive a distributed dataset, even with anonymization applied, whether the collection stayed within the terms cannot be told from the dataset alone.
What the terms say
Discord’s developer policy states “You must not use the content of messages obtained via the API to train machine-learning models or AI (including large language models)” and “You must not mine or scrape any data, content, or information available on or via Discord services.” The terms of service also include a clause prohibiting scraping.
The research team’s account
It says the purpose of distribution is “to make it available for other research teams to use for research on mental health and politics or to train bots,” and that it rewrote usernames and hashed and truncated IDs and messages.
Not disclosed
An official statement from Discord (none confirmed at the time of publication), and whether the dataset was used downstream for AI training.

Pre-execution check

Whatever the route, the condition for telling them apart is checking, before data is distributed and before it is ingested for training, where it came from and under what usage terms it was collected, separately from the content of the data.

The core of this case
The usage terms of the source are not carried in the dataset itself, so unless they are checked before distribution or training, data for a use the terms prohibit passes downstream like any other data.
Who approves
The party distributing the data. Before distribution, it states the source, how the data was collected, and the usage terms (whether redistribution and AI training are allowed). The terms themselves rest on the source platform’s terms.
Where it is checked
Just before a dataset is distributed, and just before the receiving side ingests it for training. It is checked whether the intended use (for example, machine learning) fits the terms under which the data was collected; if not, the data is not distributed or ingested.
What is recorded
Which dataset was used for which purpose, after passing a check against which terms. Later, it can be traced where the training data came from.

The reporting showed that the collection and publication existed and widened the debate, but it came after the dataset had been posted to arXiv and distributed as JSON. A case of the same kind, where the receiving side treats what arrives without checking where it came from, is Noroboto (disguised input read by AI).

What Lemma does

Lemma builds the pre-execution check in just before a dataset is distributed and before it is ingested for training. It does not look for scraping; it checks where the data came from and under what usage terms it was collected, before distribution or ingestion.

Industries and operations to watch

IndustryAI
AI companies and research institutions that gather training data from outside. A published dataset can be obtained by downstream researchers and AI companies, and explaining where training data came from (such as the EU AI Act’s training-data documentation requirements) becomes an issue.
OperationDisclosure and provision of information
Publishing and distributing datasets, and accepting outside datasets. Whether the source’s terms fit the intended distribution and training use.

Current controls vs Lemma

The route in this case is column 1 (distributing a dataset for a use the terms prohibit). Column 2 is the stage where the receiving side ingests it for training; whether that happened here has not been disclosed.

Control Distributing a dataset for a use the terms prohibit Ingesting a received dataset for training
Prohibition in the terms of service and developer policy Partial Partial
Anonymization (rewriting usernames, hashing) Not relevant Not relevant
Detection by reporters and researchers Partial Not effective
Lemma (pre-execution check) Partial Effective

The terms and policy define the prohibited uses, but no mechanism checks, at the public API’s response or at the place of distribution, whether a use falls within them. Anonymization reduces how identifiable users are and does not bear on whether the collection stayed within the terms. Detection by reporters and researchers shows the dataset exists after publication, but does not stop an already-distributed dataset from passing downstream. Lemma checks the source and usage terms just before the distributing side and the receiving side act.

Note: Lemma’s check works only when it is built in at the place of distribution, or just before the receiving side ingests data for training. If the distributing side publishes without using the check, nothing stops it before distribution, and only the receiving side’s check remains. Lemma does not withdraw or delete data that has already been distributed. The table compares what each control checks; it does not show whether this incident would have been stopped. Lemma does not detect or prevent intrusions.

CheckChecklist

Three things to confirm about distributing and accepting datasets

  • Before you publish or distribute a dataset, do you confirm that the source’s terms allow redistribution and use for AI training?
  • For datasets you accept, do you receive a record of the source and usage terms, separately from the data?
  • Do you record which dataset was used, under which terms, for which training, so it can be traced later?

Facts and timeline

Scale
2.05 billion messages (2,052,206,308), 3,167 servers, 4,735,057 people, covering 2015–2024.
Scope
10% chosen at random from the 31,673 public servers found through Discord’s “Discovery” feature (as of 2024-11-17).
Collecting party
A team of 15 researchers at the Federal University of Minas Gerais in Brazil.
Distribution format
An arXiv paper (2502.00627) and a JSON dataset published online.
Distribution purpose
A research dataset for research on mental health and politics and for bot training (the research team’s account).
Anonymization
Rewriting usernames, and hashing and truncating IDs and messages (the research team’s account).
Position under the terms
404 Media reported that it ran against the developer policy’s prohibition on use for machine-learning / AI training and on scraping, and the terms of service’s prohibition on scraping.
Distribution reach
Downloadable by anyone through arXiv, with a path to downstream researchers and AI companies.
Discord’s response
No official statement confirmed at the time of publication. The company had previously considered legal action against a similar case, Spy Pet, in April 2024.

Glossary
Scraping — Collecting data shown on a site or service in bulk with a program. Discord's developer policy and terms of service prohibit it.
Developer policy — The rules developers using Discord's API must follow. It prohibits using messages obtained through the API to train machine-learning or AI models.

Timeline

2015–2024
The messages later collected accumulated on Discord’s public servers.
2024-11-17
The research team finds 31,673 public servers through the Discovery feature and selects 10% at random.
After 2024-11-17 (estimated)
Collection through the public API.
2025-05
The arXiv paper (2502.00627) and the JSON dataset are published.
2025-05-22
404 Media reports it, noting that it runs against Discord’s terms of service and developer policy. Japanese-language outlets follow up the same day.

This case is treated not as an intrusion by an attack but as one about collection and publication for research. The facts rest on 404 Media’s reporting, the research team’s paper, and Discord’s developer policy. The scale of harm is not exaggerated. What has not been disclosed does not mean there were no controls.

Response after disclosure

  • 404 Media (2025-05-22): Set out how it relates to the terms and policy, and raised the points that “The researchers claim they anonymized the data, but no one likes the idea of their Discord messages being saved in public files online,” and “It should be kept in mind that many Discord users are children.”
  • Research team: Said the purpose of distribution was research by other teams and bot training, and that anonymization had been applied.
  • Discord: No official statement confirmed at the time of publication. It had previously considered legal action against Spy Pet (April 2024, an operator that monitored over 600 million Discord users).
  • Industry debate: The accountability of generative-AI companies for where their training data came from (the EU AI Act’s training-data documentation requirements, and guidance such as the US NIST AI RMF), and how the combination of a public API, terms, and an anonymization claim is positioned under the GDPR and national privacy laws, became points of debate.

Sources

References: “The last layer left for cyber defense in the age of AI”

The same method elsewhereSee all 16 "Disclosure & data release" cases

This Brief sets out, from disclosed facts, what organisations in a similar position can check. It is not guidance on individual losses or procedures.

This material is a structured analysis of public information; it is not an audit, diagnosis, or recommendation for any specific organization.

Cite this Brief

Lemma Critical Team. (2026).
"Discord: Messages from public servers were bulk-collected and published as a research dataset (404 Media)".
Lemma Critical Brief No.008. Lemma / FRAME00, Inc.
https://lemma.frame00.com/critical/briefs/008-discord-scraping/
Read nextNext
All Briefs →
Revision History

Current version: 1.2

Lemma

If it can't be verified,
it doesn't enter your operation.

Lemma is a pre-execution check: logins, payments, records and publishing that look genuine are checked before they run, with cryptographic proofs the receiving side verifies without asking the issuer. Detection stays; the check sits in front of it.