HomeBlockchainCritical Vulnerability Could Have Massive Impact on the Near Network

Critical Vulnerability Could Have Massive Impact on the Near Network


On July 6, 2022, the wallet address pavladiv.near triggered an error on the USN v2.0 smart contract, when the wallet tried to exchange $USN for $USDT twice but failed.

When the transaction fails, the smart contract will continue to refund the user $USN. However, the smart contract on the Decentral Bank platform mistakenly placed the decimal in both transactions returning 4,9995 USN, so the pavladiv.near wallet received a total of 2 times up to nearly 10 trillion USN.

This event was quickly noticed by the Decentral Bank team. Immediately, the $USN smart contract was halted and a fix was updated shortly thereafter.

Change in quantity of total supply USN

After discovering the incident, Decentral Bank had to stop the emergency protocols and fix the vulnerability. The project quickly burned the newly created USN to bring the total supply back to the old level of 114.16 million USD.

Source: https://decentral-bank.finance/swap

pavladiv.near interacted with the new $USN to $USDT swap on the Near network through the Decentral Bank website.

Details of 2 failed transactions:

  • Transaction #1: https://explorer.near.org/transactions/78ZJRSEaWa9RzzwktMSide2RQ5Q6AzC9xJVfRQMoCMqH
  • Transaction #2: https://explorer.near.org/transactions/FmezbevJTJzpYn6LarheeejsTGL6yuJ8KrhppMfddiEQ

The bug that caused the decimal conversion has been fixed and the smart contract has been updated, ensuring that hackers will no longer be able to take advantage of this vulnerability. This issue will be fixed as soon as possible and will be notified soon.

The project admits that if it is delayed, the above vulnerability can be exploited by hackers, which can lead to serious consequences on the Near ecosystem in general and the Ref Finance project – the main DEX exchange on the Near network.



Do Kwon hires a lawyer to prepare for the investigation of Terra

Terraform Labs co-founder Do Kwon is said to have hired a lawyer from a law firm in South Korea to prepare for the investigation into...

Bitcoin Price Reversal After Touching Support?

According to data from TradingView, on the evening of August 17, Bitcoin is trading around $23,693 (Binance exchange). Bitcoin has dropped more than 3% in...

Elon Musk’s joke causes a worthless token to increase 3,000%

On August 17, with just one tweet related to the purchase of Manchester United, Elon Musk caused the worthless coin with the same name to...

Bitcoin, Ethereum Primed For Bullish Boost As Brazil’s Largest Broker Opens Trading

Cryptocurrencies have been in the eye of the storm recently as crypto behemoths like Celsius, Voyager Digital, and Three Arrows Capital have imploded. Since hitting...

Follow us


Most Popular