News for hackers. Stuff that matters.
Re:The math prodigy whose hack upended DeFi won’t return funds by Ajedi32 on Monday May 23, 2022 @12:05PM (#31480788)
I've seen this argument regarding smart contracts several times now, and I don't think it makes any sense. It's like robbing someone in real life, then claiming you did nothing wrong because you didn't violate the "laws" of physics. Those are two entirely separate things.

In the world of smart contracts code is indeed law, but that doesn't change the fact that in the real world law is law, and the fact that you used a smart contract to commit a crime doesn't make it any less a crime.

Re:The math prodigy whose hack upended DeFi won’t return funds by SamBam on Monday May 23, 2022 @12:22PM (#31481064)
But that is the premise of smart contracts. Sure, it doesn't excuse you from the law if your contract is to pay someone to shoot someone, but it's supposed to be the final word on the actual financial transactions that happen within the contract.

Plenty of crypto hypers say the same. E.g. from a quick search of "Smart Contract advantages," the very first article, by a law firm:

> Guaranteed Outcomes: Potentially the most attractive feature, smart contracts could offer a way to substantially reduce or completely eliminate the need for litigation and courts. This is because when parties commit to using self-executing contracts, they bind themselves to the rules and determinations of the underlying code, rather than exposing themselves to interpretations med by parties outside of the contractual relationship.

https://www.newburnlaw.com/benefits-of-smart-contracts

Re:The math prodigy whose hack upended DeFi won’t return funds by sushid on Monday May 23, 2022 @02:35PM (#31483197)
Smart contracts allow for guaranteed outcomes. Some commentary added by a random law firm does not mean that guaranteed outcomes == no need for litigation and courts.

Just think of non-smart contract parallels. If a bank had an ATM, the premise is that this ATM will execute a series of commands and allow you to withdraw/deposit/transfer funds. If a nefarious back actor found a series of user input that allowed them to withdraw millions of extra dollars, do you believe that the ATM provider will have no legal recourse? What about electronic slot machines?

Re:The math prodigy whose hack upended DeFi won’t return funds by Veserv on Monday May 23, 2022 @05:39PM (#31485108)
The difference is that the ATM provider did not explicitly promise that the “code is law” which directly implies that they want to and aggressively argue that they are waiving their legal recourse as long as they were valid user inputs.

In contrast, basically nobody outside of the blockchain space would waive their legal recourse in such a manner and thus would have legal recourse if the intent of their system was bypassed.

To go on to then argue that a legal system should not allow one to waive those rights as it would be idiotic to do so is a perfectly valid legal/moral/justice position, but also directly contradicts basically the entire purported value proposition of everything in the blockchain space whose primary “positive” differentiating factor is that “code is law” and they have waived those rights. To not allow them to do so basically invalidates their entire purpose.

Essentially, either let people bind themselves to “code is law” and suffer the consequence of their choice, or ban it at which point you lose decentralized trust and censorship-resistance making them no different than traditional implementations except that they are slower with higher operational costs.

Re:The math prodigy whose hack upended DeFi won’t return funds by sushid on Monday May 23, 2022 @07:46PM (#31486258)
Where and when did the defi protocol in question explicitly state "code is law"? No one is waiving legal recourse when they're using Web3. I'm not a lawyer but I'd be very surprised if one could even "waive legal recourse" just because it's blockchain all the way down vs mySQL.

I believe you're making this claim because _some_ crypto proponents believe "code is law" and because your personal logical framing is that web3 has no value add outside of being able to operate without legal recourse thus it must operate without legal recourse.

First, even if web3 had no useful value add, it doesn't mean it ought not exist. I can create a SaaS company that does exactly the same thing another company does just with my own logo and API documentation. Does non-uniqueness invalidate my company's existence? What if I forked an open source SQL database and slapped my name on the repo? Have you heard about something called substitute goods? I don't see why Pepsi can't exist in a world where only Coke is the norm.

Second, web3/blockchain/defi does have benefits outside of traditional web2/finance. The ability to not require depositing your funds into an account to transact on a protocol, for instance, is a clear value add. The ability to buy/sell NFTs without a middleman (if they choose to eschew a middleman) is a novel and potentially valuable value add as well. There are countless other applications of web3 that I won't delve into but these concepts can and should operate within bounds of legal recourse.

Re:The math prodigy whose hack upended DeFi won’t return funds by hnfong on Tuesday May 24, 2022 @09:58PM (#31499795)
> No one is waiving legal recourse when they're using Web3.

I've seen quite a few people do this. May not everyone, but a lot. The "commentary added by a random law firm" is the general sentiment I understood when people were hyped up on smart contracts. There's an industry of smart contract programmers who write code under the assumption that there may be no recourse (to the legal system) if they introduced bugs.

If your attitude represents the sentiment of "web3" these days, it is really a very hilarious backtrack on the previous (hyperbole) claims...

Re:The math prodigy whose hack upended DeFi won’t return funds by cellis on Monday May 23, 2022 @05:01PM (#31484730)
A true non-smart parallel is this. You and I agree on a sporting event between humans. Because I want to construct a fantasy, let's just say it's a three-point basketball contest between adolescents (under 13).

The observer will pay $100 dollars per blocked shot, and earn $1 per 3 point play made. All the games are played 1v1. To the untrained basketball player participants, this may seem to be a fair game. After all, it's quite rare in a real basketball game to see a 3 point shot blocked. So they sign the contract, fully agreeing to pay $100 per blocked shot and earn $1 per made 3 pointer.

To game this as a participant, I go to the ends of the earth ( I hear Sudan and the Netherlands are both nice this time of year ), and find a 6'8 ,215 lb boy and recruit him to play for me. He proceeds to block every single shot in every contest, winning hundreds of thousands of dollars and bankrupting the organizers. Just to further weight this, I also hire an opposing player who is only 4'3 to shoot as many 3 points as possible as quickly as possible.

Now, they signed the contract and agreed to it. They didn't have a clause for height, or any sort of caps, and now they have unlimited downside. How would the legal system handle this? Do you think they would release the participants liability? Perhaps, but not likely if they didn't sign the contract under duress. They fully agreed and had consideration ( the $1 per 3 point made ).

It's a contrived example, but it's useful to show that technicalities can be exploited in real world contracts just the same as smart contracts.

Re:The math prodigy whose hack upended DeFi won’t return funds by fao_ on Monday May 23, 2022 @03:25PM (#31483790)
> Some commentary added by a random law firm does not mean that guaranteed outcomes == no need for litigation and courts.

But it would appear that you expect us to believe that some commentary added by a random hacker news poster means the opposite?

Re:The math prodigy whose hack upended DeFi won’t return funds by sushid on Monday May 23, 2022 @04:37PM (#31484494)
I'm not extrapolating on the premise adding my own commentary. The parent commenter asserts an axiom (that we all purported agree with) and then links an observation to said axiom. I'm merely stating that the observation is not part of said axiom.
Re:The math prodigy whose hack upended DeFi won’t return funds by majormajor on Monday May 23, 2022 @05:35PM (#31485059)
In a world where you're falling back to the legal system, why do I care if your buggy ATM is powered by a "smart contract" or by "regular" code? Why even do you care?

(There have been exploits in both ATMs and smart contracts, after all.)

Re:The math prodigy whose hack upended DeFi won’t return funds by sushid on Monday May 23, 2022 @08:01PM (#31486371)
I primarily care because I think there's money to be made.

But I also think the shift directionally makes sense. Traditional finance (really most transactions for that matter) have moved towards fewer middlemen dependent, more democratized forms of transactions (e.g. wealthy folks can call their traders to buy/sells stock -> open to middle class -> no need to call traders -> no fee no minimum online trading). To me, not requiring institutions to maintain custody of my funds is a value add.

But most importantly, it could just be something different (that fails or doesn't fail, who knows). I don't think the web3 space NEEDS to eschew legal recourse because 1) that's not the only supposedly value add and 2) because it doesn't NEED to provide any value add for that matter. Perhaps web3 can just be the Pepsi the web2's Coca Cola. Only time will tell.

Re:The math prodigy whose hack upended DeFi won’t return funds by shrimp_emoji on Monday May 23, 2022 @08:07PM (#31486419)
>I primarily care because I think there's money to be made.

Crypto /thread

Re:The math prodigy whose hack upended DeFi won’t return funds by sushid on Monday May 23, 2022 @08:42PM (#31486679)
I think there's a difference between betting on the future of an ecosystem and pumping the latest shiba inu X coin trading on Binance but you do you.
Re:The math prodigy whose hack upended DeFi won’t return funds by aaaaaaaaata on Monday May 23, 2022 @10:01PM (#31487222)
Stock market /thread
Re:The math prodigy whose hack upended DeFi won’t return funds by Ataraxic on Monday May 23, 2022 @12:54PM (#31481522)
That may be the premise, but has that actually be held up and recognized as such in courts in major countries? Like are there precedents regarding this?

At that point it's no longer a premise (for those particular countries), but until then it's just a supposition.

I think courts are wary to wade deeply into a new financial system like this but at the same time I find it hard to believe that the judiciary and the legislature would rule (in the long run) that they have no ability to "make things right".

If crypto grows as as many people suggest and you have some significant percentage of the country that has savings or investments tied to these smart contracts, if there is a loophole like in this case, you'd have lots of people writing their local or national representative about this. I find it hard to believe that politicians would tell the people they represent "tough luck code is law".

Re:The math prodigy whose hack upended DeFi won’t return funds by nomel on Monday May 23, 2022 @01:13PM (#31481836)
> be held up and recognized as such in courts in major countries?

Only having a slight understanding of crypto, if local courts are required, what's the point of crypto? Why not use the existing financial systems, where all of this is built in?

Re:The math prodigy whose hack upended DeFi won’t return funds by knorker on Monday May 23, 2022 @01:25PM (#31482012)
The article even hints at this:

> [a crypto bro] criticized the team for turning to a centralized institution like the courts for help

But that's exactly the flaw of smart contracts, and why its promises will never work.

The hard part of contracts was never execution. The hard part was always conflict resolution and abidance by fair rules (i.e. "laws"). The hard part is what creates the overhead.

Smart contracts never solved the hard part. They remove the solution to the hard part, claiming the hard part is not needed at all. But the problems these solutions solve are the hard part. Pretending they don't exist is not "solving" anything.

There are so many examples of this. A minor can't enter into a contract. Severely mentally disabled can't either. Someone with a gun to their head can't either. It doesn't matter if they enter into a million dollar contract. That contract is invalid.

This is not "waste". This is the hard parts.

Re:The math prodigy whose hack upended DeFi won’t return funds by setr on Tuesday May 24, 2022 @12:07AM (#31487869)
Eventually there will be smart contracts with assigned arbitrators capable of undoing dependent smart contract transactions, with the right to execute granted by a separate smart contract, which is controlled by a vote to be taken by a randomly selected set of peers in the community, who must first watch in total a video of the aggrieved and offending parties position their argument.

And arbitration contracts that can arbitrate the arbitration contracts, and so on.

And perhaps a smart contract to allow the amendment of existing contract, by vote of a group of wallets who’ve been elected by another smart contract, who’ve been elected by another smart contract with a larger pool of voters, and so on, until all stakeholders in the contract have had the chance to cast a vote, whose duration as a voter is limited to a 2-4 year term, before requiring another voting round.

Re:The math prodigy whose hack upended DeFi won’t return funds by knorker on Tuesday May 24, 2022 @06:58PM (#31498527)
Maybe. But you still need an override from real courts, when the contracts fail.

That's what courts are for. When someone finds an exploit in the smart contract there must be a "no that's clearly not what anyone meant. Nobody actually wanted all the money in the world to go to Hacker McHackerface".

If your assumption is that one of these contract layers is "perfect", then it's not realistic.

Re:The math prodigy whose hack upended DeFi won’t return funds by setr on Wednesday May 25, 2022 @02:52AM (#31501363)
Thats why you have the arbitration contract… to allow an arbiter to undo the work, with the reasoning “this isn’t what was intended”

But anyways that was in jest; the crypto community will eventually recreate the same systems and bureaucracies already in play today as they run into all the edge cases that occur with traditional currency (fundamentally: currency carries provenance and is only fungible until its not, and the transfer of funds between two parties does not actually involve only the two parties — and lawyers write excessively defensive, excessively long contracts for a reason).

Re:The math prodigy whose hack upended DeFi won’t return funds by sushid on Monday May 23, 2022 @02:45PM (#31483325)
Crytocurrencies != smart contracts. The original premise of bitcoin was essentially to create a decentralized fiat currency. As its value grew the thesis then changed to equate more of a decentralized digital gold/inflation hedge that's easier to store and authenticate than actual gold.

So that's one use of crypto.

In the non Web3 world, we typically have to rely solely on the financial institution providing the service to make transactions. That is, we have to have a Paypal account to withdraw from Paypal. We can only buy/sell Robux on Roblox, etc. Smart contracts allow us to essentially utilize any provider we want without the provider having custody of the funds at any given time.

I can go to any dex I want and transact without depositing funds. The dex also cannot agree to perform a transaction and hold my funds hostage, like how Paypal screws over some of their merchants with their "internal investigations." I can also buy/sell coins that the dex mints (e.g. ORCA coin) anywhere I want. It's not tied to a single account nor is it tied to single exchange.

And that's without getting into NFTs, flash loans, LPs, and other features of Web3.

Re:The math prodigy whose hack upended DeFi won’t return funds by jallen_dot_dev on Monday May 23, 2022 @05:54PM (#31485265)
> it's supposed to be the final word on the actual financial transactions that happen within the contract.

The court doesn't care how crypto idealists think the world should work.

Re:The math prodigy whose hack upended DeFi won’t return funds by thrwy_918 on Monday May 23, 2022 @04:13PM (#31484256)
>In the world of smart contracts code is indeed law, but that doesn't change the fact that in the real world law is law

I think some confusion arises because that "smart contracts" only make sense if code really is law, in the sense that any transaction executed by the contract -- even unexpected, surprising transactions -- is considered to be fully consented to by all parties interacting with the contract.

I agree that that's a terrible idea - bugs can always exist, and having no recourse when millions of dollars are lost due to a coding error is a huge and unreasonable risk.

But otherwise -- if, ultimately, courts can force "smart contract" transactions to be unwound if they are found to be exploitative, unintended or otherwise invalid -- then what's the point of having smart contracts in the first place? What's the value proposition? Why not just use regular contracts?

Re:The math prodigy whose hack upended DeFi won’t return funds by greycol on Monday May 23, 2022 @07:13PM (#31486013)
The same argument could be made about an escrow account. Just because the account gets payed to one party by the third party doesn't mean that the second party couldn't sue the first for the money back. Assuming the third party made a mistake or (more in line with smart contracts) if the escrow was set up in a way were the pay out was just with relation to the escrow terms but wasn't in line with the contract terms between the 1st and 2nd party they'd be likely to get redress.

There's still a very real use for smart contracts in that you change what bad actors can do to act badly. Before they may have been able to breach a contract by ignoring invoices now they breach a contract by exploiting a smart contract loophole. Basically your shuffling the trust and risk around which can be a useful tool. i.e. it can be quite costly to enforce (and do due diligencece on) a contract with someone in another country so the cost and technical risk of setting up a smart contract may be much more preferable than the posisbility of having to legally enforce redress for breach in a regular contract.

Re:The math prodigy whose hack upended DeFi won’t return funds by verdverm on Monday May 23, 2022 @05:31PM (#31485010)
Most people will be coerced into returning funds if the alternative is hard jail time

Smart contract is really the misnomer. In reality, they are automations of contractual obligations and cannot automate complete contract clauses.

Re:The math prodigy whose hack upended DeFi won’t return funds by IanCal on Monday May 23, 2022 @06:11PM (#31485457)
> Why not just use regular contracts?

It's just code, so the same reason we use APIs rather than doing everything by lawyers.

Re:The math prodigy whose hack upended DeFi won’t return funds by DannyBee on Monday May 23, 2022 @12:37PM (#31481266)
This claim makes no sense. In the real world, crimes have very specific definitions. Most are physical, in fact.

For example, robbery is when, with intent to commit theft, you take property by force.

Anything else is not robbery.

Theft by taking is: when a person unlawfully takes or, being in lawful possession thereof, unlawfully appropriates any property of another with the intention of depriving him of the property, regardless of the manner in which property is taken or appropriated.

(The above is georgia, robbery/theft/etc are state crimes so defintions vary a bit)

Again, it requires doing so unlawfully (or converting unlawfully).

If doing what this person did isn't unlawful in the real world, it's not theft, it's not robbery, it's not anything.

So you have to find a crime that actually matches what happened.

It's not wire fraud - that would require " false statement, promise, or misrepresentation in order obtain money or something of value from someone else."

etc

So what crime do you believe this actually is?

(So far i've only seen a civil lawsuit, and while there is a warrant for his arrest, that's for refusing to move the tokens to a neutral third party, or show up to court :P )

Re:The math prodigy whose hack upended DeFi won’t return funds by notahacker on Monday May 23, 2022 @01:48PM (#31482389)
In addition to sounding like textbook embezzlement, I don't think there's any reason to believe that "theft" as define by that very broad Georgia definition couldn't apply here (the "unlawfully" is to exclude certain property appropriations explicitly permitted by law like bailiff seizures or deposit retentions from the definition, not to mean it's not theft if you keep someone's property against their will without breaking any other laws. I don't think it ceases to be "appropriation" of funds simply because you provide something worthless as an exchange either, particularly not with that last clause)
Re:The math prodigy whose hack upended DeFi won’t return funds by DannyBee on Tuesday May 24, 2022 @12:09AM (#31487885)
I will admit have avoided trying to follow the entire rabbit hole of details on this case. So feel free to point out where i've missed some facts. From what i've seen I doubt it would be considered theft for the simple reason that the tokens that were bought/sold didn't belong to anyone else in particular who you could say it was appropriated from. He also paid for all of it, and paid the fair value at the time.

In fact, he paid very high prices for the initial tokens (860 times initial value at one point). Then gave away a bunch of tokens. Then waited for an algorithm to do something dumb around the pricing, and then swapped the tokens.

Who exactly did he appropriate property from here? He paid for all of it, and paid the prices the market demanded. The algorithm did something dumb, but that is no different than some trading bot algorithm doing something dumb and selling for less than it should, which happens all the time.

As for embezzlement, it requires a trust relationship - it's a violation of a fiduciary duty.

I don't think he had one?

So far, i've not seen any criminal charges here, only civil ones. Certainly prosecutors are slower at this sort of thing, but i'll be interested to see what happens.

Re:The math prodigy whose hack upended DeFi won’t return funds by notahacker on Tuesday May 24, 2022 @05:52AM (#31490003)
According to the linked article, he contributed code to the exploited contract (and was even paid for it!). That sounds like a trust relationship, and layers of obfuscation around swaps and "paying fair price" arent going to change the fact the intended net effect of the trades was that all the value in the contract was transferred to him. Big difference between a trading bot doing dumb stuff and trading bots using exploits a contractor engineered to cleverly transfer all the assets under management to himself.
Re:The math prodigy whose hack upended DeFi won’t return funds by DannyBee on Tuesday May 24, 2022 @10:38AM (#31492714)
Yeah, maybe embezzlement then, but still not theft. Depends on what the exact relationship was - most companies go to amazing legal lengths to ensure that they disclaim any relationship between themselves and their contractors. Which is not going to cut in their favor.

There have also been plenty of instances of folks much closer to having relationships + knowledge and not being found to be illegal (though rarely there has been civil liability). IE financial advisors exploiting inside knowledge of their clients portfolios + what their companies are up to to make trades that advantage their companies at the expense of their clients.

As for the rest - the intended net effect of almost all trades in finance is to cleverly transfer the value of everything you can to yourself ;). The only question is whether he had a relationship that makes that illegal or not.

Re:The math prodigy whose hack upended DeFi won’t return funds by daveed on Monday May 23, 2022 @12:17PM (#31480998)
Respectfully disagree. I think I've seen several times the belief(from crypto supporters) that the code is the code is the code, and these are the rules that we play with.

The "laws of physics" analogy doesn't match up. I feel like it would be more appropriate in an anarchist society (physics are the only laws, thus everything that obeys physics is game).

This feels more like discovering an exploit in a video game. It's up to the devs to patch it, or tournaments to outlaw, but if you find something out, you can use it. We agree to play by the rules, but if someone comes up with something last minute, they can win.

Re:The math prodigy whose hack upended DeFi won’t return funds by bombcar on Monday May 23, 2022 @12:21PM (#31481051)
Many people in crypto want to not have to comply with "real world" laws right up until the point where it would be to their benefit to do so.

And if "smart contracts" depend on real law, then they're not really needed in many of the supposed use cases.

Re:The math prodigy whose hack upended DeFi won’t return funds by sushid on Monday May 23, 2022 @01:14PM (#31481852)
Just because there are crypto anarchists doesn't mean that all crypto proponents are anarchists. And smart contracts (not sure why they're in quotes in your comment) can depend on real law and still operate fine (e.g. I'm sure NBA Topshot would file a legal case again Dapper Labs if they did something significantly damaging to their brand/NFTs, etc.).
Re:The math prodigy whose hack upended DeFi won’t return funds by hnfong on Tuesday May 24, 2022 @10:01PM (#31499814)
> Just because there are crypto anarchists doesn't mean that all crypto proponents are anarchists.

That's obvious correct but what's the point? The whole discussion here is that there exists these "crypto anarchists" and their ideal world seems ridiculous to at least a couple people here...

Re:The math prodigy whose hack upended DeFi won’t return funds by Ajedi32 on Monday May 23, 2022 @12:44PM (#31481391)
That's not how the law works though, at least not in any country I know of. If you exploit flaws in computer code to steal something of real-world value, that's a crime.

We're all bound to the laws of physics, just as in the world of smart contracts all are bound to the laws of code. But none of that changes the existence of the laws of men.

Re:The math prodigy whose hack upended DeFi won’t return funds by daveed on Monday May 23, 2022 @01:05PM (#31481704)
(Replying to this one, but the sibling comment feels similar in vein).

- I'm not really saying the crypto-side argument is right, really just trying to clarify my perception of what they're saying re: the comment above me.

- The physics thing is really just a comment re: when it's hypocrisy and when it's not.

- FWIW, theft in crypto isn't super well-defined to me re: the laws of men either. Maybe someone who knows current law better than me can explain, but calling a function in a contract that sends updates from one pseudonymous address to another... I don't actually know if current written definitions of theft covers that, or needs some court to interpret it as theft. We kind of understand it as people, but I honestly don't know if "laws of men" as written, do.

Re:The math prodigy whose hack upended DeFi won’t return funds by hnfong on Tuesday May 24, 2022 @10:09PM (#31499856)
Under common law jurisdictions (and as I understand it in the US too), "intent" of the accused is an important element of the crime. The definition is broad enough to cover crypto theft, but it might require the court to interpret whether the alleged actions were done with "dishonest intent" etc.. which can be a rather subjective thing.

Higher courts, due to their inherent ability to set precedents, usually also consider broader policy concerns eg. whether the decision makes sense from enforcement perspective, how the ecosystem might be affected etc..

Re:The math prodigy whose hack upended DeFi won’t return funds by majormajor on Monday May 23, 2022 @05:38PM (#31485096)
If you do a promotion for giving away free food, and your smart contract accidentally allows someone to get a free sandwich every minute instead of once a day, is it so obvious that someone using your promotion more than once a day is "stealing"?

Ever use a different email address to sign up for a different free trial, say? Let alone people sharing Netflix accounts... where do you draw the line around "stealing" here?

Re:The math prodigy whose hack upended DeFi won’t return funds by mikkergp on Monday May 23, 2022 @05:59PM (#31485322)
> is it so obvious that someone using your promotion more than once a day is "stealing"?

Yes. This is very obviously stealing, particularly if the promotion said it was for use once a day.

Edit: Also, sharing your netflix password may also very well be illegal: https://www.lawjournalnewsletters.com/sites/lawjournalnewsle...

Re:The math prodigy whose hack upended DeFi won’t return funds by User23 on Monday May 23, 2022 @07:28PM (#31486126)
This reminds me of the Pepsi fighter jet affair[1].

[1] https://en.wikipedia.org/wiki/Leonard_v._Pepsico,_Inc.

Re:The math prodigy whose hack upended DeFi won’t return funds by ddingus on Monday May 23, 2022 @12:58PM (#31481608)
Actually, we are only bound to the laws of physics within the limits of our understanding. As our understanding grows, those laws become less and less restrictive. I think it's an interesting analogy or parallel for the case we are discussing.
Re:The math prodigy whose hack upended DeFi won’t return funds by Dylan16807 on Monday May 23, 2022 @04:37PM (#31484496)
I would argue that this wasn't really a code flaw. They made a synthetic asset that calculated its price in a dumb way. That happens plenty often without code, and gets exploited by savvy buyers without code.
Re:The math prodigy whose hack upended DeFi won’t return funds by User23 on Monday May 23, 2022 @07:26PM (#31486117)
The crypto community does seem inclined towards a law of the jungle approach. It's amusing but unsurprising that the wannabe Shere Khans go running to the legal system when they learn they're actually prey.
Re:The math prodigy whose hack upended DeFi won’t return funds by yongjik on Monday May 23, 2022 @12:55PM (#31481547)
I think the problem is, if you put a sign saying "Feel free to break in, I dare you, if you manage to get in the house then you're free to take anything you want!" then you can't later complain when someone does exactly that.

(Well, maybe you can still complain, IANAL, but it gets a lot murkier.)

Re:The math prodigy whose hack upended DeFi won’t return funds by IanCal on Monday May 23, 2022 @06:18PM (#31485540)
This comes down to the intent, doesn't it? It would be different if you had no sign but on the door that opened if someone pushed it because it was badly designed.

People on HN argue this with openly accessible APIs fairly regularly "ah but the machine let me do it, they must be OK with it" and I think that goes down badly in court.

Re:The math prodigy whose hack upended DeFi won’t return funds by rootusrootus on Monday May 23, 2022 @06:15PM (#31485507)
That might be useful in a civil case, but I don't see how it would apply to a criminal case. "If you do X, it is not considered fraud" isn't going to legally bind the criminal justice system in any way.
Re:The math prodigy whose hack upended DeFi won’t return funds by meowface on Monday May 23, 2022 @12:09PM (#31480846)
In the real world law is law, but I think it's still not entirely clear whether smart contracts can be considered legal contracts and how to judge if any particular smart contract is one.

If this smart contract is considered a legally binding contract, then, yes, this would likely be illegal despite the proverbial "letter" of the smart contract not being broken. If it isn't, then it may not necessarily be illegal (but possibly still could be).

Re:The math prodigy whose hack upended DeFi won’t return funds by maxlamb on Monday May 23, 2022 @09:24PM (#31486973)
The problem is that smart contracts are not in fact actual, legal contracts. So finding a loophole means no crime was committed.
Re:The math prodigy whose hack upended DeFi won’t return funds by luxuryballs on Monday May 23, 2022 @10:01PM (#31487218)
I think legally speaking you’re correct, they would need to pass some sort of law or ruling saying that smart contract code can not be ruled incorrect/fraudulent/negligent etc. which nobody is going to pass, so a judge will just laugh at the idea that crypto is above the law.