BRC20 tokens are a type of non-fungible asset on the Bitcoin network. They
allow users to embed customized content within Bitcoin satoshis. The related
token frenzy has reached a market size of US2,650boverthepastyear(2023Q3−2024Q3).However,thisintuitivedesignhasnotundergoneserioussecurityscrutiny.Wepresentthefirstin−depthanalysisoftheBRC20transfermechanismandidentifyacriticalattackvector.AtypicalBRC20transferinvolvestwobundledon−chaintransactionswithdifferentfeelevels:thefirst(i.e.,Tx1)withalowerfeeinscribesthetransferrequest,whilethesecond(i.e.,Tx2)withahigherfeefinalizestheactualtransfer.Wefindthatanadversarycanexploitthisbysendingamanipulatedfeetransaction(fallingbetweenthetwofeelevels),whichallowsTx1tobeprocessedwhileTx2remainspinnedinthemempool.ThislockstheBRC20liquidityanddisruptsnormaltransfersforusers.WetermthisBRC20pinningattack.Ourattackexposesaninherentdesignflawthatcanbeappliedto90+inscription−basedtokenswithintheBitcoinecosystem.WealsoconductedtheattackonBinance′sORDIhotwallet(themostprevalentBRC20tokenandthemostactivewallet),resultinginatemporarysuspensionofORDIwithdrawalsonBinancefor3.5hours,whichwereshortlyresumedafterourcommunication.