No menu items!
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.

 

LATEST POSTS

Đồng đô la được thiết lập cho tuần tăng thứ ba khi các cuộc đàm phán về nợ của Mỹ trở nên lớn

Đồng đô la giảm vào thứ Sáu nhưng vẫn theo đà tăng hàng tuần thứ ba liên tiếp, khi các thị trường tăng đặt cược...

FX Daily: Thị trường mới nổi FX không phù hợp

Đánh giá lại chu kỳ diều hâu của Fed trong tháng này đang củng cố đồng đô la trên diện rộng. Một số loại tiền EM...

Công ty tiền điện tử Gemini chọn Ireland làm căn cứ châu Âu giữa bối cảnh tiền điện tử của Hoa Kỳ

Cameron Winklevoss đã dự đoán một “sự bùng nổ kỷ Cambri” trong sự đổi mới của châu Âu một khi các quy định được đưa...

Giá vàng 26/05/2023: Gặp trở ngại khi đồng USD có những biến động lạ

Hôm nay, dữ liệu Mỹ được công bố dữ liệu tốt hơn dự báo. Tuy nhiên ảnh hưởng của đồng USD nên vàng vẫn chưa...

Follow us

0FansLike
35,238FollowersFollow

Most Popular

spot_img