Share this article

SpankChain Loses $40K in Hack Due to Smart Contract Bug

SpankChain, a cryptocurrency project focused on the adult industry, lost almost $40,000 due to a smart contract flaw on Saturday.

Updated Sep 13, 2021, 8:28 a.m. Published Oct 9, 2018, 2:00 p.m.
Credit: Shutterstock
Credit: Shutterstock

SpankChain, a cryptocurrency project focused on the adult industry, has suffered a breach that saw almost $40,000 in ethereum stolen.

In a blog post published Tuesday, the SpankChain team disclosed the hack, saying 165.38 ETH (worth around $38,000 at the time) had been lost at around 18:00 PST on Saturday. The intrusion, which the post said was made possible by a bug in the network's payment channel smart contract, also caused $4,000 in SpankChain's BOOTY token to be frozen.

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

It apparently took over 24 hours for the project to realize the hack had taken place, with the post stating:

"Unfortunately, as we were in the middle of investigating other smart contract bugs, we didn't realize the hack had taken place until 7:00pm PST Sunday, at which point we took Spank.Live offline to prevent any additional funds from being deposited into the payment channels smart contract."

Of the cryptos stolen, $9,300 worth of ETH and BOOTY belonged to users, and the remainder to the project. According to the blog post, full refunds will be "sent directly to users' SpankPay accounts, and will be available as soon as we reboot Spank.Live."

SpankChain warned of 2–3 days' delay ahead while its developers patch the issue behind the hack, redeploy a new smart contract and fix the other contract issues that were already being worked on. Limits on the use of BOOTY tokens have also been put in place temporarily.

So far, the team says, it seems the attack was due to a "reentrancy" bug, similar to the one that allowed a major hack of The DAO crypto project in 2016.

"The attacker created a malicious contract masquerading as an ERC20 token, where the 'transfer' function called back into the payment channel contract multiple times, draining some ETH each time," the team said, adding that it will undertake an "in-depth investigation of the attack" in the coming days.

SpankChain further conceded it had decided not to pay for a security audit for the payment channel contract due to the costs involved, However, "taking into account both the perception value and opportunity cost of the time spent reacting to the hack, it would have been worth it," the post says.

The firm concluded by pledging it would improve its security practices, "making sure to get multiple internal audits for any smart contract code we publish, as well as at least one professional external audit."

Adult content image via Shutterstock

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

Rollercoaster bitcoin price moves end up liquidating $1.7 billion in bullish crypto bets

(Christian Dubovan/Unsplash, modified by CoinDesk)

More than $1.7 billion in leveraged positions were liquidated in 24 hours as bitcoin fell to $81,000, with long bets accounting for nearly all the damage amid macro jitters and Fed chair speculation.

What to know:

  • More than $1.68 billion in leveraged crypto positions were liquidated in 24 hours, with about 267,000 traders forced out of trades.
  • Long positions accounted for nearly 93 percent of the wipeout, led by roughly $780 million in bitcoin and $414 million in ether liquidations.
  • Analysts say the sell-off was driven less by new bearish sentiment than by overcrowded leverage unwinding, flushing out speculative excess and reducing forced flows in the market.