logo
New Delhi
New Cars
New Bikes
Used Cars
Go Green with EV
News & Reviews
Trending on c&b
Sell Your Car
Scrap Your Car
Pre Delivery Inspection

Registered Office

ADDRESS
Mahindra First Choice Wheels Limited, 602, 6th Floor, Tower - B, Embassy 247, LBS Road, Vikhroli (West), Mumbai - 400083
CONTACT
+91 9606045096
EMAIL
contact@carandbike.com
© Mahindra First Choice Wheels Limited 2025. All rights reserved.
  • Latest News
  • Latest Reviews
  • Car News
  • Bike News
  • Car Reviews
  • Motorsport
  • Bike Reviews
  • Electric

How A Secret Software Change Allowed FTX To Use Client Money

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.
Reuters
Reuters
4 mins read
2022-12-26 18:17:49
Follow us on
How A Secret Software Change Allowed FTX To Use Client Money

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 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.

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.

# Crypto Currency# Technology

Related News

How A Secret Software Change Allowed FTX To Use Client Money
4 mins read
How A Secret Software Change Allowed FTX To Use Client Money
How A Secret Software Change Allowed FTX To Use Client Money
4 mins read
How A Secret Software Change Allowed FTX To Use Client Money
How A Secret Software Change Allowed FTX To Use Client Money
4 mins read
How A Secret Software Change Allowed FTX To Use Client Money
Hivemapper Starts Issuing Crypto Tokens For Vehicle Dashcam Footage
2 mins read
Hivemapper Starts Issuing Crypto Tokens For Vehicle Dashcam Footage
Hivemapper Starts Issuing Crypto Tokens For Vehicle Dashcam Footage
2 mins read
Hivemapper Starts Issuing Crypto Tokens For Vehicle Dashcam Footage

Latest Cars

  • Maserati MCPura
    Maserati
    MCPura
    Ex-showroom Price
    ₹ 4.12 - 5.12 Crore
  • Citroen Aircross X
    Citroen
    Aircross X
    Ex-showroom Price
    ₹ 8.29 - 13.69 Lakh
  • Maruti Suzuki Victoris
    Maruti Suzuki
    Victoris
    Ex-showroom Price
    ₹ 11.93 - 23.19 Lakh
  • VinFast VF7
    VinFast
    VF7
    Ex-showroom Price
    ₹ 24.23 - 29.57 Lakh
  • VinFast VF6
    VinFast
    VF6
    Ex-showroom Price
    ₹ 19.13 - 21.22 Lakh
  • Citroen Basalt X
    Citroen
    Basalt X
    Ex-showroom Price
    ₹ 7.95 - 13.11 Lakh
  • Mercedes-AMG CLE 53
    Mercedes-AMG
    CLE 53
    Ex-showroom Price
    ₹ 1.35 Crore
  • Renault Triber
    Renault
    Triber
    Ex-showroom Price
    ₹ 5.76 - 8.6 Lakh
  • MG M9 EV
    MG
    M9 EV
    Ex-showroom Price
    ₹ 81.08 Lakh
  • BMW 2 Series Gran Coupe
    BMW
    2 Series Gran Coupe
    Ex-showroom Price
    ₹ 48.72 - 50.76 Lakh
Explore Other Topics
Trending NewsCar NewsElectric Car NewsBike NewsComparisonsMotorsportsUpcoming Car News

Trending News

  • TVS Apache RTX: Top 5 Highlights
    1 min read
    TVS Apache RTX: Top 5 Highlights
  • Hyundai’s Made-In-India Electric Sub-4-Metre SUV To Get Level 2 ADAS, 2 Battery Packs
    2 mins read
    Hyundai’s Made-In-India Electric Sub-4-Metre SUV To Get Level 2 ADAS, 2 Battery Packs
  • TVS Apache RTX 300 Adventure Motorcycle Launched At Rs 1.99 Lakh
    3 mins read
    TVS Apache RTX 300 Adventure Motorcycle Launched At Rs 1.99 Lakh
  • Triumph to Unveil 29 New Motorcycles in Next 6 Months
    3 mins read
    Triumph to Unveil 29 New Motorcycles in Next 6 Months
  • Hyundai To Launch 8 Hybrid Cars And SUVs In India By FY2030
    1 min read
    Hyundai To Launch 8 Hybrid Cars And SUVs In India By FY2030
  • Citroen Basalt Scores Zero Stars In Latin NCAP Crash Test
    1 min read
    Citroen Basalt Scores Zero Stars In Latin NCAP Crash Test
  • TVS Apache RTX 300 ADV India Launch LIVE Updates: Price, Specification, Details, Images
    0 mins read
    TVS Apache RTX 300 ADV India Launch LIVE Updates: Price, Specification, Details, Images
  • New Hyundai MPV, Off-Road SUV Confirmed For India
    3 mins read
    New Hyundai MPV, Off-Road SUV Confirmed For India
  • Hyundai India Plots 26 Model Launches By 2030
    1 min read
    Hyundai India Plots 26 Model Launches By 2030

