Q3 2026 Security & Compliance$1.18B stolen across 107 incidents. Main drivers: supply chain, smart contracts, keys.
Get the report →

Web3 Security Report: Q2 2024

16 min read

By Hacken

Quarterly report · Q2 2024
Q2 2024 Web3 Security Report
Hacken × HackenProof
  1. 1.General Observations
  2. 2.Overview of Hacks
  3. Types of Attacks
  4. Types of Projects Affected
  5. Funds Recovery
  6. 3.Security Measures of Projects Hacked
  7. 4.Conclusions
Download the PDF ↓

General Observations

Highlights
Q1 2024Q2 2024
Funds Stolen$824,405,224$512,928,000
Funds Lost$380,631,526$165,496,712
Number of Incidents6741
The Biggest Hack$290,000,000Gaming platform Playdapp$300,000,000Crypto Exchange DMM Bitcoin

In the second quarter of 2024, we witnessed a significant decrease in the number of hacks compared to the first quarter. Is it a glimmer of hope amid the gloom?

The researchers from Hacken and HackenProof teams collaborated to analyze the data, aiming to equip the community with insights and observations on what the figures really mean and the recent trends observed. We relied on the following sources of information: DefiLlama and De.Fi REKT Database.

While at a glance the dynamics of the market seems beyond optimistic with the number of hacks almost half as much as the previous quarter, the situation appears more dire when considering the funds lost. The safety crypto crisis has only deepened, as the amount of funds drained from crypto projects in 2024 is already close to the total losses for the whole of 2023.

Assets Stolen in 2023 vs. 2024
Total Funds Stolen in 2023
$1,900,000,000
Total Funds Stolen in Q1 and Q2 2024
$1,337,333,224

Overview of Hacks

Types of Attacks

Types of Attacks
Total Amount StolenNumber of Incidents
Access control
$397,291,000
10
Other
$84,358,000
17
Price Oracle Issue
$23,100,000
2
Flash Loan Attack
$4,489,000
5
Rugpull
$3,690,000
7

Our 2023 yearly report highlighted that access control was the main cause of 50% of all hacks. This trend continued in Q1 2024, with access control remaining the most dominant vulnerability. Notably, in Q2 2024, Access Control was not prevalent in terms of the number of cases, but this type of attack caused the industry's biggest losses, amounting to 397.2M.

Types of Projects Affected

Types of Projects Affected
Total Amount StolenNumber of Incidents
CeFi
$320,000,000
2
Gaming / Metaverse
$27,380,000
4
CEX
$76,000,000
2
Borrowing and Lending
$20,814,000
3
DeFi Protocol
$23,100,000
2
NFT protocol
$14,400,000
1
DEX
$9,794,000
3
Token
$4,365,000
12
Bitcoin DeFi
$4,300,000
1
Claim portal
$2,000,000
1
Memecoin launchpad
$2,000,000
1
Bridge
$1,900,000
1
Cross-Chain Transfer Protocol
$1,900,000
2
DEX, RWA
$1,700,000
1
DePIN
$1,200,000
1
Exchange
$716,000
1
Yield Aggregator
$600,000
1
Telegram trading app
$523,000
1
Lending margin trading protocol
$236,000
1
Total
$512,928,000
41

In the CeFi category, we included projects that combine FinTech and DeFi elements. The two incidents are:

  • The Rain Exchange hack occurred due to a failure to secure private keys, allowing the attacker to generate valid digital signatures for transactions. On April 29, 2024, $14.8 million was transferred from several Bitgo wallets to two wallets, converted to BTC and ETH. The exchange did not disclose the hack until two weeks later when it was exposed by blockchain sleuth ZachXBT. Rain then issued a statement, declaring implementation of additional security measures and covering the stolen funds to ensure safety of user funds.
  • The DMM Bitcoin incident is one of the few BTC-related hacks and one of the biggest, accounting for the majority of funds stolen in the entire quarter and becoming the largest incident of the year so far. It happened in May 2024 and resulted in a loss of approximately $305 million. The hack involved a large transfer of 4502.9 BTC to an unknown wallet, followed by redistribution to multiple addresses. Potential causes include compromised private keys, signing processes, or address poisoning. The incident highlights the need for robust security measures like multi-signature wallets, cold storage, and decentralization of funds to protect against such high-value breaches.

Token category is prevalent in the number of hacks. It can be attributed to the rapid growth and innovation in the blockchain and DeFi sectors, which often outpaces security measures, leaving new projects vulnerable to exploits. Many of these projects deploy complex smart contracts that may contain undiscovered vulnerabilities. Additionally, some prioritize launching quickly over thorough security audits, leading to overlooked security gaps. The increased sophistication in social engineering tactics has allowed attackers to gain access to critical administrative accounts and sensitive information, further exacerbating the problem.

Moreover, the lack of experience in secure coding practices among new development teams and the lucrative nature of successful attacks, which offer significant financial rewards, motivate hackers to target these projects. The trust within the blockchain community is also exploited through phishing and rug pull scams, deceiving even seasoned investors. The global and decentralized nature of blockchain projects makes it challenging to enforce standardized security measures and regulations, highlighting the need for improved security practices and vigilant community awareness to mitigate such risks.

