Back to Blog

BonqDAO 在 Polygon 上被利用,因逻辑缺陷损失 1.2 亿美元

Code Auditing
February 2, 2023
4 min read

2023年2月2日,Polygon上的BonqDAO遭到攻击,导致损失约9860万BEUR和1.13亿WALBT。经调查,我们发现导致攻击的原因是用于确定WALBT代币价格的逻辑存在缺陷。作为一家区块链安全公司,我们密切关注这些可能对DeFi领域产生深远影响的漏洞利用。

日期 攻击类型 损失 追回
2023/2/1 价格依赖性缺陷 Polygon 约1.2亿美元

项目介绍

BonqDAO(Bonq去中心化自治组织)是一个部署在Polygon上的DeFi借贷平台。用户可以向协议提供流动性或获得超额抵押贷款以赚取收益,然后可以铸造与欧元挂钩的稳定币BEUR。

此次攻击后,BonqDAO的TVL从1300万美元骤降至4.4万美元,跌幅高达99.66%。

BonqDAO随后宣布Bonq协议已暂停,AllianceBlockBonq团队铸造了新的ALBT代币并空投给受影响的用户。

攻击分析

TellorFlex是BonqDAO的预言机。它是去中心化的,任何人都可以通过质押仅10个TRB代币来成为价格提供者,并随意修改预言机价格。

攻击者在此次攻击中通过两种方式获利:

  • 提高WALBT的价格,然后借入大量的BEUR代币
  • 降低WALBT的价格,然后清算其他用户的WALBT。

攻击者的策略可细分为以下关键步骤:

  1. 准备资金
  2. 攻击者质押10个TRB代币,并通过 TellorPriceFeed (0x8f55) 提高WALBT代币的价格。
  1. 攻击者然后存入0.1 WALBT并直接使用更新后的价格获得1亿BEUR
  1. 攻击者使用相同的方法操纵WALBT价格使其降低,清算其他BonqDAO用户的WALBT抵押品,然后转售以获取进一步利润。

资金追踪

作为一家致力于维护区块链安全的公司,我们也一直在密切关注此次攻击的进展。(我们的官方Twitter账号持续报道此事件,感兴趣的读者可以关注我们的账号@BlockSecTeam@MetaSleuth一起追踪这些资金的去向。)

MetaSleuth是一款高性能的跨链资金流分析工具,能够增强区块链交易活动的透明度。它使用户能够近乎实时地追踪受影响数字资产的踪迹。通过利用MetaSleuth,我们可以清晰地看到此次攻击发生和后续过程中相关的资金流追踪信息。

  1. BonqDAO攻击者的利润约为9860万BEUR和1.13亿WALBT。具体来说,1.13亿WALBT被销毁,从而从ETH链解锁了1.13亿ALBT。约50万BEUR被兑换成534,535 USDC,然后兑换成以太坊(0xcacf...6642)。攻击者在Polygon账户中仍剩余9810万BEUR
  1. 关于以太坊地址0xcacf..6642,它使用0xExchange(@0xProject)将收到的USDC兑换成DAI。此外,WALBT正在通过0xExchange和Uniswap兑换成ETH/USDT。该账户目前持有711 ETH、534,481 DAI和8900万ALBT。
  1. 2023年2月3日,我们检测到攻击者已将DAI兑换成以太坊,并通过Tornado Cash洗钱了1105个以太坊

总结

此次攻击的根本原因在于修改TellorFlex预言机报价所需的成本过低,而Bonq借贷合约中抵押品的借贷金额仅与TellorFlex预言机报告的价格有关。因此,攻击者能够以相对较低的成本修改报价,并通过抵押品借贷获得可观的利润。

阅读更多

以上仅为代表性案例。事实上,我们有更多专注于区块链安全分析的案例。

DeFi漏洞分析:Euler损失2亿美元的根本原因

关于BlockSec

BlockSec为区块链项目提供全栈安全服务,涵盖从预上线到上线后以及事件响应等各个阶段。在开发和测试阶段,利用专家代码审计服务和Phalcon分叉测试平台,帮助识别潜在的安全问题。通过BlockSec Phalcon确保您区块链项目的上线后安全。该简化的SaaS平台提供事件警报和自动阻止功能,以防止加密货币被盗。它采用精确的攻击检测,扫描待处理和链上交易,让您能够迅速拦截黑客。此外,MetaSleuth是一个直观的加密资产追踪和调查平台,有助于提高资产的可追溯性和透明度。

Sign up for the latest updates
The Decentralization Dilemma: Cascading Risk and Emergency Power in the KelpDAO Crisis
Security Insights

The Decentralization Dilemma: Cascading Risk and Emergency Power in the KelpDAO Crisis

This BlockSec deep-dive analyzes the KelpDAO $290M rsETH cross-chain bridge exploit (April 18, 2026), attributed to the Lazarus Group, tracing a causal chain across three layers: how a single-point DVN dependency enabled the attack, how DeFi composability cascaded the damage through Aave V3 lending markets to freeze WETH liquidity exceeding $6.7B across Ethereum, Arbitrum, Base, Mantle, and Linea, and how the crisis forced decentralized governance to exercise centralized emergency powers. The article examines three parameters that shaped the cascade's severity (LTV, pool depth, and cross-chain deployment count) and provides an exclusive technical breakdown of Arbitrum Security Council's forced state transition, an atomic contract upgrade that moved 30,766 ETH without the holder's signature.

Weekly Web3 Security Incident Roundup | Apr 13 – Apr 19, 2026
Security Insights

Weekly Web3 Security Incident Roundup | Apr 13 – Apr 19, 2026

This BlockSec weekly security report covers four attack incidents detected between April 13 and April 19, 2026, across multiple chains such as Ethereum, Unichain, Arbitrum, and NEAR, with total estimated losses of approximately $310M. The highlighted incident is the $290M KelpDAO rsETH bridge exploit, where an attacker poisoned the RPC infrastructure of the sole LayerZero DVN to fabricate a cross-chain message, triggering a cascading WETH freeze across five chains and an Arbitrum Security Council forced state transition that raises questions about the actual trust boundaries of decentralized systems. Other incidents include a $242K MMR proof forgery on Hyperbridge, a $1.5M signed integer abuse on Dango, and an $18.4M circular swap path exploit on Rhea Finance's Burrowland protocol.

Weekly Web3 Security Incident Roundup | Apr 6 – Apr 12, 2026
Security Insights

Weekly Web3 Security Incident Roundup | Apr 6 – Apr 12, 2026

This BlockSec weekly security report covers four DeFi attack incidents detected between April 6 and April 12, 2026, across Linea, BNB Chain, Arbitrum, Optimism, Avalanche, and Base, with total estimated losses of approximately $928.6K. Notable incidents include a $517K approval-related exploit where a user mistakenly approved a permissionless SquidMulticall contract enabling arbitrary external calls, a $193K business logic flaw in the HB token's reward-settlement logic that allowed direct AMM reserve manipulation, a $165.6K exploit in Denaria's perpetual DEX caused by a rounding asymmetry compounded with an unsafe cast, and a $53K access control issue in XBITVault caused by an initialization-dependent check that failed open. The report provides detailed vulnerability analysis and attack transaction breakdowns for each incident.

Best Security Auditor for Web3

Validate design, code, and business logic before launch. Aligned with the highest industry security standards.

BlockSec Audit