How a secret software change allowed FTX to use client money | The Business Standard
Skip to main content
  • Latest
  • Epaper
  • Economy
    • Banking
    • Stocks
    • Industry
    • Analysis
    • Bazaar
    • RMG
    • Corporates
    • Aviation
  • Videos
    • TBS Today
    • TBS Stories
    • TBS World
    • News of the day
    • TBS Programs
    • Podcast
    • Editor's Pick
  • World+Biz
  • Features
    • Panorama
    • The Big Picture
    • Pursuit
    • Habitat
    • Thoughts
    • Splash
    • Mode
    • Tech
    • Explorer
    • Brands
    • In Focus
    • Book Review
    • Earth
    • Food
    • Luxury
    • Wheels
  • More
    • Sports
    • TBS Graduates
    • Bangladesh
    • Supplement
    • Infograph
    • Archive
    • Gallery
    • Long Read
    • Interviews
    • Offbeat
    • Magazine
    • Climate Change
    • Health
    • Cartoons
  • বাংলা
The Business Standard

Sunday
June 22, 2025

Sign In
Subscribe
  • Latest
  • Epaper
  • Economy
    • Banking
    • Stocks
    • Industry
    • Analysis
    • Bazaar
    • RMG
    • Corporates
    • Aviation
  • Videos
    • TBS Today
    • TBS Stories
    • TBS World
    • News of the day
    • TBS Programs
    • Podcast
    • Editor's Pick
  • World+Biz
  • Features
    • Panorama
    • The Big Picture
    • Pursuit
    • Habitat
    • Thoughts
    • Splash
    • Mode
    • Tech
    • Explorer
    • Brands
    • In Focus
    • Book Review
    • Earth
    • Food
    • Luxury
    • Wheels
  • More
    • Sports
    • TBS Graduates
    • Bangladesh
    • Supplement
    • Infograph
    • Archive
    • Gallery
    • Long Read
    • Interviews
    • Offbeat
    • Magazine
    • Climate Change
    • Health
    • Cartoons
  • বাংলা
SUNDAY, JUNE 22, 2025
How a secret software change allowed FTX to use client money

Global Economy

Reuters
14 December, 2022, 05:45 pm
Last modified: 14 December, 2022, 05:49 pm

Related News

  • US SEC holds crypto task force roundtable as Trump plans regulatory revamp
  • How money laundering probe led to seizure of Tk45cr cryptocurrency
  • Indian police bust cryptocurrency scams near Assam-Bangladesh border
  • Trump names cryptocurrencies in strategic reserve, sending prices up
  • New cryptocurrency scam uses Finance Adviser Salehuddin's image, fake newspaper site to lure victims

How a secret software change allowed FTX to use client money

Reuters
14 December, 2022, 05:45 pm
Last modified: 14 December, 2022, 05:49 pm
Sam Bankman-Fried, who founded and led FTX until a liquidity crunch forced the cryptocurrency exchange to declare bankruptcy, is escorted out of the Magistrate Court building after his arrest, in Nassau, Bahamas December 13, 2022. REUTERS/Dante Carrer
Sam Bankman-Fried, who founded and led FTX until a liquidity crunch forced the cryptocurrency exchange to declare bankruptcy, is escorted out of the Magistrate Court building after his arrest, in Nassau, Bahamas December 13, 2022. REUTERS/Dante Carrer

In mid-2020, FTX's chief engineer made a secret change to the cryptocurrency exchange's software.

He tweaked the code to exempt Alameda Research, a hedge fund owned by FTX founder Sam Bankman-Fried, from a feature on the trading platform that would have automatically sold off Alameda's assets if it was losing too much borrowed money.

In a note explaining the change, the engineer, Nishad Singh, emphasized that FTX should never sell Alameda's positions. "Be extra careful not to liquidate," Singh wrote in the comment in the platform's code, which it showed he helped author. Reuters reviewed the code base, which has not been previously reported.

The Business Standard Google News Keep updated, follow The Business Standard's Google news channel

The exemption allowed Alameda to keep borrowing funds from FTX irrespective of the value of the collateral securing those loans. That tweak in the code got the attention of the U.S. Securities and Exchange Commission, which charged Bankman-Fried with fraud on Tuesday. The SEC said the tweak meant Alameda had a "virtually unlimited line of credit." Furthermore, the billions of dollars that FTX secretly lent to Alameda over the next two years didn't come from its own reserves, but rather were other FTX customers' deposits, the SEC said.

