0%

Top ten smart contract security risks

30 cze 2021 Czas czytania: 3 min
Obraz baneru artykułu informacyjnego

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.

Popularne wiadomości

How to Set Up and Use Trust Wallet for Binance Smart Chain
#Bitcoin#Bitcoins#Config+2 więcej tagów

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)

Rozpocznij darmowy handel z Cryptohopperem!

Bezpłatne użytkowanie - karta kredytowa nie jest wymagana

Zaczynajmy
Cryptohopper appCryptohopper app

Informacja: Cryptohopper nie jest regulowanym podmiotem. Handel kryptowalutami za pomocą botów wiąże się z dużym ryzykiem, a wcześniejsze wyniki nie gwarantują przyszłych rezultatów. Prezentowane zyski na zrzutach ekranu produktu mają charakter ilustracyjny i mogą być zawyżone. Podejmuj handel botami tylko wtedy, gdy posiadasz odpowiednią wiedzę lub skonsultuj się z wykwalifikowanym doradcą finansowym. Cryptohopper nie ponosi odpowiedzialności za (a) jakiekolwiek straty lub szkody, całkowite lub częściowe, wynikające z transakcji z wykorzystaniem naszego oprogramowania lub (b) jakiekolwiek szkody bezpośrednie, pośrednie, specjalne, wynikowe lub przypadkowe. Pamiętaj, że treści dostępne na platformie handlu społecznościowego Cryptohopper są tworzone przez członków społeczności Cryptohopper i nie stanowią porad lub zaleceń ze strony Cryptohopper. Zyski prezentowane na Rynku nie są gwarancją przyszłych wyników. Korzystając z usług Cryptohopper, akceptujesz ryzyko związane z handlem kryptowalutami i zobowiązujesz się do niepociągania Cryptohopper do odpowiedzialności za ewentualne straty. Przed korzystaniem z naszego oprogramowania lub podjęciem jakiejkolwiek działalności handlowej, konieczne jest zapoznanie się z naszymi Warunkami świadczenia usług i oświadczenie dot. ujawniania ryzyka. Skonsultuj się z prawnikami i doradcami finansowymi, aby uzyskać porady dostosowane do Twojej sytuacji.

©2017 - 2024 Copyright by Cryptohopper™ - Wszelkie prawa zastrzeżone.