Copilot Training Data Sources: What Code Was Used and Who Consented
Updated 2026-06-12. This report covers the privacy implications, data exposure scope, and actionable steps you can take to protect yourself. Based on public filings, regulatory actions, and independent research.
Unlock Full Privacy Intelligence
Get deep-dive reports on every company that touches your data. SeekerPro members see breach timelines, DSAR success rates, and risk scores before anyone else.
Get Started FreeWhat Happened: The Full Story
GitHub Copilot was trained on a massive corpus of publicly available code, but the composition and consent framework of that training data remains opaque. Independent researchers have mapped Copilot training sources to include code from repositories with restrictive licenses, including GPL, AGPL, and proprietary licenses that were briefly public due to misconfiguration. The training dataset, based on publicly available information, encompasses virtually all public GitHub repositories as of the training cutoff date. This includes code written by hobbyists, students, professionals, and organizations ranging from solo developers to Fortune 500 companies. None of these authors were individually notified or asked to consent to commercial AI training use. The consent question is particularly thorny because GitHub Terms of Service grant GitHub a license to host and share public code, but whether that license extends to training commercial AI products is legally contested. The Apache Software Foundation, Linux Foundation, and Software Freedom Conservancy have all issued statements questioning whether the GitHub ToS adequately covers AI training use. Developers who contributed to public projects under the assumption that their code would be freely available for human reading and use did not necessarily anticipate or agree to machine learning training. The situation creates a consent gap that no amount of retroactive policy changes can fully address.
The ramifications of this incident extend beyond the immediate data exposure. Privacy regulators in multiple jurisdictions have opened investigations, and affected individuals are organizing collective action to demand accountability and meaningful remediation. The case highlights systemic weaknesses in how organizations handle personal data and the gap between corporate privacy promises and operational reality.
For impacted individuals, immediate action is critical. Filing a data subject access request forces the company to disclose exactly what data they hold about you, providing the foundation for deletion requests, regulatory complaints, and potential legal action. Below, we outline the specific data types at risk and the concrete steps you can take to protect yourself.
Data Types at Risk
What You Can Do Right Now
Step 1: File a Data Subject Access Request
A DSAR forces GitHub to disclose every piece of personal data they hold about you within 30 days (GDPR) or 45 days (CCPA). This is your legal right regardless of where you live, as most modern privacy laws include some form of access right. The DSAR response will reveal the full scope of data exposure and provide the evidence foundation for any subsequent legal action.
View DSAR guide for GitHub →Step 2: Audit Your Existing Data Exposure
Beyond GitHub, your data likely flows through dozens of connected services and subprocessors. Use a comprehensive privacy audit tool to map your entire data footprint. Identify every company that holds your personal information and assess the risk each one poses based on their security track record and data handling practices.
Step 3: Consider Privacy-First Alternatives
If GitHub has demonstrated it cannot be trusted with your data, explore alternatives that prioritize privacy by design. The following alternatives have been evaluated for their data handling practices, retention policies, and overall privacy posture.
Step 4: Report to Regulators
Individual complaints to data protection authorities create regulatory pressure that drives systemic change. In the EU, file with your national Data Protection Authority. In the US, file with your state Attorney General and the FTC. In the UK, file with the ICO. Each complaint costs nothing to file and contributes to enforcement patterns that regulators use to prioritize investigations. Collective action amplifies individual complaints.
Step 5: Monitor for Downstream Impact
Data exposure effects can take months or years to materialize. Set up monitoring for the specific data types compromised in this incident. For identity data, enable credit monitoring and fraud alerts. For biometric data, monitor for unauthorized account creation. For health data, review medical records and insurance statements regularly. Ongoing vigilance is the most effective defense against delayed exploitation of compromised data.
Unlock Full Privacy Intelligence
Get deep-dive reports on every company that touches your data. SeekerPro members see breach timelines, DSAR success rate...
Learn MoreAudit Your Site Free
Run a full privacy and compliance audit on any website in 60 seconds. NexusBro scans cookie consent, tracker behavior, a...
Learn MoreAutomate Privacy Compliance
Stop wasting hours on manual DSAR filings and cookie consent management. BliniBot handles the busywork so your team can ...
Learn MoreFrequently Asked Questions
Was my GitHub code used to train Copilot?
If you had any public repositories on GitHub before the training cutoff, your code was almost certainly included. GitHub does not provide individual notification or an opt-in mechanism for training data inclusion. You can only opt out of future training.
Do license restrictions apply to Copilot training?
This is the central legal question. GitHub argues that training is transformative and falls outside license scope. Open source advocates argue that if Copilot reproduces licensed code, the license obligations transfer. Courts have not issued a final ruling.
Are there AI coding tools trained only on permissively-licensed code?
Yes. StarCoder2 was trained primarily on permissively-licensed code from the Software Heritage archive. SantaCoder used only permissive licenses. These models trade some capability for cleaner legal provenance.
Related GitHub Investigations
GitHub Copilot Opt-Out Guide: Stop Your Code From Training AI
100M+ developers impacted · 6 data types exposed
critical severityCopilot Code Theft Exposed: How AI Reproduces Licensed Code
100M+ developers impacted · 6 data types exposed
medium severityCopilot vs Local AI Coding: Privacy Comparison for Developers
15M+ Copilot users impacted · 6 data types exposed
Weekly Privacy Intelligence
Scandal alerts, breach notifications, DSAR deadlines, and protection guides. Join 2,400+ privacy-conscious professionals.
No spam. Weekly only. Unsubscribe anytime.
Protect Your Data Across Every Platform
Tools trusted by thousands of privacy-conscious users worldwide
No card charged today. Cancel anytime.