Live data from Hacker News

A hacker stole $31M of Ether – how it happened, and what it means for Ethereum

medium.freecodecamp.org

151–160 of 440 posts

Re: A hacker stole $31M of Ether – how it happened, and what it means for Ethereum

#151
post #96

Earlier quoted context omitted.

That means there is an entrepreneurial prospect for you to enter the space with a team that has a more serious background, right? Eventually people will generally understand that contracts require serious correct engineering, and you'll be able to capitalize on expertise. Smart contracts have only been generally available for like a couple of years. Most people are clueless about how to do them properly. That means i…

>Eventually people will generally understand that contracts require serious correct engineering, and you'll be able to capitalize on expertise. No one gets paid for exploiting a minor hole in a bridge, causing it to collapse. They will by finding holes in smart contracts, as evidenced. Bug bounty programs do not exist to provide alternative means of financial remuneration for black hat hackers. They exist to provide…

I think we'll be able to just prove the correctness of our contracts and then use them safely. Of course you can't do that with Microsoft Windows because it's too complicated, but you can do it with small contract bytecodes.

Re: A hacker stole $31M of Ether – how it happened, and what it means for Ethereum

#152

So many Ethereum related posts on front page every day lately. Is this some sort of marketing campaign or the sudden increase is just because of the hack?

It's a hot topic right now just like when Bitcoin was first booming. Although today and yesterday especially so because of this hack.

Re: A hacker stole $31M of Ether – how it happened, and what it means for Ethereum

#153
post #46

Earlier quoted context omitted.

Those are not sufficient conditions for a one-time pad. The entire pad, not just some "seed" has to be random. The pad cannot ever be reused even with a different plaintext. Breaking a one-time pad that's been used twice is not very hard. It's equivalent to recovering two texts which have been XORed together, which is not hard for English. One time pad systems are used regularly for high-security embassy-to-State Dep…

I don't understand how this is practical. If you have a highly secure mechanism for distributing the ultimate secret - one-time-pads - why not just distribute the messages in this way? Is it just the fact that it would take two trips for the courier? Or that someone would need to intercept both communications (pad, ciphertext)?

It's not practical for most cases, but the few very very high-security ones. The pads are distributed beforehand, stored securely and used when a message encrypted to them comes in. So it's just that the message can have OTP security while not taking the time of a courier trip and can be just sent on other somewhat insecure channel.

Re: A hacker stole $31M of Ether – how it happened, and what it means for Ethereum

#154

As long as Ethereum apps are powered by a deeply-flawed programming language (Solidity) and VM (EVM), this will happen over and over again. Writing provable, secure software is difficult, and highly unlikely if your environment doesn't force the correct mindset. Solidity (poorly named) was made with the primary goal of being easy for JavaScript / Node hackers to use. The cost of this is now illustrated through the re…

Exactly. I'm amazed that so much of the web today is still based on "easy" scripting languages like JS or Python, which are fragile and error prone.

Once I transitioned to Elm and Haskell, I saw bugs almost disappear. I didn't improve as a dev, I just used a safer language.

Especially when money is involved, correctness and safety should be the number 1 priority.

Re: A hacker stole $31M of Ether – how it happened, and what it means for Ethereum

#155
post #6

>"It’s important to understand that this exploit was not a vulnerability in Ethereum or in Parity itself." I mean.... I guess. It's a feature of Ethereum, if we're going to weasel around.

I know I'm this situation the dev made a simple mistake, but I wonder if Ethereum is safe as a system assuming developers will make many mistakes, and those mistakes will happen more often as more complicated contracts are written. At some point I wonder if the idea of smart contracts is better than a traditional system, since they seem prone to developer error due to complexity.

I think Solidity, and hence Ethereum as a smart contracts platform, really took off because Solidity is easy to get started with. More formal languages make it harder to shoot yourself in the foot, but ... devs don't use them.

The trouble with appealing to the middling devs, of course, is that you end up with middling code, and middling smart contract code is how to shoot yourself in the foot.

https://davidgerard.co.uk/blockchain/ethereum-smart-contract...

Re: A hacker stole $31M of Ether – how it happened, and what it means for Ethereum

#156

Earlier quoted context omitted.

As long as real people can be hauled before a real court, judges and lawyers--but more importantly, the law --will be highly relevant.