Latest News

  • NewsNews
  • Expert ReviewExpert Review
View All
  • TVS Apache RTX: Top 5 Highlights
    Janak Sorap | Oct 15, 2025
    TVS Apache RTX: Top 5 Highlights
    Available in three variants and five colour options, here are the top highlights of the newest adventure motorcycle from TVS.
    1 min
  • Hyundai’s Made-In-India Electric Sub-4-Metre SUV To Get Level 2 ADAS, 2 Battery Packs
    Seshan Vijayraghvan | Oct 15, 2025
    Hyundai’s Made-In-India Electric Sub-4-Metre SUV To Get Level 2 ADAS, 2 Battery Packs
    The new entry-level Hyundai EV will come with Level 2 Advanced Driver Assistance Systems (ADAS), and the company will have both a standard and a long-range battery option.
    2 mins
  • TVS Apache RTX 300 Adventure Motorcycle Launched At Rs 1.99 Lakh
    Amaan Ahmed | Oct 15, 2025
    TVS Apache RTX 300 Adventure Motorcycle Launched At Rs 1.99 Lakh
    TVS' brand-new adventure motorcycle will be available in a total of three variants and in a choice of five colours.
    3 mins
  • Triumph to Unveil 29 New Motorcycles in Next 6 Months
    Janak Sorap | Oct 15, 2025
    Triumph to Unveil 29 New Motorcycles in Next 6 Months
    Of the 29 unveils, seven have already been unveiled by the manufacturer.
    3 mins
  • Hyundai To Launch 8 Hybrid Cars And SUVs In India By FY2030
    Amaan Ahmed | Oct 15, 2025
    Hyundai To Launch 8 Hybrid Cars And SUVs In India By FY2030
    Hybrid powertrains will be rolled out across Hyundai India's vast passenger vehicle portfolio, covering vehicles in the sub-compact segment as well as "large, premium SUVs".
    1 min
  • Citroen Basalt Scores Zero Stars In Latin NCAP Crash Test
    Bilal Firfiray | Oct 15, 2025
    Citroen Basalt Scores Zero Stars In Latin NCAP Crash Test
    Manufactured in Brazil, the Basalt underwent a more rigorous test for the Latin NCAP, scoring zero stars compared to 4 stars for the India-spec under Bharat NCAP.
    1 min
  • Royal Enfield Guerrilla 450 Vs Bajaj Dominar 400 Comparison Review
    Preetam Bora | Oct 10, 2025
    Royal Enfield Guerrilla 450 Vs Bajaj Dominar 400 Comparison Review
    Roadster or sport tourer? And to answer that question we have the Royal Enfield Guerrilla 450 in a head-to-head comparison with the 2025 Bajaj Dominar 400.
    1 min
  • Tata Harrier EV Road Test: Big, Bold, and Brilliantly Electric
    Bilal Firfiray | Oct 8, 2025
    Tata Harrier EV Road Test: Big, Bold, and Brilliantly Electric
    We test the new Tata Harrier EV to find out how far it can really go. Real-world range, driving impressions, features, verdict, and everything else. We got you covered.
    5 mins
  • Porsche Macan EV Review: Sharper, Faster, More Serious
    Bilal Firfiray | Oct 3, 2025
    Porsche Macan EV Review: Sharper, Faster, More Serious
    When it comes to making EVs, Porsche knows a thing or two. So when the Macan EV become electric-only in its second-gen, how much of the iconic Porsche DNA does it retain?
    6 mins
  • Honda CB 125 Hornet Review: Gunning For Gold!
    Preetam Bora | Oct 1, 2025
    Honda CB 125 Hornet Review: Gunning For Gold!
    Is the Honda CB 125 Hornet just a flashy commuter or a serious contender for the top spot in the segment? We spent a few days with the new CB 125 Hornet to find out.
    6 mins
  • Hyundai Creta Electric vs Tata Curvv EV Comparison: Compact Electric SUVs Face-Off
    Jaiveer Mehra | Oct 2, 2025
    Hyundai Creta Electric vs Tata Curvv EV Comparison: Compact Electric SUVs Face-Off
    The Curvv EV and Creta EV offer compelling options for both first-time EV buyers and those looking to trade up from a smaller segment. But which of these two EVs is the pick of the bunch?
    1 min
  • Home
  • News
  • Technology
  • How A Secret Software Change Allowed FTX To Use Client Money