Pages:
Author

Topic: Zerocoin implementation bug (Read 1904 times)

full member
Activity: 190
Merit: 101
April 03, 2017, 01:06:31 PM
#32
member
Activity: 107
Merit: 10
April 03, 2017, 10:18:48 AM
#31
Very likely an inside job.

Which is more likely:

(a) a random outsider on the internet targets obscure cryptocurrency worth less than $10 million instead of much more valuable currencies, pores over their code, finds and exploits a bug that escaped developers, and developers do not notice the mismatch between mint and spend until over 20% of total supply has been maliciously created?

(b) developers (or some of them) of Zcoin notice a bug or deliberately create one in the first instance, when Zcoin doesn't take off quickly enough to make them millionaires off of their 20% shared founders reward, they exploit the bug. After they maliciously create over 20% of total supply they decide that is sufficient to help their present financial needs and any more will spook the market. Then they stage-manage a bug announcement stressing that as almost all the 370,000 maliciously created coins are already sold on the market and won't be dumped the market shouldn't worry?

See my Reddit post for more detail https://www.reddit.com/r/CryptoCurrency/comments/6379u9/zcoin_bug_a_deliberate_inside_job/
legendary
Activity: 3836
Merit: 4969
Doomed to see the future and unable to prevent it
February 27, 2017, 12:24:48 PM
#30
It's an inherent bug intentionally put there then exploited to dump on those stupid enough to buy in. Just a scam like all the rest. Really no-one has seen this pattern from this dev? In that case you all deserve to lose from sheer idiocy.
sr. member
Activity: 476
Merit: 250
February 26, 2017, 04:55:43 AM
#29
#almightyruler
You are right this is very hard work and mistakes can happen, but for coins that actually promoting
 something abstract like zero knowledge or anonymous transactions code must be perfect.
legendary
Activity: 2268
Merit: 1092
February 25, 2017, 09:50:36 PM
#28
They are checking codes only to find malicious, it's not a full review.
What is worse of this, i mean someone created coins from the nothing, and dumped at Bittrex users. In case of malicious code he won't damage only users, he could still and from house, and what we got? House who doesn't care about its users.

Manual code review is labour intensive, and prone to errors. The more the source code deviates from a known reference, the more work it is to review. A cloned shitcoin may only have a small number of changes, but it looks like zcoin has quite a bit of unique code.

There are some programs that can analyze code and help point to potential problems, like undefined behaviour, but they won't catch silly mistakes like using the wrong constant.
sr. member
Activity: 476
Merit: 250
February 25, 2017, 02:49:01 PM
#27
They are checking codes only to find malicious, it's not a full review.
What is worse of this, i mean someone created coins from the nothing, and dumped at Bittrex users. In case of malicious code he won't damage only users, he could still and from house, and what we got? House who doesn't care about its users.
hero member
Activity: 1138
Merit: 574
February 21, 2017, 09:16:11 AM
#26
All this has been for expecting, and who know how all this is going to be ended. I don't understand only how Bittrex did not found those code mistakes, they also can be endangered this way. I thought, they checks code before adding it.

They are checking codes only to find malicious, it's not a full review.
sr. member
Activity: 476
Merit: 250
February 21, 2017, 07:00:28 AM
#25
All this has been for expecting, and who know how all this is going to be ended. I don't understand only how Bittrex did not found those code mistakes, they also can be endangered this way. I thought, they checks code before adding it.
legendary
Activity: 2268
Merit: 1092
February 20, 2017, 07:38:07 PM
#24
There's also an equality vs assignment bug which impacts how the wallet tracks (or doesn't correctly track?) serial numbers of spent private coins:

https://makebitcoingreatagain.wordpress.com/2017/02/18/is-the-zcoin-bug-in-checktransaction/#update4


zccoinSpend.denomination == libzerocoin::ZQ_LOVELACE;

Ouch. Another bit of dead code that would have been completely ignored by the compiler. I wonder if it emits a warning that the code doesn't actually do anything?
newbie
Activity: 16
Merit: 0
February 20, 2017, 06:16:18 PM
#23
There's also an equality vs assignment bug which impacts how the wallet tracks (or doesn't correctly track?) serial numbers of spent private coins:

https://makebitcoingreatagain.wordpress.com/2017/02/18/is-the-zcoin-bug-in-checktransaction/#update4
hero member
Activity: 882
Merit: 500
February 20, 2017, 01:10:55 PM
#22
Poramin and gary: both scammers.

