Early warning: wavefield dapp may become a new target for hackers

Early warning: wavefield dapp may become a new target for hackers

Wavefield DApp tronbank was attacked by a counterfeit currency at 1 am on April 11. On the morning of the 11th, the Beosin Chengdu Chain Security technical team made a preliminary analysis to determine that the main reason for the counterfeit currency attack was that the contract did not strictly verify the unique identifier token ID of the token, and incorrectly identified the attacker’s own valueless token as The BTT token worth 850,000 yuan caused losses. When checking other open source project code on Github, I found that there are other project parties with this security issue: the following is the problematic contract address: TF3YXXXXXXXXXXXXXXXXXXXXXXXWt3hx; TKHNXXXXXXXXXXXXXXXXXXXXXXXAEzx5;




According to the analysis of the Beosin Chengdu Chain Security technical team, there are two reasons for the above problems: 1) The developer's research on the use mechanism of the wave field token is insufficient, and the use of the tokens in Ethereum may be applied; 2) The attacker The attack mode that exists on other public links, such as the counterfeit currency attack mode that EOS already exists. Remedy: In this regard, the Beosin Chengdu Chain Security technical team suggested that the project side should simultaneously determine whether msg.tokenvalue and msg.tokenid meet expectations when receiving the replacement currency. And give the vulnerability code repair method, as follows: Invest function to increase the code; require (msg.tokenid == 1002000); require (msg.tokenvalue >= minimum); minimum is the minimum investment amount.

We will continue to update Blocking; if you have any questions or suggestions, please contact us!


Was this article helpful?

93 out of 132 found this helpful

Discover more


In 2019, will the speculators still have a chance to get 100 times the income?

Many of the coin-operated friends around me lost their underwear last year. The micro-letter circle opened up a tragi...


Solana’s Roller Coaster Ride: Is the Bullish Momentum Fading or Just Adjusting?

Solana's price has recently experienced a minor dip, but new data reveals the strong foundations of SOL.


Blockstream CEO Adam Back: Bitcoin sidechain may destroy competitive coins

Adam Back, an early cryptocurrency developer and cryptographer, gave a speech on the bitcoin sidechain during a publi...


The source of Bitcoin's thought: Zhuang Zhou Mengdie, will the robot dream of an electronic sheep?

The former Zhuang Zhoumeng is Hu Die, and the Hu Die is also – "Zhuangzi·Qiwu Theory" Bitcoin is...


Grayscale tells you: How do traditional investors who buy stocks and bonds look at bitcoin?

In the rising cycle of Bitcoin, mainstream institutions and investors are often mentioned, which reflects to a certai...


Bitcoin must address scaling concerns as ETFs gain momentum

The acceptance of Bitcoin ETFs signifies a significant level of recognition and legitimacy, according to veteran Bitc...