News for hackers. Stuff that matters.
Re:DeFi bug accidentally gives $90M to users by jliptzin on Friday October 01, 2021 @09:13AM (#28718000)
If someone accidentally wires you too much money, or wires money to the wrong account, is it not illegal to keep the money?
Re:DeFi bug accidentally gives $90M to users by mikepurvis on Friday October 01, 2021 @09:23AM (#28718100)
But isn't the whole point of crypto to throw off all these inconvenient and unjust regulatory shackles? That technology has perfectly solved transacting in a trustless way, so that we no longer need or want agents of the state threatening citizens with violence in order to compel actions from them?
Re:DeFi bug accidentally gives $90M to users by withinboredom on Friday October 01, 2021 @01:21PM (#28721171)
Good luck with that
Re:DeFi bug accidentally gives $90M to users by elliekelly on Friday October 01, 2021 @09:19AM (#28718062)
Usually, yes. But banks have a process for reclaiming funds that have been incorrectly wired so it’s pretty unusual for the “legality” of it to be litigated.[1] Blockchain has no such process. By design.

[1] A recent high-profile example where the facts and circumstances meant the wrongly wired funds were legally kept by the recipient: https://www.theregister.com/2021/02/19/citibank_money_mistak...

Re:DeFi bug accidentally gives $90M to users by gitfan86 on Friday October 01, 2021 @09:31AM (#28718201)
Most things in life are a tradeoff.

You can't just get rid of 100% of bad things about regulation and keep 100% of the good things about regulations. It reminds me of people who start open relationships. The upside sounds great, but there is a huge potential for downside and you may not fully appreciate that until it happens.

Re:DeFi bug accidentally gives $90M to users by silexia on Saturday October 02, 2021 @06:56PM (#28732852)
Yet another example of how the speculative bubble of crypto is mostly a scam at this point. Just imagine a bug that granted far more than was granted here. How many of us write software that has occasional bugs? Do you really want to trust your net worth that a software bug won't blow you out of the water?
Re:DeFi bug accidentally gives $90M to users by SkeuomorphicBee on Friday October 01, 2021 @09:46AM (#28718359)
No one knows for sure. This question is still not answered in the judiciary (of any country afaik) when it comes to cripto contracts and protocols. It is not as simple as "money wired to a wrong account", those protocols are based on smart contracts, and the concept that the code is the contract (something that also is not tested in court). So a bug in the smart contract code would be akin to signing a contract without properly reading it, and it ends up having a clause you didn't originally want (but you did sign), that kind of "buggy" contract may be 100% enforceable or not depending on the country and the situation.

Other analogy that may be relevant are cases where casinos had slot machines with bugs awarding more prizes than the casino intended. In some cases/jurisdictions the courts ruled in favor of casinos, that the money was awarded incorrectly and should be returned; but in other cases/jurisdictions favored the winner, saying that the winner did everything right according to the rules of the game and should keep the winnings.

Also the Pepsi 349 Scandal in the Philippines in 1992 comes to mind [1]. In that case courts side with Pepsi, but I suspect that money has some inertia in Judges minds, so it was easy to side with Pepsi when it haven't paid yet. I suspect that if all that money had actually been automatically transfered to the many winners, then Pepsi would have a much harder task to convince the judges to make everyone transfer the money back.

[1] https://en.wikipedia.org/wiki/Pepsi_Number_Fever

Re:DeFi bug accidentally gives $90M to users by avereveard on Friday October 01, 2021 @05:29PM (#28723580)
I'm going to add smart contact providers have a strong incentive not to get the concept of smart contact tested in court, as if invalidated it would render them unfit for their purported use.
Re:DeFi bug accidentally gives $90M to users by cecilpl2 on Friday October 01, 2021 @10:19AM (#28718753)
But in this case the Compound contract specified this was intended to happen, therefore it's not an accident nor was the money transferred to the wrong account. The whole point of the contract is that it's a perfect, unambiguous, clear representation of intent.

Right?

Re:DeFi bug accidentally gives $90M to users by BigRedDog1669 on Friday October 01, 2021 @01:50PM (#28721495)
Yes, exactly. If it's specified in the smart contract, that's what everyone signed up for, even if they didn't understand the bug.

If people signed a paper contract and a software system was designed to implement the contract, but the software system erroneously (through a bug) did something that went against the contract, that would be an erroneous payment. But if the code is the contract in a smart contract, bugs aren't contract errors.

Re:DeFi bug accidentally gives $90M to users by lottin on Friday October 01, 2021 @10:40AM (#28719017)
A wire transfer involves a money transmitter, who provides a service according to some terms & conditions. In case of a dispute, a court will have the final word. None of this applies to cryptocurrencies, because cryptocurrency transactions are final. They can't be overridden by a judge. If they could, they wouldn't be censorship resistant. You can have censorship resistance or rule of law, choose one.
Re:DeFi bug accidentally gives $90M to users by int_19h on Friday October 01, 2021 @11:52AM (#28720022)
They can be overridden by the judge in the same exact way cash transactions are: by forcing the offender to make a transfer in the amount that they owe, and/or selling off their other property to pay that debt.

The thing about crypto and ownership is that the blockchain is not the final arbiter of legal ownership, and that qualifier matters in a lot of cases.

Re:DeFi bug accidentally gives $90M to users by jliptzin on Friday October 01, 2021 @11:09AM (#28719461)
Just because there’s technically no mechanism within the protocol to reverse the transaction does not suddenly make it legal to keep the money right? You could spend all the money accidentally wired to you and have nothing left to your name, but you still owe that money. So you could keep the ill-gotten crypto but still be liable for civil or criminal charges.
Re:DeFi bug accidentally gives $90M to users by 8note on Friday October 01, 2021 @08:43PM (#28724942)
You'd be making the argument that the contract was followed perfectly, and it decided that you should have the money. If the code is the contract, the bugs are what everyone signed up for.
Re:DeFi bug accidentally gives $90M to users by tlogan on Friday October 01, 2021 @12:24PM (#28720442)
I believe the US law inforcement will criminally prosecute you if you receive money you have no reason to believe it should be yours (money mule laws, using stolen property, etc.).
Re:DeFi bug accidentally gives $90M to users by colinmhayes on Friday October 01, 2021 @11:45AM (#28719923)
But isn't the point of smart contracts that "code is law" and therefore there are no accidents?
Re:DeFi bug accidentally gives $90M to users by tlogan on Friday October 01, 2021 @12:16PM (#28720336)
Yes. In 99% of cases it is illegal. There are some cases when it ok to keep it (like if one pays off their loan too early [1]) but you will be criminally prosecuted if you do not return money you have no reason to believe it should be yours [2].

[1] https://www.cnn.com/2021/02/16/business/citibank-revlon-laws...

[2] https://www.ktvu.com/news/woman-jailed-after-refusing-to-ret...

Re:DeFi bug accidentally gives $90M to users by hotsauceror on Friday October 01, 2021 @01:56PM (#28721566)
I'm not sure about the 'wrong account' scenario, but there was a case last year where Citibank accidentally paid off 'too much' of an outstanding debt to one of their creditors, and tried to recoup the money in court. They lost. But of course, they legitimately owed the money.
Re:DeFi bug accidentally gives $90M to users by perryizgr8 on Friday October 01, 2021 @09:20AM (#28718078)
Not always. Remember the Citibank Revlon case?

https://www.cnn.com/2021/02/16/business/citibank-revlon-laws...

Re:DeFi bug accidentally gives $90M to users by wombatmobile on Friday October 01, 2021 @09:25AM (#28718128)
In the Citibank case, the beneficiaries were entitled to the money because they were the original lenders, and did not know that (what appeared to be) the repayment had been accidentally wired.
Re:DeFi bug accidentally gives $90M to users by zinekeller on Friday October 01, 2021 @09:33AM (#28718217)
Correct. This is equivalent to you paying your bills early. Sure, it sucks to be stuck in a money crunch if you found it out later, but your financial mismanagement doesn't automatically mean that the you have the right to ask your utilities to return the money.
Re:DeFi bug accidentally gives $90M to users by manquer on Friday October 01, 2021 @12:47PM (#28720696)
Actually revelon owed the money and city actually paid. It is more akin to your dad paying your bills mistake.
Re:DeFi bug accidentally gives $90M to users by princeb on Friday October 01, 2021 @10:18AM (#28718745)
hmm i don't know. generally speaking, money today is not the same as money tomorrow. and so,

if you think about money as a commodity, to be consumed, transformed, redeployed, similar to let's say... corn. what would you do, as a grain processor, if your supplier decided to show up with 500k bushels six months too early?

Re:DeFi bug accidentally gives $90M to users by zinekeller on Friday October 01, 2021 @10:32AM (#28718911)
I think that the analogy is reasonable, mainly because both examples are the type of debts that can be serviced (i.e. repaid) anytime (unless your utilities needs to be pre-paid before you can use it, which in case it breaks down because it becomes a bought thing, not a borrowed thing). There are recommended schedules to pay them, as well as a hard deadline, but you can usually pay them early (and sometimes those early payments can be rewarded, for example by reduced interests).

Your example mainly deals with futures (a type of financial instrument), mainly because you have agreed to pay within a tight schedule, which does not allow you to service them too early nor too late. Also, you forgot that money was invented to be widely fungible (okay, you can argue if this is true in this age but I argue it's still largely is) meaning that it can be (relatively speaking) easier to convert to corn, stocks, or generators (for example), which is different from corn which is only usable to a subset of people, meaning that you can only deal with those people which needs or wants corn (for example, you cannot easily get generators with corn).

Re:DeFi bug accidentally gives $90M to users by princeb on Saturday October 02, 2021 @01:06AM (#28726123)
a couple thousand dollars here and there might be fungible, but at some scale it's not true that money today is money tomorrow. there generally needs to exist some method of transforming money today into money tomorrow, through various mechanisms that are broadly called "carry", and there also exists the possibility that these mechanisms become momentarily unavailable.

additionally, the lenders to revlon took on both an expectation on money in the future and a non-zero default probability. maybe you can say it is fine for money in the future to be money in the present, making the layman assumption that the carry mechanism exists every single day from the date of accidental payment to the date of actual payment, but the lenders cannot also give up the non-zero default probability. that's their obligation in return for full future payment. but since payment and the obligation are inseparable, i personally see no difference between early payment with no obligation and shylock's taking of a pound of flesh and all the blood along with it.

Re:DeFi bug accidentally gives $90M to users by wizzwizz4 on Friday October 01, 2021 @10:33AM (#28718935)
If you think of money as corn, then of course you get a different answer. But money is not corn; it is money.

Money is not a commodity; it's a quantity of fungible tokens (plus the other stuff that makes it money). Money doesn't expire; the closest thing is tax. Yes, it's worth a different amount as time goes on, but debts are generally money debts rather than value debts.

Re:DeFi bug accidentally gives $90M to users by easytiger on Friday October 01, 2021 @09:14AM (#28718013)
That's certainly the case in the UK at least