10 ms·
Sam Bankman-Fried's secret 'backdoor' discovered, FTX lawyer says
- LatteLazy 4y agoFiddling your own accounting system is not really a "back door". It's just lying. So far that sums up this whole fraud: it's just bare faced stealing, there is no complexity or master plan...
- Animats 4y agoYes. It's surprising how dumb this whole scam was. Had nothing to do with cryptocurrency technology. It was straight theft of customer assets. Then they lost the money they stole. Probably because they were trying to double-down and win back previous trading losses. Most crypto scams are better run than this. They get people to buy some crap asset, take a slice of the profits, the asset tanks, and the promoters keep their cut. Axie Infinity and Yuga Labs come to mind.
- chrisbrandow 4y agoI want to know what the “single line of code” was
- programmarchy 4y ago`if (account["user_id"] === session.user.id || session.user.username === "sbf") {`
- latchkey 4y agoIf his login username is `sbf`, the second condition would never be hit. Maybe you meant to write `&&`?
- programmarchy 4y agoHuh? (false || true) === true
- latchkey 4y agoMy point is that (true || true) === true
- programmarchy 4y ago(true || true) is the front door; (false || true) is the back door
- latchkey 4y agoWhy would he use something other than sbf as his primary account?
- deleted 4y ago[deleted]
- ALittleLight 4y agoThe joke is that he is spending money from other people's accounts.
- jlawson 4y agoNo, the first conditional checks if the logged-in user is allowed to access the account by ensuring that the the user and account match. OR, if the user is sbf, they always have access regardless of which account it is. That said this wouldn't really set up a line of credit but it is a way to give one user access to everyone's stuff.
- latchkey 4y agoMy point is that the first check would be true because the user is already sbf.
- elefanten 4y agoAssuming he’s using his own account. The joke is he was using all the accounts.
- tylersmith 4y agoThe premise is he's accessing other users accounts. "If the account being accessed belongs to the logged in user, or the logged in user is sbf."
- GrinningFool 4y agoThe first comparison is checking the ID so the rightful owner has access. The second comparison (unless it's been edited since you posted your comment) is checking the username against 'sbf'.
- warinukraine 4y agoAn if that bypasses the check of whether to issue a margin call if your userid is that of Alameda's. Obviously.
- robswc 4y agoif user == 'SBF'; model = TestModelDoNotUse But seriously, I would love to know too. It really could be as simple as allowing a certain account "unlimited" credit, as the article suggests. I only have reservations since it seems like a bit of a game of telephone and sometimes journalists go for the sensational vs simple.
- deleted 4y ago[deleted]
- joshmn 4y ago`if user.id == 1`
- oliwary 4y agoUPDATE accounts SET creditLimit = 65000000000 WHERE accountHolder = "alameda"
- iancmceachern 4y agoSudo
- makestuff 4y agoImpressive that it was a one line code change to allow a 65b credit line. This is some office space level stuff.
- heavyset_go 4y agoSatire is dead and the last couple decades of reality killed it.
- giardia 4y agoI kind of figured it was the other way around.
- recuter 4y agoEvery once in a while I read about some wanna be criminal mastermind that got his idea for a crime from some TV show. Maybe everything is feeding on itself and that's what the singularity actually is, humanity disappearing up its own butthole. Logic as follows: A) Truth is stranger than fiction. - Golden age of streaming begets insatiable thirst for content. 3) An army of writers bangs out every ludicrous plot line imaginable. ◅ Quibi raises $2,000,000,000 to target youngsters with 10-minute quibisoides • Movies with talking raccoons fighting space gods smash box office records *) An AI trained on a billion monkeys with typewriters more efficiently hallucinates imagery than humans deemed possible. Prompt generated raccoons sweep oscars. > SBF commits a 1 line change to FTX that results in 65 jillion dodge boondoggle Somewhere a hackernews reader cackles manically in the darkness of night as he (or she!) conceives of hooking up Chat GPT to news feeds for soft real time true crime drama content generation for Netflix whilst waving goodbye to the last remnants of what was left of their sanity reading this bullshit instead of going to bed its 3am already what are you doing your brain is fried~~ (゚ヮ゚) A16Z invests the GDP of a small country to buy marketshare. A Quaranteeny views a 10 second Quibi ad on TikTok for SBF: The Musical based on the novel "Git Push by SapphireAI" and gets inspired to drop out of high school and run for president. President Comanche is sworn into office, January 20, 2029.
- toss1 4y ago
- hodder 4y agoI'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.
- layer8 4y agoThe article says “single number”, not “single line of code”.
- deleted 4y ago[deleted]
- pigtailgirl 4y ago-- ""Mr. Wang created this back door by inserting a single number into millions of lines of code for the exchange, creating a line of credit from FTX to Alameda, to which customers did not consent," - guessing it was probably a flag? --
- jbverschoor 4y agoIt could be a simple boolean check, right? If superuser? ->
- ogzk 4y agoIt was obviously 0.0072973525693
- binkHN 4y agoWe all know the number was 42.
- erulabs 4y agoProbably an array of primary key id INTs which are allowed to bypass some check function. Add Alamedas account ID, gg.
- awestley 4y agoMaybe he saw Office Space one too many times.
- bearjaws 4y agoReminds 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.
- digianarchist 4y agoHow did they find the code? Brute force?
- deleted 4y ago[deleted]
- radlad 4y agoProbably. for i := 0; i <= 999999; i++ { code = fmt.Sprintf("%doff", i) } "X% off" codes are pretty common.
- sC3DX 4y agoI usually try random codes with the following format: COMPANYNAME15, COMPANYNAME20, etc. Every once in a while (maybe 10% of the time?) I get lucky.
- tssva 4y agoWELCOME10, WELCOME20, etc also work a good amount of the time. A lot of the sign up for our mailing list and get a discount promo codes match up to WELCOME plus the percentage off.
- lcnPylGDnU4H9OF 4y ago"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.
- Kon-Peki 4y ago
- tsimionescu 4y agoInterestingly, 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. It was $65 billion."
- conanbatt 4y ago> inserting a single number into millions of lines of code So basically a clean npm install.
- faangiq 4y agoAbsolutely lulzy to think of cranking out millionssss of lines of code in the ~2 years FTX existed.
- connicpu 4y agoI feel like it's safe to say the bulk of that was generated, and/or they're including all code imported as vendored dependencies
- beaned 4y agoMaybe some specific accounts were hard-coded to have credit lines of certain amounts, and they just changed the one for Alameda from 0 (or whatever) to 65 billion. Not uncommon for a startup to hack features into code directly before there's a db column and frontend to support updating values through an admin interface.
- fragmede 4y agowe're also basing a lot off a reporter's interpretation. Inserting a value into the database by hand would probably have similar effects and still be "programming".
- 4y ago
- wahnfrieden 4y ago“I wanted to get rich not because I loved money, but because I wanted to donate it to charity.” - SBF, notable EA
- mynameishere 4y agoWhen you realize charities are mostly political it makes more sense.
- deleted 4y ago[deleted]
- orangepurple 4y ago[flagged]
- night862 4y agoI think Marc Rich enjoyed much better connections than SBF
- orangepurple 4y agoIt's true. Rich had Mossad leadership campaigning for his pardon because they used his company's offices as fronts.
- dclusin 4y agoHave they punished the total number of customer deposits? They keep saying they found $x billion in assets. But no mention of the liabilities or the delta between the two.
- paradygm 4y agoThe short answer is they don’t know. FTX’s current management is having to rebuild customer accounts by hand because they don’t trust the books https://www.wsj.com/articles/ftx-says-it-has-located-more-than-5-billion-in-cash-liquid-assets-11673452986 https://www.wsj.com/articles/ftx-says-it-has-located-more-th...
- korroziya 4y agoI don't see it mentioned in the article but is SBF still doing the "dumb blonde" act as though this were all an unintended accident or have his lawyers gotten him to tighten his lip?
- dragontamer 4y agohttps://sambf.substack.com/ https://sambf.substack.com/ I'm surprised how dumb SBF is throughout this entire situation.
- voganmother42 4y ago“Dumb blonde” is not useful and such a silly stretch…I don’t think this was a good choice for a description of his actions and weakens the potential impact of your comment considerably.
- bitlax 4y agobabe in the woods then
- dokem 4y ago[flagged]
- korroziya 4y agoI'm not using "dumb blonde" to describe what led up to the scandal, I'm using it to describe his responses to questions after the scandal.
- voganmother42 4y agoSo a description like dumb or dishonest or ignorant would seem much more accurate and useful.
- ineedasername 4y agoI'd probably go with a phrase more like "innocent idiot" than dumb blonde. It even has alliteration, rolls off the tongue nicely in the courtroom for a jury.
- deleted 4y ago[deleted]
- aaroninsf 4y agoGuess: it's a number in a database field not "code"... :P
- lancesells 4y agohttps://web.archive.org/web/20220922164619/https://www.sequoiacap.com/article/sam-bankman-fried-spotlight/ https://web.archive.org/web/20220922164619/https://www.sequo...
- deleted 4y ago[deleted]
- indigodaddy 4y agoyahoo news non-pw version https://finance.yahoo.com/news/sam-bankman-frieds-trading-firm-131659237.html https://finance.yahoo.com/news/sam-bankman-frieds-trading-fi...
- ornornor 4y agoAside: that has to be one of the most confusing and dark patterny cookie consent pop up I’ve seen in a while.
- melx 4y agoWow. That 3rd party providers list is so long they implemented a search box for it.
- matt3210 4y agoif a secret back door is not fraud I don't know what is
- miga 4y agoSBF may have made mistakes or even committed fraud, but it is concerning that bankruptcy attorney does not seem to focus on recovering the value of the assets. If FTX US was liquid, this action has brought down another company...
- function_seven 4y agoI assume they’re being honest about the value of the company. They’re not “lowering” it. The company is worth whatever a potential buyer is willing to pay for it. And whatever that number is, I can’t imagine it’s meaningfully different from “$0”. I’m talking about the brand and the technology, not the assets that need to be distributed to creditors. The alternative here is if the lawyers found the back door, and decided to keep it secret. That’s not ethical IMO.
- stdbrouw 4y agoI thought Matt Levine's take in Wednesday's Money Stuff was insightful: > If you go around talking up the value of the FTX’s business and its tokens, you might be able to talk someone into paying a lot of money for them; maybe not now but perhaps in November. If you go around talking down the value of FTX — if you make statements about how poorly it was run and how much fraud it did — then that value will tend to zero, and you won’t be able to sell it. > At some level Bankman-Fried is surely right that if he had remained CEO of FTX, instead of stepping down and being replaced by Ray, he would have had a better chance — though still quite slim — of selling FTX’s business and tokens for more money, and thus raising more money for FTX’s customers. If you want to sell that business, you have to say that it’s good. > It’s just that, you know, if FTX was a fraud, he would have been getting that money for customers by doing more fraud? Like if Ray is right that FTX was a fraudulent mess, then he shouldn’t be trying to sell it to investors for a lot of money, since that would itself be fraud.
- nieve 4y agoPerhaps that one number was a blockchain address or account number?
- PedroBatista 4y agoIf this is true like the lawyer says, then it's the end of the line for our Sammy.. I don't see how he can pull some miracle to avoid less than 40 years.
- ineedasername 4y agoIt seems insane that they'd let the limit be that high ($65B) but it's really quite reasonable when you look at it from the POV of already performing fraudulent activities. Once you're in the $100M-$500M range of theft, do you really care, does it really register morally/ethically (to the thief), if you bump that up to $65B?