Re:Ethereum Contracts Are Going to Be Candy for Hackers
by aab0 on Wednesday May 18, 2016 @07:59PM
(#11726998)
The security history of the JVM suggests that one shouldn't be optimistic there either.
Re:Ethereum Contracts Are Going to Be Candy for Hackers
by rtpg on Wednesday May 18, 2016 @09:51PM
(#11727388)
counterpoint: I haven't really heard of any "javascript escaping the container" bugs in a really long time (excepting node.js-related issues)
Re:Ethereum Contracts Are Going to Be Candy for Hackers
by TheDong on Thursday May 19, 2016 @01:37AM
(#11728233)
Funny, most pwn2owns there are multiple successful escapes of any of a number of js sandboxes. I hear about it at least yearly, if not more often.
Re:Ethereum Contracts Are Going to Be Candy for Hackers
by astrodust on Thursday May 19, 2016 @12:44AM
(#11728033)
JavaScript has several mature, thoroughly scrutinized implementations. Ethereum has one brand new implementation.
To put it mildly: There will be blood.
Re:Ethereum Contracts Are Going to Be Candy for Hackers
by danfinlay on Thursday May 19, 2016 @03:28AM
(#11728618)
There are actually eight different implementations at this time, although the go client has a slight majority of users according to ethstats.net
Re:Ethereum Contracts Are Going to Be Candy for Hackers
by andrewflnr on Thursday May 19, 2016 @02:00AM
(#11728317)
There are at least two ethereum implementations, the main one and one in Rust.
Re:Ethereum Contracts Are Going to Be Candy for Hackers
by ChristianBundy on Wednesday May 18, 2016 @10:12PM
(#11727467)
JavaScript doesn't run on the JVM.
Re:Ethereum Contracts Are Going to Be Candy for Hackers
by cloudjacker on Thursday May 19, 2016 @01:46AM
(#11728270)
thanks for saying this, sometimes I'm like "wow" on hackernews comments, because you kind of assume people know what they're talking about but then its like not really.
Re:Ethereum Contracts Are Going to Be Candy for Hackers
by rtpg on Thursday May 19, 2016 @03:43AM
(#11728674)
I know that Javascript isn't run in the JVM, my point was that it's possible to write a virtual machine that doesn't get exploited every 5 minutes.
the JVM is a bit special because there are a large amount of escape hatches, native code and a complex trust model, which has caused a lot of the exploits you end up seeing.
Re:Ethereum Contracts Are Going to Be Candy for Hackers
by Chris2048 on Thursday May 19, 2016 @06:02AM
(#11729081)
But. JS was designed with this in mind, and has been tested for it for years. It's actually one of the greatest strengths of JS, but I imagine it was a lot of work (except, perhaps, maybe functional languages).
"will be effectively error-free" != "probably as good as the Linux kernel", not even close :D