How safe is blockchain technology? It has proven to be a powerful technology for protecting the integrity of vital information. But that doesn’t mean it’s entirely safe.
The technology has become increasingly prevalent in recent years as the cryptocurrency markets have moved toward centre stage. One reason for its rapid adoption is that blockchain is designed to offer unparalleled security to digital information.
In its short life, blockchain—also known as distributed ledger technology—and the cryptocurrencies it powers has seen its share of successes and failures. And as its applications spread, blockchain security has become more important—and not just for cryptocurrency investors.
How Blockchain Works
In some ways, blockchain technology is like the internet, which relies on a decentralized network rather than just a single server.
Blockchain uses a decentralized, or distributed, ledger that exists on a host of independent computers, often called nodes, to track, announce, and coordinate synchronized transactions. This differs from traditional trading models that rely on a clearinghouse or exchange which tracks everything in a central ledger.
Each node in the decentralized blockchain constantly organizes new data into blocks, and chains them together in an “append only” mode. This append-only structure is an important part of blockchain security. No one on any node can alter or delete the data on earlier blocks—they can only add to the chain. That the chain can only be added to is one of the core security features of blockchain.
By referring to the chain, participants can confirm transactions. It cuts out the need for a central clearing authority.
Blockchain Security Basics
Blockchain is not immune to hacking.
Blockchain is not immune to hacking, but being decentralized gives blockchain a better line of defense. To alter a chain, a hacker or criminal would need control of more than half of all the computers in the same distributed ledger (it’s unlikely, but possible—more on that later).
The largest and best-known blockchain networks, such as Bitcoin and Ethereum, are public, and allow anyone with a computer and an internet connection to participate. Instead of creating a security crisis, having more people on a blockchain network tends to increase security. More participating nodes means that more people are checking one another’s work and calling out bad actors.
That’s one reason why, paradoxically, private blockchain networks that require an invitation to participate can actually be more vulnerable to attack and manipulation.
Permissioned vs. Permissionless Blockchains
As the names imply, permissioned or private blockchains are closed systems that require an invitation to join. This can be useful for businesses like companies and banks, which may want more control over data and thus would restrict outsiders from joining. Ripple, which was created by the banking industry as a way to make low-cost transactions, is an example of permissioned blockchains.
Permissionless blockchains are public—anyone can transact on these blockchains, with no one in control. The data is copied and stored on nodes worldwide, and individuals can remain more or less anonymous. Bitcoin, Dash, Ethereum, and Litecoin are all examples of permissionless blockchains.
The Role of Miners in Blockchain Security
As Bitcoin and other forms of crypto have grown in popularity, so has the process of mining. For speculators, cryptocurrency mining is a way to receive crypto coins or tokens. For the cryptocurrencies themselves, mining contributes to blockchain security, as it’s a way to ensure the integrity of the underlying blockchain of their currencies.
Miners verify the transactions to make sure that they are valid and in line with the blockchain code. For popular crypto currencies like Bitcoin and Litecoin, they submit their proof of work (POW) algorithmic evidence supporting or denying each transaction, and receive payment in the form of coins.
How Blockchain Security Prevents Double Spending
For payments and money transfers, blockchain is useful in preventing “double-spending” attacks. These attacks are a core concern for cryptocurrencies. In a double-spending attack, a user will spend their cryptocurrency more than once. It’s an issue that doesn’t arise with cash. If you spend $5 on a sandwich, then you no longer have the $5 to spend. But with crypto, there’s a risk that a user will spend the crypto multiple times before the network finds out.
Blockchain helps prevent this. Within the blockchain of a given cryptocurrency, the entire network needs to reach consensus on the transaction order, to confirm the latest transaction, and to post them publicly.
Bitcoin was the first form of crypto to solve the problem of double spending. And it serves as an example of how blockchain helps preserve the integrity not just of currency, but of records as a whole. If someone wanted to spend the exact same bitcoin in two places by sending it to two recipients simultaneously, then the two transactions would first go into a pool of unconfirmed transactions.
The first transaction to be confirmed would be added to the coin’s blockchain as the next data block in its transaction history. The second transaction—being connected with the block in the chain that had already been added to—wouldn’t fit into the chain, and the transaction would fail.
Blockchain Security Risks
But even with the security provided by the very nature of blockchain itself in addition to a global network of nodes and miners constantly confirming and protecting the integrity of a blockchain, there are still risks.
No Human Safeguards
One risk is also a supposed benefit: blockchain creates a seamless way to execute transactions.
One risk is also a supposed benefit: blockchain creates a seamless way to execute transactions. There’s no manual intervention required to send or receive money, which eliminates some of the more human safeguards that have evolved over time. While the technology has benefits for ensuring the integrity of the assets identity, or information involved, it is completely agnostic about the sender and receiver. This is one area where a central clearinghouse can exercise valuable discretion.
While this doesn’t pose a direct risk to any crypto assets an investor may hold at the moment, it could lead to issues later. Many critics of bitcoin and other forms of crypto point to its growing use by criminal and terrorist groups to circumvent money-laundering and other bank regulators. The anonymity that crypto allows also made it popular on the Silk Road online bazaar of illegal goods and services that flourished between 2011 and 2013.
That criticism has led to increased interest from regulators in the US and abroad, which could ultimately lead to new laws about how blockchain can and can’t be used.
Other critics point to the high cost of maintaining the networks that make blockchain function. The process of mining these coins, which is vital to their integrity and survival as a working currency, consumes vast amounts of energy. The total energy consumption of the bitcoin network is equal to the electricity needs of 2 million U.S. homes, according to Morgan Stanley.
Because miners are paid in coins, that creates a real risk. If the price of the coins go down low enough, or the price of electricity rises high enough, then people may decide the game isn’t worth the candle.
While the very nature of how blockchain works—using decentralization, consensus, and cryptography—ensures that transactions are basically tamper-proof, hackers have still found ways to defraud the system over the years. In 2019 alone, twelve crypto exchanges were hacked.
These are a few ways the system is vulnerable to hackers.
- Phishing is one problem, in which scammers send bogus emails in an attempt to get wallet key credentials from crypto users. (Securely storing your cryptocurrencies isn’t enough—it’s also essential to stay vigilant about protecting sensitive information.)
- There’s also a chance that one miner or a large enough group of miners could eventually gain control of more than 50% of a network’s mining power. In that case, they’d gain control over the ledger.
- In other situations, hackers can access real-time data as it’s being routed between internet service providers.
How to Choose a Secure Blockchain Network
There are a few things a user can do to make sure the crypto exchange they select is secure. Here’s a checklist to use when choosing an exchange:
- Does the exchange engage auditors to look for flaws in the system?
- Does the exchange store assets in “cold storage” (someplace without an internet connection—think of a paper wallet with a private key)
- Do they offer security options like alerts for suspicious transactions? Two-factor authentication? Multi-signature transactions?
For Blockchain, security is both a strength and a concern. Cryptocurrency transactions—including paying with crypto, investing in crypto, and crypto lending—is anonymous and protected in part by the very way blockchain technology is built. But as with most other technologies, it’s not completely immune to tampering.
That said, users can protect themselves by securely storing their private keys and not falling prey to phishing emails looking for personal information in order to hack your account.
The post originally appeared on SoFi and has been republished with permission.
SoFi’s number one goal is helping our members get their money right.