full member
Activity: 129
Merit: 100
February 20, 2017, 11:40:26 AM
#21
https://news.ycombinator.com/item?id=13673214 I came across this post on Hacker News.  ZCash Devs basically claiming that Poramin Ipsom basically just copy/pasted code from the original bitcoin code, and that lazy code work allowed for a double spend.  If true, it's kind of surprising that this kind of bug wasn't caught sooner; along with Poramin being the only dev for ZCoin, and the drama with co-founder Gary Lee, I'd say it might be time to jump ship.

I bought in around 30-70k sats range, and I am very thankful that the price hasn't tanked yet and I was able to liquidate 80% of what I purchased, and get out with a solid profit.  Provided that no new information comes in from Poramin giving a reasonable explanation/defense for this, I'd have to recommend others do the same.
legendary
Activity: 3836
Merit: 4969
Doomed to see the future and unable to prevent it
February 20, 2017, 11:18:54 AM
#20
This is something that ends up killing the coin, we saw the same happen with DAO and now with Zerocoin. This is what differentiates a good project from a bad one, I feel sorry for those who invested and end up losing money on this one.

I don't they are idiots, I and others have been warning all along that the cornerstone of crypto is a trustless setup. PERIOD, there is no way around it.

So you fools that didn't listen pay the price as your the same ones that do it again and again and keep these thieves going.

Stop supporting poor tech and scam ICO just so you can make a quick buck and this massive fleecing will taper off.
legendary
Activity: 1610
Merit: 1183
February 20, 2017, 10:32:54 AM
#19
Zerocoin is just a collapsing coin at least price wise. Look at the damn all time history. We have a coin with a price on constant downtrend, while ironically the marketcap goes up.

The conclusion is clear: The coin distribution is a mess. The more the marketcap grows, the more the price goes down.
legendary
Activity: 2268
Merit: 1092
February 20, 2017, 10:09:41 AM
#18
Some of the code in recent zcoin commits looks to be wandering into undefined behaviour territory...

https://github.com/zcoinofficial/zcoin/commit/ca0bb3cabe300c204749731e3a7c3e7fa1f24c71

- if (pubcoinId < 1 && pubcoinId == INT_MAX) { // IT BEGINS WITH 1
+ if (pubcoinId < 1 || pubcoinId >= INT_MAX) { // IT BEGINS WITH 1


pubcoinId is an int, so it's impossible for it to contain a number greater than INT_MAX. If you add 1 to INT_MAX, you overflow. One of those things that will probably "work fine" in practice (I guess the compiler would internally change >= INT_MAX to == INT_MAX)  but it's still a coding error.

The original code looks quite odd too. How could a signed int contain INT_MAX and also be less than 1? Any modern compiler would probably consider this dead code - the condition can never be satisfied - and ignore the whole code block.
legendary
Activity: 1610
Merit: 1183
February 19, 2017, 08:04:37 PM
#17
You could say that the same happened in bitcoin in the early days (that one bug that needed a hard fork to get rid of generated coins). The difference is, it was the early days of bitcoin, and nobody gave a fuck since it was worthless back then.

Mistakes like this in 2017 could be fatal for a crypto. Another strong point of bitcoin is this will not happen again, and new technologies are at risk of such a thing occurring, the difference is, nowadays it would be a disaster.
sr. member
Activity: 420
Merit: 250
February 19, 2017, 02:55:31 PM
#16
it was an inside jobs. wake up.

Better to say one of the developer left a back door to exploit this bug later on and get away without being noticed.  Wink

This has a 20% dev fee for the first 4 years like ZEC. It's in the devs best interest to keep the coin valuable rather than run an exploit like this early on and dump the coins long before the tokens ever hit their potential in value.

Now the dev fee is going to be burned away for awhile until the double spent coins are leveled.

Does not look like an inside job
hero member
Activity: 700
Merit: 500
CryptoTalk.Org - Get Paid for every Post!
February 19, 2017, 01:43:14 PM
#15
it was an inside jobs. wake up.

Better to say one of the developer left a back door to exploit this bug later on and get away without being noticed.  Wink
sr. member
Activity: 420
Merit: 250
February 19, 2017, 01:41:48 PM
#14
so it is time to buy some ZEC. i have placed an other. they will solve the problem and the price will go up again.

You mean XZC because ZEC has no context to what you just said
legendary
Activity: 1498
Merit: 1117
February 19, 2017, 01:10:16 PM
#13
so it is time to buy some ZEC. i have placed an other. they will solve the problem and the price will go up again.
Pages:
Jump to: