Kai Sedgwick: Bad Code Has Lost $500 Million of Cryptocurrency in Under a Year

xrb security scamcoin raiblocks powh ponzi parity nano n-featured hack bug bitgrail bad-code

Bad Code Has Lost $500 Million of Cryptocurrency in Under a Year

Cryptocurrency can be lost in a variety of ways, from hacking to forgotten passwords and failed flash drives. But in dollar terms, one of the biggest causes of crypto losses is bad code, and it’s not usually the fault of the coin’s developers. Instead, third parties, including shoddy smart contract developers and shady exchanges, are to blame for losses that have reached half a billion dollars in the last seven months.

Also read: Cryptocurrency Exchange Bitgrail Suspends Operations After ‘Losing’ $170 Million of Nano

Bitgrail Gets Railed for Dodgy Code

Last week, news.Bitcoin.com reported on the demise of Bitgrail, which contrived to lose $170 million of nano cryptocurrency. While the precise sequence of events that caused the catastrophic collapse of the exchange with the assets of thousands of customers is still being confirmed, poor code is being blamed. As reported at the time:

There are rumors that Bitgrail became insolvent following a withdrawal bug that was discovered by some users and then shared in Discord and other chat groups, causing the wallet balance to gradually diminish. One user explained: “There was a bug on Bitgrail where if you placed two orders you got double balance added to your account. You could then withdraw while the orders were up and steal the coins. You had negative balance in the end but you could just make a new account.”

Bad Code Has Lost $500 Million of Cryptocurrency in Under a Year

In the aftermath of the incident, this theory has been bolstered by allegations that a bug was indeed responsible, and not in nano’s code, but in Bitgrail’s. One source asserted: “There was a bug, on the withdraw page. But this check was only on java-script client side, you find the js which is sending the request, then you inspect element – console, and run the java-script manually, to send a request for withdrawal of a higher amount than in your balance. Bitgrail delivered this withdrawal. How many people did this? Who knows.”

There was another bug, you could request a withdrawal to your address – from another user-id, from another user-account. That would cause the other users balance to have “missing funds” or “negative balance”. Bitgrail bomber solved this bug by manually entering the “correct” numbers in his database. This is what you get for using a PHP website coded by same skill-level as CfB of IDIOTA.

Even the Best Cryptocurrencies Aren’t Immune to Poor Code

The cryptocurrency most commonly associated with catastrophic bugs is ethereum. That’s not due to its underlying code, but on account of the smart contracts that can be built on top of the ethereum framework. First there was the DAO, which led to ethereum being forked right out the gate, and then there was the Parity bug that caused 150,000 ETH to be stolen, followed by the other Parity bug that caused $168 million of ETH to be locked up.

In the past couple of weeks, ethereum bugs have surfaced once more, albeit on a smaller scale. Proof of Weak Hands (PoWH) was a joke scamcoin which turned into an actual scamcoin after a bug led to the loss of 900 ether worth $1 million that had been sent to the contract address. The developer then disappeared after receiving death threats from investors aggrieved to discover that the joke Ponzi they were buying into was even less legitimate than it had seemed.

Bad Code Has Lost $500 Million of Cryptocurrency in Under a Year
After a smart contract bug led to the loss of 900 ETH, the PoWH website looked like this in the days afterwards

PoWH has since spawned a new scamcoin called ethpyramid which is for “strong hands only”. To the question “Is Ethpyramid secure?” the site responds “Yes. Our dev team put a lot of time into refining and testing this contract to make sure your tokens are safe. Internal functions of the contract are not accessible to the end user.” There’s also PoWH420, “the world’s dank autonomous and self-sustaining 420 pyramid scheme”.

Bad Code Has Lost $500 Million of Cryptocurrency in Under a Year
PoWH 420

Even if joke coins and their joke developers are taken out of the equation, it’s evident that cryptocurrencies are only as strong as their weakest link. While altcoins such as ethereum and nano have undoubted potential, like every other crypto they’re hostage to bugs lurking in wallets, smart contracts, and exchanges. One bad line of code is all it takes.

Do you think Bitgrail was brought down by a withdrawal bug or is there more to this story? Let us know in the comments section below.

Images courtesy of Shutterstock, and PoWH420. Katie Webster assisted with this article. 

Need to calculate your bitcoin holdings? Check our tools section.

The post Bad Code Has Lost $500 Million of Cryptocurrency in Under a Year appeared first on Bitcoin News.

Original article was created by: Kai Sedgwick at news.bitcoin.com

Disclaimer: This article should not be taken as, and is not intended to provide, investment advice. Please conduct your own thorough research before investing in any cryptocurrency or ICO.

One more thing you may be interested in:

Interested in Cryptocurrencies and ICO's?

Follow our telegram channel for daily cryptomarket reports!

Join @cointrends

Related Articles

