Live data from Hacker News

Sam Bankman-Fried's secret 'backdoor' discovered, FTX lawyer says

businessinsider.com

71–80 of 122 posts

Re: Sam Bankman-Fried's secret 'backdoor' discovered, FTX lawyer says

#71

Earlier quoted context omitted.

(true || true) is the front door; (false || true) is the back door

Why would he use something other than sbf as his primary account?

The joke is that he is spending money from other people's accounts.

Re: Sam Bankman-Fried's secret 'backdoor' discovered, FTX lawyer says

#72

Interestingly, while some are quoting a "single line of code", the article is actually using some even stranger information: > "Mr. Wang created this back door by inserting a single number into millions of lines of code [emphasis mine] for the exchange, creating a line of credit from FTX to Alameda, to which customers did not consent," [FTX lawyer Andrew Dietderich] added. "And we know the size of that line of credit…

$65B seems oddly specific - could it be that they just set the liquidation limit for Alameda's account to 65,535 (max 16bit unsigned int), in millions of dollars?

Pretty sure their whole stack was in Python

Re: Sam Bankman-Fried's secret 'backdoor' discovered, FTX lawyer says

#74
post #53

Earlier quoted context omitted.

It feels more likely that he just chose $65B rather than an exchange using unsigned 16 bit integers to do accounting.

This is FTX, remember.

This is less of a "haha FTX so dumb" and more of a "how could that possibly ever hang together for 2 years??"

Re: Sam Bankman-Fried's secret 'backdoor' discovered, FTX lawyer says

#75
post #9

Reminds me back at a certain large travel website I worked at, someone left the debug promo codes enabled in prod... Eventually someone found the "5000off" code, and posted it to Slickdeals. We had alarms for bookings that lost us money (especially with bundled flights), so it was found relatively quickly, but around 30 people had used it already... Except SBF was just massive fraud, not a whoopsie doopsie.

How did they find the code? Brute force?

Probably.

    for i := 0; i 
"X% off" codes are pretty common.

Re: Sam Bankman-Fried's secret 'backdoor' discovered, FTX lawyer says

#76
post #10
post #8

I'm guessing this "single line of code" called a function which was 9000 lines. Regardless this is pretty damning smoking gun information if true. "uh-oh, sphaghettio"s becomes a pretty tough legal defense.

The article says “single number”, not “single line of code”.

We all know the number was 42.

Re: Sam Bankman-Fried's secret 'backdoor' discovered, FTX lawyer says

#77
post #62

Earlier quoted context omitted.

Or maybe 5,000 points ($50)? $5k off is a huge discount!

It was a debugging code so it being large isn't an issue

A QA walks into a bar, orders a beer, pays with a $5,000-off coupon.

Test passes

Re: Sam Bankman-Fried's secret 'backdoor' discovered, FTX lawyer says

#78
post #53

Earlier quoted context omitted.

It feels more likely that he just chose $65B rather than an exchange using unsigned 16 bit integers to do accounting.

This is FTX, remember.

Nah, seems like they'd be more likely to use floats for accounting.

Re: Sam Bankman-Fried's secret 'backdoor' discovered, FTX lawyer says

#79
post #9

Reminds me back at a certain large travel website I worked at, someone left the debug promo codes enabled in prod... Eventually someone found the "5000off" code, and posted it to Slickdeals. We had alarms for bookings that lost us money (especially with bundled flights), so it was found relatively quickly, but around 30 people had used it already... Except SBF was just massive fraud, not a whoopsie doopsie.

How did they find the code? Brute force?

I usually try random codes with the following format: COMPANYNAME15, COMPANYNAME20, etc. Every once in a while (maybe 10% of the time?) I get lucky.

Re: Sam Bankman-Fried's secret 'backdoor' discovered, FTX lawyer says

#80
post #9

Reminds me back at a certain large travel website I worked at, someone left the debug promo codes enabled in prod... Eventually someone found the "5000off" code, and posted it to Slickdeals. We had alarms for bookings that lost us money (especially with bundled flights), so it was found relatively quickly, but around 30 people had used it already... Except SBF was just massive fraud, not a whoopsie doopsie.

How did they find the code? Brute force?

"5000off" sounds like the discount code equivalent of "password" as a password. So probably just a wild guess as a joke but then it wasn't a joke.
Post reply on HN