📢 Exclusive on Gate Square — #PROVE Creative Contest# is Now Live!
CandyDrop × Succinct (PROVE) — Trade to share 200,000 PROVE 👉 https://www.gate.com/announcements/article/46469
Futures Lucky Draw Challenge: Guaranteed 1 PROVE Airdrop per User 👉 https://www.gate.com/announcements/article/46491
🎁 Endless creativity · Rewards keep coming — Post to share 300 PROVE!
📅 Event PeriodAugust 12, 2025, 04:00 – August 17, 2025, 16:00 UTC
📌 How to Participate
1.Publish original content on Gate Square related to PROVE or the above activities (minimum 100 words; any format: analysis, tutorial, creativ
BlockSec has discovered two major vulnerabilities in digital collectible contracts, locking up $34 million in funds.
The BlockSec team recently discovered two serious vulnerabilities in a certain digital collectible contract. These two vulnerabilities could lead to user assets being locked and the project party being unable to withdraw over $34 million in funds.
The first vulnerability involves the refund feature. The refund function in the contract uses a loop to refund all users, but if any of those users is a malicious contract, it may refuse to accept the refund and cause the entire transaction to fail. This would prevent all users from receiving their refunds. Fortunately, this vulnerability has not been exploited.
For projects that require refunds, it is recommended to take the following security measures:
The second flaw is a code error. In the function for withdrawing project funds, there is a conditional judgment error. The function should compare the refund progress with the bid index, but it mistakenly compares it with the total number of bids. Since the refund progress is always less than the total number of bids and does not increase anymore, the condition can never be satisfied. This prevents the project party from withdrawing the funds locked in the contract.
These vulnerabilities once again highlight that even well-known projects can make fundamental mistakes. Development teams need to write comprehensive test cases and possess basic security awareness. While security audits have become a standard practice in the decentralized finance sector, they are still lacking in digital collectibles projects, and this incident has resulted in massive losses.
This event reminds us that even highly regarded projects can have serious vulnerabilities. It emphasizes the importance of conducting comprehensive security audits in blockchain project development, especially when handling large amounts of funds. The project party should place greater importance on contract security to prevent similar costly mistakes from occurring.