Risk Warning: Beware of illegal fundraising in the name of 'virtual currency' and 'blockchain'. — Five departments including the Banking and Insurance Regulatory Commission
Information
Discover
Search
Login
简中
繁中
English
日本語
한국어
ภาษาไทย
Tiếng Việt
BTC
ETH
HTX
SOL
BNB
View Market
SoMo: An Innovative Tool to Identify Unsafe Function Modifiers in Ethereum Smart Contracts
AgentLayer
特邀专栏作者
2023-05-25 10:01
This article is about 679 words, reading the full article takes about 1 minutes
By using better programming techniques and testing tools, we can help prevent attacks on smart contracts and secure our digital transactions.

paperpaperIn , the research team examined more than 62,000 smart contracts and found 411 vulnerable contracts that contained modifiers that could be bypassed. To address these issues, MetaTrust has integrated the newly developed tool SoMo into its well-known smart contract security scanning serviceMetaScanmiddle.

The main purpose of this research is to identify unsafe modifiers, "bypassable modifiers", which can be bypassed in one or more unprotected smart contract functions. For example, the following "onlyOwner" modifier can be bypassed by calling the public function Mining24(). Therefore, an attacker can exploit sensitive functions protected by the onlyOwner modifier.

data setdata set91.2% accuracy for 62464 contracts in .

This research also reveals the main uses of modifiers in real-world scenarios, including access control, finance-related, contract state, and miscellaneous checks, as shown in the table below. These findings suggest that modifiers are often leveraged by developers for security-sensitive operations, but they may not be well protected.

Overall, much work remains to be done to ensure that blockchain technology is safe and secure. By using better programming techniques and testing tools, we can help prevent attacks on smart contracts and secure our digital transactions. As more businesses and organizations adopt blockchain technology for various applications, it is critical to ensure that smart contracts are safe and secure. This study is an important step towards that goal.

While blockchain technology promises to revolutionize many industries, security should always be a top priority. By using tools like MetaScan and following best practices for secure programming, we can help secure our digital transactions on the blockchain.

Follow Us

Twitter: @MetaTrustLabs

Website: metatrust.io

Safety
smart contract
Welcome to Join Odaily Official Community