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.

Interested in Cryptocurrencies and ICO's?

Follow our telegram channel for daily cryptomarket reports!

Join @cointrends

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.

Related Articles

pubDate Newsline
57 minutes ago Bitcoin Divorce Presents New Challenge for Rabbinical Court in Israel
3 hours ago American ATM Network Athena Bitcoin Adds Bitcoin Cash Support
2 days ago Security Tips for Gladius Tokens
3 days ago iExec Dev Letter #14: Intel SGX Security and R— 14 Feb 2018
2 days ago Japanese Crypto Associations Merging to Restore Trust Across the Industry
3 days ago Telegram Malware Mobilized to Maliciously Mine Monero and Zcash
3 weeks ago Bitconnect Faces Lawsuit for Operating “Wide-Reaching Ponzi Scheme”
1 week ago Cryptocurrency Exchange Bitgrail Suspends Operations After ‘Losing’ $170 Million of Nano
1 month ago Electrum Moves to Patch Bug That Left Thousands of Bitcoin Wallets Exposed
1 week ago Cryptocurrency Exchange Bitgrail Suspends Operations After ‘Losing’ $170 Million of Nano
2 months ago The Most Pointless Cryptocurrency Tokens Ever Invented
1 week ago Cryptocurrency Exchange Bitgrail Suspends Operations After ‘Losing’ $170 Million of Nano
1 week ago Cryptocurrency Exchange Bitgrail Suspends Operations After ‘Losing’ $170 Million of Nano
1 month ago Bitcoin Crashes! Bitcoin’s Dead! Bitcoin’s Over! Or Is It? A Brief History of Deaths

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

You may also be interested in:

February 19, 2018

Bitcoin Divorce Presents New Challenge for Rabbinical Court in Israel

While some state authorities and financial regulators might deride bitcoin, more people are using the cryptocurrency in their everyday lives. This has recently become evident by divorce cases around the globe involving bitcoin, with the latest example coming from Israel. Also Read: Half of Large...

From: Avi Mizrahi
February 18, 2018

American ATM Network Athena Bitcoin Adds Bitcoin Cash Support

Bitcoin cash (BCH) is now available for trading in dozens of new physical locations across the US. The American ATM network Athena Bitcoin has added support for buying and selling the cryptocurrency for fiat cash on all its machines. Also Read: Polish Financial Authorities Paid Youtuber to...

From: Avi Mizrahi

CFTC Offers $100,000 Bounty to Crypto Pump-and-Dump Whistleblowers

The US Commodity Futures Trading Commission (CFTC) has created a bounty to encourage whistleblowers coming forward in exposing “pump-and-dump” schemes. “Customers should not purchase virtual currencies, digital coins,” the CFTC warned, “or tokens based on social media tips or sudden...

From: C. Edward Kelso

Malta to Give “Peace of Mind” to Crypto Companies

The government of Malta has come up with an idea that businesses dealing with cryptocurrencies may find interesting. A new policy document seeks to set up a special agency which will “certify” blockchain platforms and “verify” crypto transactions. It is supposed to “bring peace of...

From: Lubomir Tassev

PR: Money Token Applies for Royalty-Free Patent on Crypto-Backed Lending Technology

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

Switzerland Enacts ICO Guidelines

Just days before the tiny nation of Gibraltar was said to draft their first initial coin offering (ICO) regulations, Financial Market Supervisory Authority (FINMA) of Switzerland appears to have stolen its thunder in an eleven page document published today. It could be the standard by which...

From: C. Edward Kelso
Upcoming ICO's
This week overview
Token Name Starts
BANCA (BANCA) logo BANCA (BANCA) 1 days
Play 2 Live (LUC) logo Play 2 Live (LUC) 3 days
Origami (ORI) logo Origami (ORI) 4 days
Loyakk Vega (LYK) logo Loyakk Vega (LYK) 4 days
Cryptocurrency rates
*Last hour average price&change
Coin Name Price Hour
Bitcoin logo BTC $10549.6 -0.2%
Ethereum logo ETH $927.572 0.45%
Ripple logo XRP $1.13121 0.58%
Bitcoin Cash logo BCH $1494.36 0.11%
Litecoin logo LTC $217.587 0.62%
Cardano logo ADA $0.389378 0.35%
Stellar logo XLM $0.453891 0.57%
NEO logo NEO $127.606 -0.08%
EOS logo EOS $9.45755 0.54%
IOTA logo IOT $2 0.54%
DigitalCash logo DASH $689.899 0.09%
NEM logo XEM $0.530163 -0.34%