CoinShots Logo
Developers Of pNetwork Bridge Drain $4.3M From PancakeSwap In 'White Hat' Attack
The developers of pNetwork, an independent cross-chain bridge protocol used to transfer assets across different chains, ethically took $4.3 million in pgala (pegged gala) tokens that it had issued to bridge users.
Ankita K.
12:43 4th Nov, 2022

The "white hat" exploit was executed today as the team said it had discovered a “misconfiguration” in the token’s smart contract, according to on-chain analysis by security firm BlockSec. The developers of pNetwork attempted to front-run any malicious hackers by “draining” pGALA tokens locked in PancakeSwap pools. These tokens, issued by pNetwork itself, represent a 1:1 tokenized version of the gala tokens used in play-to-earn project Gala Games.

The tokens are issued whenever users bridge gala tokens from its original chain, Ethereum, to BNB Chain via pNetwork bridge. Anyone can use pNetwork to lock their assets, including gala tokens, as collateral in the bridge contract and mint tokenized gala, also known as pGALA.

The pgala tokens are maintained via smart contracts controlled by the pNetwork team, and can traded on decentralized exchanges on BNB Chain, including PancakeSwap. Today, the team said that it had discovered a misconfiguration that could allow anyone to steal from the pgala smart contract. Because of this, the contract had to be urgently patched and redeployed. “A misconfiguration of the pNetwork bridge necessitated the redeployment of pGala,” pNetwork said.

It added that it had to drain the token in liquidity pools, performing the white hat attack to protect the value of gala tokens locked in the bridge contract before it could redeploy the token contract. To drain pgala liquidity on PancakeSwap, the pNetwork developers minted billions of pgala tokens out of thin air and swapped them to BNB tokens. The team was able to mint these tokens because it had the privileged access from the contract.

BlockSec said: “Our investigation shows that pNetwork had a privileged address and could mint the token. This address minted lots of tokens. As explained by pNetwork, the reason they minted and sold such a large number of pNetwork, is because they intentionally drained the pool to deploy a new pGala contract.”

On-chain data provided by security firm Beosin showed that an address, now believed to be pNetwork team, minted 55 billion gala tokens and swapped them for more than 12,976 BNB tokens worth about $4.3 million across multiple transactions.

PNetwork clarified that all gala tokens on Ethereum as well as the underlying bridge collateral were safe, adding that it plans to reimburse pgala and BNB to user addresses in proportion to their positions in the PancakeSwap pool, after taking a snapshot of their positions.

Gala Games commented on the incident, saying its token was “not hacked, breached, or exploited in any way,” and pointed users to pNetwork’s posts on the white hat activity. Still, the incident caused turbulence in the gala token market. The token traded down 13% on the day, according to CoinGecko.


CoinShots Logo



Get in touch:

© 2024 Coinshots (AtlasZero LLC). All rights reserved.