News for hackers. Stuff that matters.
Re:The math prodigy whose hack upended DeFi won’t return funds by webmaven on Monday May 23, 2022 @03:59PM (#31484138)
The legal system has failure modes that are just as easily exploitable, but humans can intervene and reverse the failure, make people whole, etc.

The problem with smart contracts isn't that there are bugs, but that buggy results are final with little to no recourse, by design, unless you get everyone to agree to hard fork the chain (rolling the "bad" transactions back and eplacing the buggy contract) and/or the implementation (if the bug was in the platform rather than the contract).

The legal system has a similar principle of not being liable for conduct that predates a ruling or law that forbids it, but it also has the principle of agreements being interpreted according to common sense understanding by a person with ordinary skill, and where skill differences exist between them the non-expert's interpretation is the one given precedence.

These meta rules don't have equivalents in smart contract systems, which makes them brittle. The only way smart contracts end up being used for non-trivial purposes is if they are made explicitly subordinate to the existing legal infrastructure in ways that will gum up the works, or if smart contracts are subject to mandatory formal verification possibly including game theoretic 2nd order effects.

Re:The math prodigy whose hack upended DeFi won’t return funds by chx on Monday May 23, 2022 @04:37PM (#31484498)
There was a wonderful summary of what smart contracts are.

https://twitter.com/qrs/status/1395784294451265536

> Smart contracts should be considered self-funded bug-bounty platforms.

Re:The math prodigy whose hack upended DeFi won’t return funds by cinntaile on Monday May 23, 2022 @05:14PM (#31484841)
Mark the "should". It's just an opinion, not a fact.
Re:The math prodigy whose hack upended DeFi won’t return funds by arcticbull on Monday May 23, 2022 @05:56PM (#31485284)
More like a piñata full of money sitting next to a whole pile of sticks.
Re:The math prodigy whose hack upended DeFi won’t return funds by cinntaile on Monday May 23, 2022 @07:01PM (#31485914)
I get that you share the opinion of the tweet. It still does not mean that this is how the legal system will see it.
Re:The math prodigy whose hack upended DeFi won’t return funds by arcticbull on Monday May 23, 2022 @07:07PM (#31485956)
Yeah, you're totally right. I'm very curious to see where things settle out. How does one ever infer intent from a system with anonymous contributors? We do live in interesting times.
Re:The math prodigy whose hack upended DeFi won’t return funds by lostcolony on Monday May 23, 2022 @06:54PM (#31485865)
"Should" is modifying "consider". Considering something is obviously subjective and not fact.
Re:The math prodigy whose hack upended DeFi won’t return funds by cinntaile on Monday May 23, 2022 @07:02PM (#31485924)
Thanks for the English lesson, I'll add it to my notes.
Re:The math prodigy whose hack upended DeFi won’t return funds by 314 on Tuesday May 24, 2022 @02:25AM (#31488664)
If the kid in the story had speculated about his attack it would be an opinion. His attack demonstrates that it is fact. Contrast this with your opinion that the courts will decide his actions were illegal.
Re:The math prodigy whose hack upended DeFi won’t return funds by cinntaile on Tuesday May 24, 2022 @05:57AM (#31490039)
You're reading things I didn't claim. I don't have an opinion on what the courts will decide, I basically said we don't know. My claim is factual and it will be regardless of the outcome.
Re:The math prodigy whose hack upended DeFi won’t return funds by fvdessen on Monday May 23, 2022 @06:17PM (#31485530)
AFAIK the legal system still applies to crypto; the recourse when somebody hacks your smart contract is the same as when somebody defrauds you; you sue. Except with smart contracts you have more traceability as to what happened.

And you don't need to make the smart contract explicitly subordinate to the law, they are as a matter of fact, because everything de facto is. This idea that code is law and crypto exists in a vacuum is complete delirium (although a popular one and sign that the scene has a lot of room to mature)

Re:The math prodigy whose hack upended DeFi won’t return funds by zarzavat on Monday May 23, 2022 @08:22PM (#31486537)
The legal contract of the EVM is “you are allowed to execute any computationally legal sequence of instructions on the EVM”. At least that’s how it has always been presented.

People who post smart contract code on the EVM are equal users of a shared computation infrastructure. If they want to put legal terms on who can use their smart contract and what for, they should need to make their own blockchain platform, because they certainly don’t own Ethereum.

The law already regulates mistakes in traditional markets. If you accidentally sell your shares for a fraction of what they are worth, you cannot go to a judge and ask them to return the “stolen” shares. When you subject yourself to a mechanistic market system, the predictable operation of the system is more important than any participant’s bad fortunes.

Re:The math prodigy whose hack upended DeFi won’t return funds by vageli on Tuesday May 24, 2022 @10:11AM (#31492359)
> The legal contract of the EVM is “you are allowed to execute any computationally legal sequence of instructions on the EVM”.

Where is this contract? I've never seen it. The rest of your argument is based on this premise. The "legal contract" of a computer program is the same, yet we have laws on what you can and can't do to other people's computer programs.

> The law already regulates mistakes in traditional markets. If you accidentally sell your shares for a fraction of what they are worth, you cannot go to a judge and ask them to return the “stolen” shares.

Someone taking all the money from a smart contract you gave money to is not like your fictional example of a person selling their shares for the wrong value.

Re:The math prodigy whose hack upended DeFi won’t return funds by coffeedan on Monday May 23, 2022 @08:12PM (#31486465)
I mean, anyone can sue for anything, but if you're suing for this, good luck: a) finding a judge/jury that understands it, and b) collecting
Re:The math prodigy whose hack upended DeFi won’t return funds by mullingitover on Monday May 23, 2022 @08:37PM (#31486638)
The jury just needs to believe “this person stole something,” and there’s a good chance they’ll judge accordingly. At least there’s a good enough chance that it will happen that it will likely lead to an out of court settlement.
Re:The math prodigy whose hack upended DeFi won’t return funds by LeifCarrotson on Monday May 23, 2022 @04:36PM (#31484487)
I think a lot of the appeal of crypto/smart contracts is that they are final with little to no recourse, humans can't intervene and exploit failure modes which individuals using the so-called contracts can't defend against.

Corporations and wealthy individuals with influence in the writing of this legal system, with massive amounts of financial resources, with negligible moral agency, and with limited criminal liability find very different utility in the ability to use the legal system to roll back contracts, to enforce them, or to ignore them.

Those who find themselves on the other side of this power disparity would often prefer to risk a potentially buggy but inviolate contract than one which they expect to be abused against them.

Re:The math prodigy whose hack upended DeFi won’t return funds by ekidd on Monday May 23, 2022 @07:51PM (#31486289)
> Those who find themselves on the other side of this power disparity would often prefer to risk a potentially buggy but inviolate contract than one which they expect to be abused against them.

There is no way that AT&T, Comcast or Bank of America will ever agree to a smart contract written by an ordinary customer. As always, the companies will write their own contracts, and customers will either accept them, or leave. And if the company has monopoly power, tough luck.

Re:The math prodigy whose hack upended DeFi won’t return funds by chii on Monday May 23, 2022 @11:28PM (#31487677)
so what happens if the company's smart contract has a bug in it, and the customer takes advantage of it?

In an analogous situation, if a shop mis-labels the price of an item (let's say, they forgot a zero or two for a $1000 item), the customer theoretically has the legal basis to purchase it at the labeled price. How is this scenario any different to a block chain contract with a bug?

Re:The math prodigy whose hack upended DeFi won’t return funds by vageli on Tuesday May 24, 2022 @10:14AM (#31492392)
If a site has prices stored on the frontend and a user edits the price to make it lower, do you think the user has a legal basis to receive the item at their new specified price? I don't think many jurisdictions would say they do.

Further, in many places your example itself falls apart.

https://smallbusiness.chron.com/company-advertising-price-wr... https://www.findlaw.com/smallbusiness/business-contracts-for...

Re:The math prodigy whose hack upended DeFi won’t return funds by nybble41 on Tuesday May 24, 2022 @03:09PM (#31496280)
> If a site has prices stored on the frontend and a user edits the price to make it lower, do you think the user has a legal basis to receive the item at their new specified price?

There was a case like that in the early days of online shopping, which was actually decided in favor of the customer. The prices of items in the shopping cart were stored in form fields, and the customer edited them before placing the order. The court considered that a counter-offer which was accepted by the store. (It probably wouldn't go that way today; for one thing online stores have gotten smarter about trusting data from the client.)

That's a bit different from simply editing the client-side view and never informing the merchant about the change, of course.

Re:The math prodigy whose hack upended DeFi won’t return funds by chii on Tuesday May 24, 2022 @09:27PM (#31499598)
i would imagine that directly editing the price on the label is over the line, and the analogy breaks down when compared to smart contracts with bugs.
Re:The math prodigy whose hack upended DeFi won’t return funds by mbreese on Monday May 23, 2022 @05:26PM (#31484944)
I want to know what kind of contracts people entered into before this where they thought they were being abused by a big corporation?

This seems like a noble endeavor, but not an entirely practical one. Both sides of a transaction have to agree to these smart contracts, so where is this an advantage (outside of internal crypto trading)?

Re:The math prodigy whose hack upended DeFi won’t return funds by majormajor on Monday May 23, 2022 @05:33PM (#31485031)
A bunch of those many-to-one individual:corporation contracts (like phone service) are in such imbalanced markets that you'd have to overcome the power balance problem in order to get the other party to adopt the "smart" contract.

But if you can overcome the power balance problem, you can just fix the contracts directly anyway without them being smart?

Re:The math prodigy whose hack upended DeFi won’t return funds by jeffbee on Monday May 23, 2022 @05:02PM (#31484734)
I don't know what jurisprudence you live under, but under English common law (also America, Canada, etc) - which, I must say, I also always denounce and rarely defend - inequitable negotiating power between parties to a contract is considered by courts when adjudicating whether parties have broken it or can be awarded damages. We don't have a system where big powerful organizations can just dictate contracts to powerless individuals and then later enforce them.
Re:The math prodigy whose hack upended DeFi won’t return funds by thaway2839 on Monday May 23, 2022 @10:27PM (#31487359)
Unfortunately US courts have taken a very dim view towards adjusting balance of power.

For example, I don't think there's anywhere else where the mere act of purchasing a product or service can result in you giving up the right to sue the company in court and be forced to enter arbitration with an arbiter of the company's choice.

Re:The math prodigy whose hack upended DeFi won’t return funds by ummonk on Monday May 23, 2022 @07:23PM (#31486100)
That's ridiculous. If we're talking power disparities and differences in resources, corporations could just code up standard smart contracts with loopholes in them that allows the corporations to steal from their customers. It's not like customers have the resources to carefully audit the smart contract and make sure there aren't any backdoors that the corporation has written in to exploit.
Re:The math prodigy whose hack upended DeFi won’t return funds by theelous3 on Monday May 23, 2022 @07:29PM (#31486134)
This is a significantly more ridiculous premise than the one you're calling ridiculous.
Re:The math prodigy whose hack upended DeFi won’t return funds by simonh on Monday May 23, 2022 @07:43PM (#31486241)
During the financial crisis Goldmans traded against the trades of their customers, who were making trades Goldmans had recommended they make. They made a few hundred million on it. Goldmans that is, not their customers.
Re:The math prodigy whose hack upended DeFi won’t return funds by woojoo666 on Monday May 23, 2022 @07:41PM (#31486227)
That's like saying corporations can release complex open source code with backdoors in it and the userbase won't notice. Are there any big instances of this happening?