Fraud Files Weekly · Episode 7 · 5 min · 4 June 2026
Following the Money: How a Single Line of Code Exposed FTX’s $8 Billion Fraud
Dive deep into the FTX scandal—unraveling the secrets, the players, and the code behind one of crypto’s biggest collapses.
What this episode covers
Dive deep into the FTX scandal—unraveling the secrets, the players, and the code behind one of crypto’s biggest collapses.
Play this episode
5 min of audio, free in your browser — no account, no app.
Transcript
571 words · the script as narrated
In June 2022, a software developer corrected a single line of code and discovered an eight-billion-dollar hole in FTX's books. Last week, we explored the shadows where corporate crimes hide. Today, we expose the code that allowed the crypto exchange FTX to steal that eight billion dollars in broad daylight. The story begins with a carefully constructed image. Sam Bankman-Fried, or SBF, wasn't just a CEO. He was a character. The brilliant, disheveled crypto prodigy sleeping on a beanbag, pledging to give his billions away. This brand of effective altruism was the company’s most valuable asset.
It bought legitimacy. It bought a nineteen-year naming rights deal for the Miami Heat’s basketball arena. It bought Super Bowl ads and sponsorships on every Major League Baseball umpire’s uniform. The incentive was clear: manufacture trustworthiness at scale, and the customers… and their money… will follow. And they did. But behind the public relations, a different machine was running. When a customer deposited money into FTX, they thought it was sitting safely in their account. It wasn't. The money was routed through a shell company called North Dimension, which was secretly controlled by Bankman-Fried’s other company: a crypto trading firm named Alameda Research.
Customer funds were funneled directly into Alameda’s pockets before they ever even hit the exchange. And once there, the money was Alameda’s to play with. Why? Because of a single switch in the platform’s source code. Testifying under oath, FTX co-founder Gary Wang admitted he built a backdoor. It exempted Alameda from the automatic risk engine that would have liquidated any other user who lost too much money. Alameda could lose billions in customer funds, and the system was designed to look the other way. The firm's CEO, Caroline Ellison, later admitted to preparing seven different alternative balance sheets to hide the ten-billion-dollar hole from lenders.
This wasn't a mistake. It was a conspiracy. The collapse didn't begin with the public panic in November 2022. It began five months earlier, in June. That’s when a developer named Adam Yadidia fixed the faulty deposit-tracking code and saw the eight-billion-dollar gap. He confronted Bankman-Fried directly. The problem was known. The fraud was active. The public implosion in November, sparked by a news report that exposed Alameda’s toxic balance sheet, was just the inevitable conclusion. The money wasn't just lost in bad trades. It was spent. Two hundred and twenty-eight million dollars on Bahamian real estate.
One hundred and ninety-five million in direct payments to company insiders. The money trail was a highway from customer wallets to executive bank accounts. After the bankruptcy, the new CEO, John J. Ray the Third—the same man who cleaned up Enron—described a “complete failure of corporate controls” and an “absence of reliable financial records.” It was chaos. But here is the final, baffling turn. By early 2026, the bankruptcy estate announced a plan to repay ninety-eight percent of creditors… at one hundred and nineteen percent of their claim's value. They were getting all their money back, plus interest.
So who lost? Stanford Law Professor John Donohue argues the biggest loser was the system itself, calling the entire legal process a “catastrophic failure” of blame-shifting and political ambition. The money was recovered, but the trust—meticulously manufactured and then spectacularly betrayed—was not. FTX wasn't just the failure of one man's ethics. It was a test of the financial and legal systems meant to protect us. A test they may have failed.
About Fraud Files Weekly
Dive into the world of corporate crime and white-collar fraud with in-depth investigations that reveal how scandals unfold, who was in the know, and what led to their downfall. Narrated like a seasoned journalist, each episode uncovers the hidden stories behind some of the most notorious financial scandals, revealing the intricate web of deception and the pursuit of justice.
