Digital Asset
Intelligence
BTC/USD—
ETH/USD—
SOL/USD—
S&P 500—
GOLD—
DXY—
Security Incident · Wallet

wxBTRFLY Contract Vulnerability

·Historical incident record

White hat hackers at @immunefi discovered a critical vulnerability in the wxBTRFLY Token contract.

Attack category
Contract Vulnerability

Incident Overview

The transferFrom function in the contract did not update the recipient's authorization correctly, and would incorrectly update the msg.sender's authorization. Although the vulnerability itself is serious, the cause is not complicated (more like a clerical error produced by the developer). What is more interesting is the official repair method. Since the contract itself does not support upgrade, the contract code cannot be updated directly; the contract does not support suspension, so it is not possible to transfer user assets by means of snapshot + migration. The final official measure was to launch an attack transaction by itself, transferring the assets of all users affected by the vulnerability to a multi-signature wallet.

Sources & References

This record presents information attributed to the linked sources. Incident dates describe the original event, not a new report. Reported loss figures reflect the source record and are not current market valuations.