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.

Interested in Cryptocurrencies and ICO's?

Follow our telegram channel for daily cryptomarket reports!

Join @cointrends

Related Articles

pubDate Newsline
54 minutes ago A world where cryptoassets are securities
1 day ago Korean Government: 11 out of 21 Crypto Exchanges Complete Security Measures
8 hours ago Three Hackers Held in China Over $87 million Crypto Theft
1 day ago Korean Government: 11 out of 21 Crypto Exchanges Complete Security Measures
8 hours ago Three Hackers Held in China Over $87 million Crypto Theft
21 hours ago The Weekly: McAfee’s Doomed Wallet, Altcoin Panic, Binance Launches Fiat-to-Crypto
2 days ago Over 60% of Top 100 Cryptocurrencies Have No Working Product, Study Claims
6 days ago Weekly Developer Update: 8/13/18
6 days ago Weekly Developer Update: 8/13/18
1 week ago Weekly Project Highlight: Nanode
3 weeks ago $46 Million of Ether is Locked in a Pair of Ponzi Dapps
1 month ago Bitcoin as Lifeline Amid Crushing Devaluation, Extreme Poverty, Sectarian Violence in Nigeria
3 weeks ago $46 Million of Ether is Locked in a Pair of Ponzi Dapps
1 month ago The Billion-Dollar Quest to Eliminate Smart Contract Bugs
2 months ago Ethereum Parity Full Nodes Suffer from Another Critical Issue
1 month ago The Billion-Dollar Quest to Eliminate Smart Contract Bugs
1 month ago Syscoin Hack Disrupts Binance Prompting Temporary Shutdown
2 months ago Bitgrail Bitcoin Assets Taken by Italian Government, Victims Still Fuming
2 months ago Bitgrail Exchange Ordered Down Indefinitely as Italian Court Upholds Halt
2 months ago Bitgrail Bitcoin Assets Taken by Italian Government, Victims Still Fuming
4 months ago Bitgrail’s $170M Hack Continues to Provide Drama
2 months ago Most Masternode Coins Are a Scam
4 months ago Verge Is Forced to Fork After Suffering a 51% Attack

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
August 20, 2018

Japan Roundup: Public Companies Unveil New Mining Plan, Exchange, Token Fund

Three Japanese public companies have individually made announcements regarding their cryptocurrency operations. Forside has grown its mining operation with a plan to sell 7nm bitcoin mining rigs. Farsteps is planning a Singapore exchange launch. Meanwhile, Line Corp, the operator of...

From: Kevin Helms

Second Hand Rigs Are Dumped as the Solo Mining Dream Dies

In the summer of 2017, rising cryptocurrency prices led to a run on high performance graphics cards. Coveted cards with a high hashrate were snapped up like proverbial hot cakes, leaving gamers, scientific researchers, and anyone else who relied on flagship GPUs priced out as the cryptocurrency...

From: Kai Sedgwick
August 19, 2018

Three Hackers Held in China Over $87 million Crypto Theft

Three suspects have been detained by Chinese police in connection with an alleged cryptocurrency theft. The supposed hackers stole bitcoin and other digital assets worth an estimated $87 million USD. Authorities say this is the biggest heist of this type in the People’s Republic so far. Also...

From: Lubomir Tassev

SHA-256 Mining Hashrate Climbs Significantly in One Year

Over the last year, SHA-256 mining, the process that’s used to find blocks on both the Bitcoin Cash (BCH) and Bitcoin Core (BTC) networks, alongside a slew of other cryptocurrencies, has grown exponentially. Digital asset trading markets have been in a slump over the last eight months of 2018,...

From: Jamie Redman

India Bitconnect Head Arrested

Alleged India Bitconnect head, Divyesh Darji, was arrested this week at a airport in Delhi as he arrived from Dubai. He and conspirators are accused of bilking millions of dollars (Rs 88,000 crore) from Indian investors seeking to find financial refuge during the government’s demonetization...

From: C. Edward Kelso

44% of American Executives Think “Blockchain Is Overhyped”, Deloitte Survey Finds

New indicators point to corporate executives starting to wisen up to the notion that so-called blockchain technology is some kind of cure-all drug for their industries that they can just extract from Bitcoin and drop the cryptocurrency behind. The latest example of this is a recent survey by...

From: Avi Mizrahi
Upcoming ICO's
This week overview
Token Name Starts
RoBust Defense Token (RBDT) logo RoBust Defense Token (RBDT) Today
Rubius (RUBY) logo Rubius (RUBY) 1 days
Cryptocurrency rates
*Last hour average price&change
Coin Name Price Hour
Bitcoin logo BTC $6484.62553984 -0.14%
Ethereum logo ETH $301.395542734 0.59%
Ripple logo XRP $0.3425627987 0.3%
Bitcoin Cash logo BCH $566.15896452 0.36%
EOS logo EOS $5.2502430186 0.32%
Stellar logo XLM $0.2295310722 -0.11%
Litecoin logo LTC $57.6344392947 -0.05%
Tether logo USDT $1.0033344152 -0.09%
Cardano logo ADA $0.1007863595 0.03%
Monero logo XMR $99.8271185446 -0.21%
IOTA logo IOT $0.5347635733 0.78%
Tronix logo TRX $0.0220756582 -0.13%