Source Code Hack Reveals Suno AI Trained on Millions of YouTube Songs, Validating Record Label Lawsuits
A massive data breach at AI music startup Suno has exposed internal source code detailing the scraping of millions of copyrighted songs from platforms like YouTube and Deezer. The leaked data provides concrete evidence for ongoing copyright infringement lawsuits brought by major record labels.
By Joao Marques
- Record Industry
- Music executives argue that AI companies are committing mass copyright infringement to build commercial products.
- AI Companies & Developers
- Developers maintain that analyzing publicly available data is protected under fair use and essential for technological progress.
- Tech & Security Watchdogs
- Security researchers emphasize the lack of transparency in AI training and the privacy risks of corporate data breaches.
Summary
- A hacker breached AI music startup Suno, leaking internal source code from 2023 and 2024.
- The leaked files reveal the company scraped millions of songs from YouTube Music, Deezer, and Genius to train its models.
- The data corroborates allegations in an ongoing copyright infringement lawsuit filed by the RIAA.
- Suno maintains that its training methods are protected under fair use, though it downplayed the severity of the data breach.
In a digital folder simply titled "youtube_music," there sat exactly 2,013,545 audio clips. It wasn't a teenager's meticulously curated playlist, nor was it a DJ's archival library. It was a foundational building block for one of the most popular artificial intelligence tools on the internet. For months, the music industry has suspected that generative AI companies were feeding their models a steady diet of copyrighted hits, transforming the life's work of human artists into synthetic, on-demand audio. Now, a massive data breach at the AI music startup Suno has pulled back the curtain, transforming those industry suspicions into hard, verifiable data.[1][2]
The breach, executed by a hacker using the pseudonym "ellie.191," targeted Suno through a sophisticated supply chain attack in late 2025. By compromising an employee's credentials via a vulnerability known as the Shai-Hulud worm, the hacker extracted internal source code from 2023 and 2024 and shared it with the tech publication 404 Media. This leak provides a rare, unfiltered look into the "black box" of AI training—the closely guarded proprietary processes that tech companies use to teach their algorithms how to mimic human creativity. It represents one of the first times the public has seen the exact instructions an AI company used to vacuum up the internet.[1][2][3]
The leaked code reads like a grocery list of the internet's audio archives—if the shopper were systematically clearing out every aisle without paying. Beyond the two million individual YouTube clips, the files detail the ingestion of 113,879 hours of audio from YouTube Music, 17,615 hours of lyrics and music from Genius, and 12,287 hours from the streaming service Deezer. The scraping instructions didn't stop at pop music. They targeted stock music libraries like Pond5 and Jamendo, classical archives like the International Music Score Library Project, and hundreds of thousands of podcasts pulled directly from public RSS feeds.[1][5]

This revelation arrives at a critical juncture for the creative economy. Suno, which allows users to generate full, polished songs complete with vocals and instrumentation from simple text prompts, is currently facing an existential legal threat. In June 2024, the Recording Industry Association of America (RIAA) coordinated a massive copyright infringement lawsuit against the company. Representing heavyweights like Universal Music Group, Sony Music Entertainment, and Warner Records, the RIAA alleged that Suno built its highly profitable product by exploiting the recorded works of artists ranging from Chuck Berry to Mariah Carey without permission or compensation.[4][5]
This revelation arrives at a critical juncture for the creative economy.
Crucially, the leaked source code appears to validate a specific, highly technical claim in the RIAA's lawsuit: that Suno engaged in "stream-ripping." The labels allege that the AI company didn't just listen to publicly available music, but actively circumvented YouTube's "rolling cipher" encryption. This encryption is a technological measure specifically designed by the platform to prevent unauthorized downloading and copying. If proven in court, bypassing these access controls could violate the anti-circumvention provisions of the Digital Millennium Copyright Act (DMCA)—a legal hurdle that sits entirely apart from the broader, murkier debate over copyright and fair use.[5][6]

For its part, Suno has never explicitly denied training its models on copyrighted material. In previous court filings responding to the RIAA, the company admitted to using "essentially all music files of reasonable quality that are accessible on the open internet," which it estimated at tens of millions of recordings. Suno's legal defense hinges entirely on the concept of "fair use." The company argues that its AI models are not memorizing and regurgitating pre-existing content to serve as a substitute for the originals. Instead, they claim the AI is analyzing the underlying mathematical patterns of music to generate completely new, original outputs—much like a human musician learning to play the guitar by listening to the radio.[3][4]
The fallout from the hack extends beyond intellectual property and into the realm of consumer privacy. The hacker claimed to have accessed sensitive customer records for hundreds of thousands of users, including emails, phone numbers, and partial payment details kept by Suno's payment vendor, Stripe. Following the publication of the leak, a Suno spokesperson confirmed the security incident but downplayed its severity. The company stated that the breach primarily involved outdated source code that is no longer in active use, and vehemently denied that sensitive personal information requiring legal notification was compromised. They maintained that full credit card numbers were never exposed.[1][2]