Former FTX CEO Bankman-Fried arrested in Bahamas after US files charges

The SEC and a spokesperson for Bankman-Fried declined to comment for this story. Singh did not respond to several requests for comment.

The regulator, which called the exchange "a house of cards," alleged Bankman-Fried concealed that FTX diverted customer funds to Alameda in order to make undisclosed venture investments, luxury real estate purchases, and political donations. U.S. prosecutors and the Commodity Futures Trading Commission also filed separate criminal and civil charges, respectively.

The complaints – along with previously unreported FTX documents seen by Reuters and three people familiar with the crypto exchange – provide new insights into how Bankman-Fried dipped into customer funds and spent billions more than FTX was making without the knowledge of investors, its customers and most employees.

Police in the Bahamas, where FTX was based, arrested Bankman-Fried on Monday evening, capping a stunning fall from grace for the 30-year-old former billionaire. His company collapsed in November after users rushed to withdraw deposits and investors shunned his requests for more financing. FTX declared bankruptcy on Nov. 11 and Bankman-Fried resigned as chief executive.

Bankman-Fried has apologized to customers, but said he didn't personally think he had any criminal liability.

The auto-liquidation exemption written into FTX code allowed Alameda to continually increase its line of credit until it "grew to tens of billions of dollars and effectively became limitless," the SEC complaint said. It was one of two ways that Bankman-Fried diverted customer funds to Alameda.

The other was a mechanism whereby FTX customers deposited over $8 billion in traditional currency into bank accounts secretly controlled by Alameda. These deposits were reflected in an internal account on FTX that was not tied to Alameda, which concealed its liability, the complaint said.

"SAFE, TESTED AND CONSERVATIVE"

As Bankman-Fried grew FTX into one of the world's largest crypto exchanges, consumer protection was a central tenet of his pitch for crypto regulation in the United States. Bankman-Fried stressed this theme in countless statements to customers, investors, regulators and lawmakers. FTX's auto-liquidation software would protect everyone, he explained.

In congressional testimony on May 12, he called FTX's software "safe, tested and conservative."

"By quickly unwinding the riskiest, most undercollateralized positions, the risk engine prevents build-up of credit risk that could otherwise cascade beyond the platform, resulting in contagion," Bankman-Fried testified.

He did not tell lawmakers about the software change to exempt Alameda. Indeed, he told investors that Alameda received no preferential treatment from FTX, the SEC complaint said.

Bankman-Fried had directed subordinates to update the software in mid-2020 to enable Alameda to maintain a negative balance on its account, the SEC complaint said. No other customer account at Alameda was allowed to do so, the complaint added. This would allow Alameda to keep borrowing more FTX funds without the need to provide more collateral.

In software tweaks made in August 2020, Alameda was designated as the "Primary Market Maker" or "PMM," according to a Reuters review of its codebase. Market makers are dealers who enable trading in an asset by standing ready to buy and sell it.

To explain the change, Singh, the chief engineer, inserted a comment into the code: "Alameda would be liquidating, prevented." He included a warning "not to liquidate the PMM."

Only Singh, Bankman-Fried and a few other top FTX and Alameda executives knew about the exemption in the code, according to three former executives briefed on the matter. A digital dashboard used by staff to track FTX customer assets and liabilities was programmed so it would not take into account that Alameda had withdrawn the client funds, according to two of the people and a screenshot of the portal that Reuters has previously reported.

Bankman-Fried's house of cards "began to crumble" in May 2022, the SEC complaint said.

As the value of crypto tokens plummeted that month, several of Alameda's lenders demanded repayment. Since Alameda didn't have the funds to meet these requests, Bankman-Fried directed Alameda to tap its "line of credit" with FTX to obtain billions of dollars in financing, the complaint said.

Ultimately, when FTX customers dashed to withdraw their money this November, spooked by media reports about the company's financial health, many discovered that their funds were no longer there.

World+Biz

FTX / cryptocurrency

Comments

While most comments will be posted if they are on-topic and not abusive, moderation decisions are subjective. Published comments are readers’ own views and The Business Standard does not endorse any of the readers’ comments.