Why do so many projects get hacked?
Token
Condom TokenExploit in the smart contract's minting function.
Why this happened?
Exploit in the smart contract's minting function.
What was affected?
Token supply was manipulated, resulting in inflation.
Is it fixed now?
Yes, developers patched the contract and relaunched it with enhanced security.
DegenFoxSocial engineering attack targeting the development team.
Why this happened?
Social engineering attack targeting the development team.
What was affected?
Administrative access was compromised, leading to unauthorized transactions.
Is it fixed now?
Partially; security protocols were updated, but some funds are still unrecovered.
SAGAVulnerability in the staking protocol.
Why this happened?
Vulnerability in the staking protocol.
What was affected?
Users’ staked funds were stolen.
Is it fixed now?
Yes, the protocol was audited and fixed; users were compensated.
Empower AI RugMalicious exit by the developers.
Why this happened?
Malicious exit by the developers.
What was affected?
Entire project funds were siphoned off.
Is it fixed now?
No, the developers disappeared, and funds are unlikely to be recovered.
FENGSHOUFlaw in the decentralized finance (DeFi) lending protocol.
Why this happened?
Flaw in the decentralized finance (DeFi) lending protocol.
What was affected?
Loan collateral was manipulated, causing significant financial losses.
Is it fixed now?
Yes, the flaw was corrected and the protocol was relaunched.
NovaMindCross-site scripting (XSS) attack.
Why this happened?
Cross-site scripting (XSS) attack.
What was affected?
User data was compromised, leading to unauthorized access.
Is it fixed now?
Yes, security measures were enhanced, and affected users were notified.
OSNInsufficient input validation in the smart contract.
Why this happened?
Insufficient input validation in the smart contract.
What was affected?
Contract logic was bypassed, causing token mismanagement.
Is it fixed now?
Yes, the issue was addressed with a smart contract upgrade.
Fake LifeformPhishing attack on users.
Why this happened?
Phishing attack on users.
What was affected?
Users’ private keys were stolen, leading to fund loss.
Is it fixed now?
Yes, awareness campaigns were conducted, and security features were added.
Galaxy FoxExploit in the liquidity pool.
Why this happened?
Exploit in the liquidity pool.
What was affected?
Liquidity was drained, causing a crash in token value.
Is it fixed now?
Yes, the exploit was patched, and the liquidity pool was restored.
Fake PITokenClone phishing scam mimicking the original project.
Why this happened?
Clone phishing scam mimicking the original project.
What was affected?
Investors were defrauded by the fake project.
Is it fixed now?
Yes, the fake project was taken down, and legal actions are in process.
WINRFlash loan attack.
Why this happened?
Flash loan attack.
What was affected?
Manipulated market prices led to large-scale fund extraction.
Is it fixed now?
Yes, the protocol was adjusted to prevent similar attacks in the future.
YYS TokenInternal fraud by a team member.
Why this happened?
Internal fraud by a team member.
What was affected?
Significant portion of project funds was embezzled.
Is it fixed now?
Yes, the team member was removed, and funds were partially recovered.

Funds Recovery

For the second consecutive quarter, the silver lining amid the alarming rate of theft in crypto is the amount of funds recovered. This time, the industry managed to recover more than half of assets targeted by scammers and hackers.

Funds Lost vs. Funds recovered
Amount recovered$347,431,288
Amount lost$165,496,712

Security Measures of Projects Hacked

We continue to observe a lack of security measures in hacked projects.

Security Measures of Projects Hacked
YesNo
Audit
19
22
Bug Bounty
7
34
Crowdsourced Audit
5
36

The number of projects that underwent a security audit appears to have increased since last quarter. However, upon analyzing the audit scope and comparing it with the hack details, we observed that projects still do not pay sufficient attention to this crucial security measure.

Audit Relevancy
No audit18
Audit not applicable12
Audit not covering exploit7
Relevant audit4
Total:41

While no security measures can guarantee total protection for a project, a security-first approach is crucial to combat bad actors and black hats. The best practice is to combine several security measures to ensure multi-layered protection.

The responsibility for making crypto secure lies with all parties involved. Projects should prioritize security, security providers must innovate new tools and methodologies, and regulators need to establish fair and transparent rules that address real-life challenges.

Conclusions

  • Reduction in Hacks: Q2 2024 saw a significant decrease in the number of crypto hacks compared to Q1, indicating a potentially positive trend in security.
  • Increase in Financial Losses: Despite fewer hacks, the total amount of funds lost in Q2 2024 nearly matched the total losses for all of 2023, suggesting that the severity of attacks is increasing.
  • Access Control Vulnerability: Access control issues, though less frequent in Q2, resulted in the largest financial losses, underscoring the importance of robust access control mechanisms.
  • CeFi Incidents: Notable incidents in the CeFi category, such as the Rain Exchange and DMM Bitcoin hacks, highlighted critical vulnerabilities in private key management and the need for advanced security measures like multi-signature wallets and cold storage.
  • Token Project Vulnerability: The rapid growth in the blockchain and DeFi sectors has outpaced security measures, making token projects especially vulnerable to sophisticated attacks and social engineering tactics.
  • Improvement in Fund Recovery: A positive development is the industry's success in recovering or freezing more than half of 77% of stolen assets in Q2 2024, emphasizing the progress in response and recovery efforts.

We Make Web3 A Safer Place

Hacken × HackenProof

Hacken Track Record
9+years securing blockchain and digital assets
2,168public security assessments delivered since 2017
16,735vulnerabilities identified across engagements
$430B+in assets verified through Proof of Reserves services
ISO 27001certified information security management
Hacken Practice Areas
Hacken works across the following practices:
Compliance and Advisory
Continuous Security

Subscribe to our newsletter

Be the first to receive our latest company updates, Web3 security insights, and exclusive content curated for the blockchain enthusiasts.

Speaker Img

Tell us about your project

Follow Us

Read next: