Share this article

Team Behind Bitcoin-Backed Ethereum Token tBTC Explains Shutdown

A bug in tBTC meant the dapp couldn't tell different bitcoin addresses apart, the team has disclosed.

Updated Sep 14, 2021, 8:43 a.m. Published May 20, 2020, 8:51 a.m.
Credit: Shutterstock
Credit: Shutterstock

Keep Network says a flawed code addition forced the shutdown of its bitcoin-backed Ethereum token, tBTC, just two days after it launched.

STORY CONTINUES BELOW
Don't miss another story.Subscribe to the Crypto Daybook Americas Newsletter today. See all newsletters

On May 18, deposits of bitcoin into tBTC were paused for 10 days – a move prompted by a bug that was supposedly missed by a security audit and was later found by two of the network's contributors.

That bug, Keep Network revealed in a Medium blog post Wednesday, related to a flaw in the processing of deposit redemptions (when users try and pull bitcoin back out of the system), essentially due to the code's inability to tell different types of bitcoin addresses apart.

"The team triggered this pause after finding a significant issue in the redemption flow of deposit contracts that put signer bonds for open deposits at risk of liquidation when certain types of bitcoin addresses were used in redemption," Keep Network, which is behind the Thesis project that launched the token, said in the post.

The team noted that redemptions had originally been restricted to p2wpkh address outputs, but were later widened to include "any other output scripts." The issue arose if a user tried to redeem pay-to-scripthash (p2sh) addresses. This changed code had not been specifically tested, bar more generally on testnets at a later stage, the post concedes.

"[D]ue to a bug in the redemption dApp in use at the time, the proof step of the redemption flow never occurred," Keep Network wrote. "These p2sh addresses would have failed validation had the proof step occurred, but reliance on the dApp’s display of a completed state meant the team assumed the redemption had completed successfully, when it in fact had not."

Also read: Blockfolio Quietly Patches Years-Old Security Hole That Exposed Source Code

A second bug was also found meaning that, even if the proof code had been free of issues, a "malicious redeemer" could have specified an output script that resulted in an invalid bitcoin transaction.

Community manager at Blockstream, Daniel Williams, who has an interest in bitcoin and goes by the handle, @Grubles, critically summed up the primary bug in a May 20 tweet, saying:

grubles-on-tbtc

While the bug and subsequent pause have been a setback for the Thesis team, a new call out has been made to solicit help from code auditors to help track down any further issues.

"We're also in the market for BTC-focused auditors for round 3," the team said a Tweet on Wednesday.

See also: Makers of Keep Protocol Raise $7.7M to Bring Trustless BTC to DeFi

In addition to technical and process changes, the Thesis team will be announcing how it plans on approaching a "redeploy of the tBTC system" and how that will impact existing plans around the KEEP token distribution.

"We’re looking forward to showing the world a stronger, more secure Bitcoin on Ethereum," the team said

More For You

Pudgy Penguins: A New Blueprint for Tokenized Culture

Pudgy Title Image

Pudgy Penguins is building a multi-vertical consumer IP platform — combining phygital products, games, NFTs and PENGU to monetize culture at scale.

What to know:

Pudgy Penguins is emerging as one of the strongest NFT-native brands of this cycle, shifting from speculative “digital luxury goods” into a multi-vertical consumer IP platform. Its strategy is to acquire users through mainstream channels first; toys, retail partnerships and viral media, then onboard them into Web3 through games, NFTs and the PENGU token.

The ecosystem now spans phygital products (> $13M retail sales and >1M units sold), games and experiences (Pudgy Party surpassed 500k downloads in two weeks), and a widely distributed token (airdropped to 6M+ wallets). While the market is currently pricing Pudgy at a premium relative to traditional IP peers, sustained success depends on execution across retail expansion, gaming adoption and deeper token utility.

More For You

Bitcoin trader warns of downside as gold rally continues to pull focus from BTC

Bitcoin and Gold (Unsplash)

Crypto prices stabilized after an early-week dip, but bitcoin continued to trail gold and silver as macro trades dominated after the Fed’s policy hold.

What to know:

  • Bitcoin hovered around $88,000 after the Federal Reserve left interest rates unchanged, with trading subdued despite modest gains in ether, solana, BNB and dogecoin.
  • A sharp rebound in the U.S. dollar and continued strength in commodities, especially record-high gold and elevated silver and copper, have overshadowed crypto markets.
  • Analysts say bitcoin is trading more like a high-beta risk asset than a macro hedge, stuck in a bearish consolidation about 30 percent below its October peak and struggling to break above key resistance near $89,000.