Regardless of the data privacy dispute, the leak has fundamentally altered the landscape of the AI copyright wars. For years, AI developers have hidden behind the abstraction of "machine learning," treating their training datasets as proprietary trade secrets. By exposing the exact mechanisms, file names, and scale of data scraping, the Suno hack strips away that abstraction. It leaves a concrete trail of code that courts, lawmakers, and the public can finally examine, setting the stage for a legal showdown that will determine the future of music creation.[1][5]
Definitions
- Source Code
- The underlying set of instructions and human-readable text written by programmers that dictates how a software application operates.
- Supply Chain Attack
- A cyberattack that targets a company by infiltrating a third-party vendor, software dependency, or employee credential rather than attacking the company's main network directly.
- Stream-Ripping
- The process of using software to extract and download the underlying audio file from a streaming video or music platform without permission.
- Rolling Cipher
- A dynamic encryption method used by platforms like YouTube to scramble video and audio data, making it difficult for unauthorized tools to download the files.
- Fair Use
- A legal doctrine in US copyright law that permits the limited use of copyrighted material without acquiring permission from the rights holders, often cited by AI companies to justify their training methods.
Chronology
Late 2023
Suno allegedly begins scraping millions of tracks from YouTube, Deezer, and other platforms to build its AI training datasets.
June 2024
The RIAA files a major copyright infringement lawsuit against Suno and Udio on behalf of major record labels.
November 2025
A hacker known as ellie.191 breaches Suno's systems via a supply chain attack, accessing internal source code.
July 2026
Tech publication 404 Media publishes the leaked source code, publicly confirming the scale and sources of Suno's training data.
Analysis by camp
Record Labels & Rights Holders
Music industry executives argue that AI companies are committing mass copyright infringement to build commercial products.
Organizations like the RIAA view the scraping of millions of songs as a clear-cut case of theft. They argue that AI developers are exploiting the life's work of human artists to create tools that will ultimately compete with and devalue human creativity. For the labels, the leaked source code is the smoking gun that proves AI companies bypassed technical safeguards to illegally acquire their training data.
Generative AI Developers
AI companies maintain that analyzing publicly available data is protected under fair use and essential for technological progress.
Developers argue that their models do not store or reproduce copyrighted audio files. Instead, they claim the AI 'listens' to music to learn underlying mathematical patterns, chord progressions, and acoustic structures—a process they equate to a human musician learning from their influences. They warn that restricting training data to only licensed material would cement a monopoly for massive corporations and stifle open-source innovation.
Independent Artists & Creators
Working musicians are caught in the middle, fearing both AI replacement and exploitation by major labels.
Many independent creators feel alienated by both sides of the legal battle. While they are deeply concerned about AI tools scraping their work without consent or compensation, they are equally skeptical of the major record labels claiming to protect them. Some artists worry that if the labels successfully force AI companies into licensing agreements, the resulting revenue will flow entirely to corporate executives rather than the musicians whose work actually trained the models.
Questions & answers
What is Suno AI?
Suno is a popular generative AI platform that allows users to create full, polished songs—including vocals and instrumentation—by simply typing a text prompt.
What does the leaked source code show?
The code reveals that Suno scraped millions of audio clips and hundreds of thousands of hours of music from platforms like YouTube Music, Deezer, and Genius to train its AI models.
Is it illegal to train AI on copyrighted music?
This is currently an unsettled area of law. AI companies argue it falls under 'fair use,' while record labels argue it constitutes massive copyright infringement. Courts have yet to issue a definitive ruling.
Did the hack expose user credit card numbers?
The hacker claimed to have accessed partial payment details via Stripe, but Suno has denied that any full credit card numbers or sensitive personal information requiring legal notification were compromised.
Limits of the evidence
- How the courts will ultimately rule on whether training AI on copyrighted music constitutes fair use.
- The full extent of the consumer data exposed in the breach, as the hacker and Suno offer conflicting accounts.
- Whether the leaked source code will prompt federal regulators to investigate AI data scraping practices.
Significance
This leak provides the first unfiltered look into the 'black box' of how generative AI companies acquire their training data. The outcome of the resulting legal battles will determine whether tech companies can freely use human-created content to build commercial AI tools, fundamentally reshaping the economics of the creative industry.
Sources
[1]404 MediaTech & Security Watchdogs
Hacked source code reveals how Suno scraped decades worth of music and podcasts from the internet to train its AI tool
Read on 404 Media →[2]CNETAI Companies & Developers
Pulling back the curtain on AI-generated music
Read on CNET →[3]FuturismTech & Security Watchdogs
Hack Reveals Suno AI Scraped Millions of Songs
Read on Futurism →[4]AP NewsRecord Industry
Big record companies sue AI song-generators Suno and Udio for copyright infringement
Read on AP News →[5]Music Business WorldwideRecord Industry
Hacked source code from AI music company Suno lists YouTube Music, Deezer, and Genius among platforms scraped
Read on Music Business Worldwide →[6]MixmagTech & Security Watchdogs
AI music generator Suno scraped 'millions of songs' from YouTube, Deezer and Genius
Read on Mixmag →
Comments
Every angle. Every day.
Get culture stories with full source coverage and perspective breakdowns delivered to your inbox.