Top Stories

  • A missile is launched during an air defence drill in an undisclosed location in Iran, in this handout image obtained on January 12, 2025. Photo: Iranian Army/WANA (West Asia News Agency)/Handout via REUTERS
    Iran vows to resist US attacks 'with all its might'
  • Photo: Courtesy
    Bangladesh, China, Pakistan pledge to deepen trilateral cooperation
  • Fahmida Khatun, executive director of the Centre for Policy Dialogue (CPD). Sketch: TBS
    CPD warns of inflation surge in Bangladesh amid Middle East conflict

MOST VIEWED

  • Dhaka Medical College students demonstrate over five demands in front of the institution's main gate in Dhaka on 21 June 2025. Photo: Courtesy
    Dhaka Medical College closed indefinitely amid protests over accommodation, students ordered to vacate halls
  • US Ambassador Dorothy Shea. Photo: Collected
    US ambassador mistakenly says Israel ‘spreading terror’
  • Infographic: TBS
    Airlines struggle to acquire planes amid global supply shortage
  • Muhammad Fouzul Kabir Khan. Sketch: TBS
    Energy prices fall as import arrears reduced to $700–800m: Adviser
  • A US Air Force B-2 Spirit Stealth Bomber (C) is flanked by 4 US Marine Corps F-35 fighters during a flyover of military aircraft down the Hudson River and New York Harbor past York City, and New Jersey, US 4 July, 2020. REUTERS/Mike Segar/File Photo
    B-2 bombers moving to Guam amid Middle East tensions, US officials say
  • A group of students from United International University (UIU) block the main road in Dhaka’s Bhatara Notun Bazar area protesting the expulsion of 26 final-year honours students on Saturday, 21 June 2025. Photo: Rajib Dhar/TBS
    Students block road at Notun Bazar in protest against expulsion of 26 UIU students

Related News

  • US SEC holds crypto task force roundtable as Trump plans regulatory revamp
  • How money laundering probe led to seizure of Tk45cr cryptocurrency
  • Indian police bust cryptocurrency scams near Assam-Bangladesh border
  • Trump names cryptocurrencies in strategic reserve, sending prices up
  • New cryptocurrency scam uses Finance Adviser Salehuddin's image, fake newspaper site to lure victims

Features

The Jeeps rolled out at the earliest hours of Saturday, 14th June, to drive through Nurjahan Tea Estate and Madhabpur Lake, navigating narrow plantation paths with panoramic views. PHOTO: Saikat Roy

Rain, Hills and the Wilderness: Jeep Bangladesh’s ‘Bunobela’ Run Through Sreemangal

1h | Wheels
Illustration: TBS

Examophobia tearing apart Bangladesh’s education system

14h | Panorama
Airmen look at a GBU-57, or Massive Ordnance Penetrator bomb, at Whiteman Air Force Base in Missouri, US in 2023. Photo: Collected

Is the US preparing for direct military action in Iran?

1d | Panorama
Monsoon in Bandarban’s hilly hiking trails means endless adventure — something hundreds of Bangladeshi hikers eagerly await each year. But the risks are sometimes not worth the reward. Photo: Collected

Tragedy on the trail: The deadly cost of unregulated adventure tourism in Bangladesh’s hills

1d | Panorama

More Videos from TBS

Is Israel's main goal to remove Ayatollah Khamenei?

Is Israel's main goal to remove Ayatollah Khamenei?

30m | Others
How the B-2 bomber evaded Iranian radar

How the B-2 bomber evaded Iranian radar

1h | TBS World
US attacks 3 Iranian nuclear facilities, including Fordow

US attacks 3 Iranian nuclear facilities, including Fordow

3h | TBS World
The strategy that keeps Iran alive despite US sanctions

The strategy that keeps Iran alive despite US sanctions

14h | Others
EMAIL US
contact@tbsnews.net
FOLLOW US
WHATSAPP
+880 1847416158
The Business Standard
  • About Us
  • Contact us
  • Sitemap
  • Advertisement
  • Privacy Policy
  • Comment Policy
Copyright © 2025
The Business Standard All rights reserved
Technical Partner: RSI Lab

Contact Us

The Business Standard

Main Office -4/A, Eskaton Garden, Dhaka- 1000

Phone: +8801847 416158 - 59

Send Opinion articles to - oped.tbs@gmail.com

For advertisement- sales@tbsnews.net