BRC20 固定攻击
BRC20 Pinning Attack
AI总结:
本文首次分析 BRC20 转账机制,发现利用两笔捆绑交易手续费差异将 Tx2 固定在内存池的 BRC20 固定攻击,可锁定流动性并中断提现;经币安 ORDI 热钱包实测验证,该攻击影响比特币生态中超过 90% 的铭文代币。
摘要:
BRC20 代币是比特币网络上的一种非同质化资产。它们允许用户在比特币的聪(satoshis)中嵌入自定义内容。该代币热潮在 2023 年第三季度至 2025 年第一季度期间达到了 28.11 亿美元的市场规模。然而,这种直观的设计尚未经过严格的安全审查。我们首次对 BRC20 的转账机制进行了分析,并发现了一种新的攻击向量。一次典型的 BRC20 转账涉及两笔具有不同手续费水平的“捆绑式”链上交易:第一笔(即 Tx1)以较低的手续费铭刻转账请求,而第二笔(即 Tx2)以较高的手续费完成实际转账。攻击者可以发送一笔经过操纵的手续费交易(介于两个手续费水平之间),导致 Tx1 被处理,而 Tx2 被固定在内存池(mempool)中。这会锁定 BRC20 的流动性,并干扰用户的正常提现请求。我们将此称为 BRC20 固定攻击。我们与币安(Binance)的研究人员合作,在真实环境中验证了该攻击。在知情并获许可的情况下,我们对币安的 ORDI 热钱包进行了一次受控测试,导致 ORDI 提现暂停了 3.5 小时。随后很快完成了恢复。进一步分析证实,该攻击可应用于比特币生态系统中超过 90% 的基于铭文的代币。
英文摘要:
BRC20 tokens are a type of non-fungible asset on the Bitcoin network. They allow users to embed customised content within Bitcoin's satoshis. The token frenzy reached a market size of US\$2.811\,b (2023Q3--2025Q1). However, this intuitive design has not undergone serious security scrutiny. We present the first analysis of BRC20's \emph{transfer} mechanism and identify a new attack vector. A typical BRC20 transfer involves two "bundled" on-chain transactions with different fee levels: the first (i.e., \textbf{Tx1}) with a lower fee inscribes the \textsf{transfer} request, while the second (i.e., \textbf{Tx2}) with a higher fee finalizes the actual transfer. An adversary can send a manipulated fee transaction (falling between the two fee levels), which causes \textbf{Tx1} to be processed while \textbf{Tx2} is pinned in the mempool. This locks BRC20 liquidity and disrupts normal withdrawal requests from users. We term this the \emph{BRC20 pinning attack}. We validated the attack in real-world settings in collaboration with Binance researchers. With their knowledge and permission, we conducted a controlled test against Binance's ORDI hot wallet, resulting in a temporary suspension of ORDI withdrawals for 3.5 hours. Recovery was performed shortly after. Further analysis confirms that the attack can be applied to over \textbf{90\%} of inscription-based tokens within the Bitcoin ecosystem.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。