0%

Top ten smart contract security risks

30. 6. 2021 3 min. čtení
Bannerový obrázek novinového článku

Keep users’ tokens and token networks safe from attackers by teaching developers to write smart contracts and design robust testing based on this list of ERC-20 implementation risks.

In Introducing Solidify, we shared how the Coinbase blockchain security team performs smart contract vulnerability review at scale. A meta analysis across a few hundred token Solidify security reports resulted in a list of most frequent and severe risks based on potential impact to token network security.

The top ten Smart Contract Risks (SCR) fall into three categories:

  1. Operational Risks — Authorization features that are exploited when token network governance is insufficient or flawed

  2. Implementation Risks — Intrinsic errors that result in unintended smart contract behavior

  3. Design Risks — Accepted system features that are exploited to alter intended smart contract behavior

OPERATIONAL RISKS

SCR-1: Super User Account or Privilege Management

The smart contract implements functions that allow a privileged role to unilaterally and arbitrarily alter the functionality of the asset.

SCR-2: Blacklisting and Burning Functions

The smart contract implements functions that allow a privileged role to prohibit a specific address from exercising an essential functionality.

SCR-3: Contract Logic or Asset Configuration can be arbitrarily changed

The smart contract implements functions that allow the holder of a privileged role to unilaterally and arbitrarily alter the functionality of the asset.

SCR-4: Self-Destruct Functions

The smart contract implements a function that allows a privileged role to remove the token contract from the blockchain and destroy all tokens created by the contract.

SCR-5: Minting Functions

The smart contract implements a function that allows a privileged role to increase a token’s circulating supply and/or the balance of an arbitrary account.

IMPLEMENTATION RISKS

SCR-6: Rolling Your Own Crypto and Unique Contract Logic

The smart contract implements functions that allow the holder of a privileged role to unilaterally and arbitrarily alter the functionality of the asset.

SCR-7: Unauthorized Transfers

The smart contract contains functions that circumvent standard authorization patterns for sending tokens from an account.

SCR-8: Incorrect Signature Implementation or Arithmetic

The smart contract contains operations that can result in unexpected contract states or account balances.

DESIGN RISKS

SCR-9: Untrusted Control Flow

The smart contract invokes functions on different smart contracts in order to trigger functionality not defined within the contract itself.

SCR-10: Transaction Order Dependence

The smart contract allows asynchronous transaction processing that can be exploited for profit or protocol correctness through mempool transaction reordering.

For Coinbase customer funds’ safety, the Coinbase blockchain security team assesses all tokens being considered for listing for proper risk mitigations according to the above vulnerabilities. If you’re looking to get a token listed on Coinbase, we encourage you to check your token’s security by reviewing and testing for the aforementioned risks.

Future posts will help you review your token’s security by examining the top Smart Contract Risks in detail and will also provide countermeasure recommendations.

If you are interested in listing your token with Coinbase, visit the Coinbase Asset Hub . If you are interested in securing the future of finance, Coinbase is hiring .

was originally published in The Coinbase Blog on Medium, where people are continuing the conversation by highlighting and responding to this story.

Populární novinky

How to Set Up and Use Trust Wallet for Binance Smart Chain
#Bitcoin#Bitcoins#Config+2 více tagů

How to Set Up and Use Trust Wallet for Binance Smart Chain

Your Essential Guide To Binance Leveraged Tokens

Your Essential Guide To Binance Leveraged Tokens

How to Sell Your Bitcoin Into Cash on Binance (2021 Update)
#Subscriptions

How to Sell Your Bitcoin Into Cash on Binance (2021 Update)

What is Grid Trading? (A Crypto-Futures Guide)

What is Grid Trading? (A Crypto-Futures Guide)

Začněte obchodovat se službou Cryptohopper zdarma!

Bezplatné použití - není vyžadována kreditní karta

Začněme
Cryptohopper appCryptohopper app

Odmítnutí odpovědnosti: Cryptohopper není regulovaným subjektem. Obchodování s kryptoměnovými boty s sebou nese značná rizika a minulá výkonnost není indikátorem budoucích výsledků. Zisky uvedené na snímcích obrazovky produktu jsou ilustrativní a mohou být přehnané. Do obchodování s boty se zapojte pouze v případě, že máte dostatečné znalosti, nebo požádejte o radu kvalifikovaného finančního poradce. Společnost Cryptohopper za žádných okolností nepřebírá žádnou odpovědnost vůči jakékoli osobě nebo subjektu za (a) jakoukoli ztrátu nebo škodu, zcela nebo zčásti, způsobenou transakcemi s naším softwarem, vzniklou v důsledku těchto transakcí nebo v souvislosti s nimi, nebo (b) jakékoli přímé, nepřímé, zvláštní, následné nebo náhodné škody. Upozorňujeme, že obsah dostupný na sociální obchodní platformě Cryptohopper je vytvářen členy komunity Cryptohopper a nepředstavuje radu ani doporučení od společnosti Cryptohopper nebo jejím jménem. Zisky uvedené na Markteplace nejsou indikátorem budoucích výsledků. Používáním služeb Cryptohopper berete na vědomí a přijímáte rizika spojená s obchodováním s kryptoměnami a souhlasíte s tím, že Cryptohopper zbavíte jakýchkoli závazků nebo ztrát. Před použitím našeho softwaru nebo zapojením se do jakýchkoli obchodních aktivit je nezbytné prostudovat a pochopit naše Podmínky poskytování služeb a Zásady zveřejňování rizik. Obraťte se prosím na právní a finanční odborníky, kteří vám poskytnou individuální poradenství na základě vašich konkrétních okolností.

©2017 - 2024 Copyright by Cryptohopper™ - Všechna práva vyhrazena.