You really just simply do not get it. Just like the law can not define Pi to be 3 the law should not be able to influence the outcome of a smart contract if smart contracts work at all because that is how it is intended to work, smart contracts are supposed to be the entirety of the agreement, no outside interpretation should make a difference nor could it make a difference. This is where the Ethereum crowd has - in…

That's not entirely true. The law can make crypto currencies illegal and put them outside the banking system. The US government did this with online gambling payment systems like NetellerC which severely crippled that industry. They also could potentially charge the founding developers and ICOs. Basically if the law makes it too difficult and non-convertible to real currencies and mainstream goods and services then they can exert the necessary influence that will either kill it or force change via the major actors.

Re: A hacker stole $31M of Ether – how it happened, and what it means for Ethereum

#157

> Having sounded the alarm bells, a group of benevolent white-hat hackers from the Ethereum community rapidly organized. They analyzed the attack and realized that there was no way to reverse the thefts, yet many more wallets were vulnerable. Time was of the essence, so they saw only one available option: hack the remaining wallets before the attacker did. > By exploiting the same vulnerability, the white-hats hacked…

> Next time, I'm going to use this case as a counterexample, because when the solution to the problem of "hackers robbing banks" is "vigilantes robbing the remaining banks", something is very wrong with your system

I can see what you're saying, but I don't think that this is a problem with cryptocurrencies specifically, it's a problem with buggy software, yes, but it's something that is the case with every dangerous exploit being actively taken advantage of in the wild, Heartbleed would be an example that doesn't involve cryptocurrencies, but I give you that the Ether-based ecosystem seems to be a particularly buggy collection of software, probably because of too much ambition, (a Turing-complete VM), being written by people with too little experience and applied for very sensitive (monetary) transactions, which seems like a recipe for disaster.

Re: A hacker stole $31M of Ether – how it happened, and what it means for Ethereum

#158

I think the fundamental problem here is an economic one. Make three assumptions: 1) most contracts worth implementing in Ethereum are fairly complex 2) even given great developers, bugs are inevitable in complex code 3) the budget of the contract-makers' security team MUST be smaller than that of the hackers You quickly see that if the chance of a bug is nonzero, "smart contracts" don't make economic sense. If you ha…

Regarding smart contracts and other inventions of cryptocurrency: I think, most of all, the crypto market is absolutely vicious, in a way that both capital markets and technology companies haven't seen(in the public eye) for many, many years. As of right now there's still some faith left that Ethereum is going to go places because firms keep trying to use the technology on the basis of hype. Unlike with most overhype…

It's like EVE Online but for real.

Re: A hacker stole $31M of Ether – how it happened, and what it means for Ethereum

#159
post #36

"smart contracts can also do things that normal contracts can’t, such as enforce a set of rules entirely through unbreakable cryptography." Isn't "unbreakable" a bit of a dirty word in the security community? Is there really such a thing as "unbreakable cryptography"?

"Is there really such a thing as "unbreakable cryptography"?" Yes. One time pads are unbreakable. "Even after the aliens from Andromeda land with their massive spaceships and undreamed-of computing power, they will not be able to read the Soviet spy messages encrypted with one-time pads (unless they can also go back in time and get the one-time pads)." (Bruce Schneier, Applied Cryptography)

Are these the same one time pads that have already been cracked by the NSA after the Soviets reused them?

Re: A hacker stole $31M of Ether – how it happened, and what it means for Ethereum

#160

Earlier quoted context omitted.

You really just simply do not get it. Just like the law can not define Pi to be 3 the law should not be able to influence the outcome of a smart contract if smart contracts work at all because that is how it is intended to work, smart contracts are supposed to be the entirety of the agreement, no outside interpretation should make a difference nor could it make a difference. This is where the Ethereum crowd has - in…

That's not entirely true. The law can make crypto currencies illegal and put them outside the banking system. The US government did this with online gambling payment systems like NetellerC which severely crippled that industry. They also could potentially charge the founding developers and ICOs. Basically if the law makes it too difficult and non-convertible to real currencies and mainstream goods and services then t…

Yes, and the more such laws a country makes the less relevant that country will be in international commerce.

It's very hard to outlaw progress, it will simply route around you, there are many historical examples of this.

Post reply on HN