pubDate Newsline
1 hour ago How Bitcoin Cash Can Avoid the Same Mistakes as Bitcoin Core, Part 4 of 4
4 hours ago Bitcoin in Brief Tuesday: Crypto Revolution Starts Reshaping Global Politics
7 hours ago What Factors Are Influencing Blockchain Technology?
18 hours ago Hebron Resident Accused of Laundering Millions From Stolen Credit Cards With Bitcoin
1 day ago Bitcoin in Brief Monday: New EU Rules Kill Another Crypto Venture
3 weeks ago Bitcoin in Brief Friday: World Satoshi Summit Canceled, Pump and Dump Scheme Exposed
2 days ago China Has Found 421 Fake Cryptocurrencies
1 week ago Indian Ponzi Scheme-Funded Cryptocurrency Mine Raided by Police
3 days ago Coincheck Delists XMR, DASH, ZEC, REP – Prompted by Japanese Regulator
3 days ago Japanese Exchange Coincheck Eyes America for Expansion
1 week ago China Plays Jekyll & Hyde, After Ban It Will Publish Monthly Crypto Report
1 week ago Nano Node Version 13.0 Released
1 week ago Nano Node Version 13.0 Released
1 month ago Nano Foundation Announces Legal Fund For BitGrail Victims
2 weeks ago Bitcoin in Brief Thursday: Bitgrail and Btcxchange Crypto Traders in Troubled Waters
1 month ago Bitgrail’s $170M Hack Continues to Provide Drama
3 weeks ago Bitcoin in Brief Friday: World Satoshi Summit Canceled, Pump and Dump Scheme Exposed
3 weeks ago Exchanges Suspend ERC20 Token Deposits After Discovery of Smart Contract Bug
1 month ago Bitgrail’s $170M Hack Continues to Provide Drama
2 months ago Bitgrail to Refund Hack Victims with Newly Created BGS Tokens
1 month ago Verge Is Forced to Fork After Suffering a 51% Attack
3 months ago ”Zen Master” Steven Seagal Eyes Up a Replacement for Bitcoin

Stay on top of Altcoins and ICO trends.

Subscribe to our free Weekly Cryptomarket report

Delivered once a week, strongly to your inbox.

Subscribe to our mailing list
May 22, 2018

How Bitcoin Cash Can Avoid the Same Mistakes as Bitcoin Core, Part 4 of 4

The following opinion piece on Bitcoin Cash was written by Jonald Fyookball We’ve already discussed 3 reasons why the bitcoin project was subverted: lack of education, lack of clarity, and centralized development. Today I will proffer two more: censorship and propaganda were allowed to run...

From: OP-ED

Johannesburg Gets a New Crypto ATM, Ban Threatened Harare May Lose One

A new crypto teller machine is now operational in South Africa’s largest city, Johannesburg. The ATM, which supports several digital coins, has been installed at a supermarket in the north-western part of the city’s metro area. It is the latest addition to a growing number of terminals...

From: Lubomir Tassev

Bitcoin in Brief Tuesday: Crypto Revolution Starts Reshaping Global Politics

Before all the Lambo memes, shady no-product ICOs, and get-rich-quick schemes invaded the scene, Bitcoin was meant to disrupt the current economic system. Today’s edition of Bitcoin in Brief showcases how that promise is starting to materialize in different fields, including the future of...

From: Avi Mizrahi

ICO Round-Up: Nearly 1 in 5 Offerings Accused of Fraud, Bermuda Passes Regulations, Thai SEC Holds Hearing

A recent “analysis of 1,450 cryptocurrency offerings” published by the Wall Street Journal has claimed to have revealed “rampant plagiarism, identity theft, and promises of improbable returns.” In other ICO news, Bermuda’s parliament has passed regulations that will legitimize...

From: Samuel Haig

PR: eToro Announces Expansion Plans

This is a paid press release, which contains forward looking statements, and should be treated as advertising or promotional material. Bitcoin.com does not endorse nor support this product/service. Bitcoin.com is not responsible for or liable for any content, accuracy or quality within the press...

From: Bitcoin.com PR

Nchain Acquires Majority Stake in BCH-Application Handcash

On Monday the blockchain research and development firm, Nchain, announced the acquisition of a majority stake in the Bitcoin Cash-centric startup Handcash. The Handcash platform allows users to send BCH in a contactless manner using near field communication (NFC) technology. Also read: BCH...

From: Jamie Redman
Upcoming ICO's
This week overview
Cryptocurrency rates
*Last hour average price&change
Coin Name Price Hour
Bitcoin logo BTC $8255.93 0.03%
Ethereum logo ETH $683.329 -0.21%
Ripple logo XRP $0.671178 -0.04%
Bitcoin Cash logo BCH $1178.02 -0.1%
EOS logo EOS $12.9627 0.18%
Litecoin logo LTC $132.63 -0.13%
Cardano logo ADA $0.239182 0%
Stellar logo XLM $0.320189 0.22%
Tronix logo TRX $0.0790614 -0.09%
IOTA logo IOT $1.71492 0.43%
NEO logo NEO $59.645 -0%
DigitalCash logo DASH $375.846 0.15%