Join +750K new investors every month who copy stock picks from billionaire's portfoliosSign Up Free

White Hat Attack Sees Creators Of pNetwork Bridge Steal $4.3M From PancakeSwap

Published 04/11/2022, 16:56
Updated 04/11/2022, 18:11
© Reuters.  White Hat Attack Sees Creators Of pNetwork Bridge Steal $4.3M From PancakeSwap
MIT
-
BNBR3
-
GALA/USD
-

In a “white hack” attack, Pgala (pegged gala) tokens worth $4.3 million were taken ethically by the creators of pNetwork, an independent cross-chain bridge technology used to transfer assets across various chains.

On-chain analysis by security company BlockSec detected a "misconfiguration" in the token's smart contract today, which led to the discovery of the attack.

By "draining" pgala tokens locked in PancakeSwap pools, the creators of pNetwork had attempted to front-run any harmful hackers.

See Also: JPMorgan (NYSE:JPM) Executes First DeFi Transaction For Singapore's Project Guardian

These tokens are a 1:1 tokenized representation of the gala tokens used in the play-to-earn initiative Gala Games and were created by pNetwork itself.

When users use the pNetwork bridge to transfer gala tokens from its native chain, Ethereum (CRYPTO: ETH), to the Binance (CRYPTO: BNB) Chain, the tokens are issued.

Anyone can mint tokenized gala (pgala) by using the pNetwork to lock their assets, including gala tokens, as collateral in the bridge contract.

The pNetwork team maintains the pgala tokens through smart contracts, and they can be sold on decentralized BNB Chain exchanges like PancakeSwap.

Configuration Error Could Have Been Exploited By Hackers

The team had found a configuration error that might be exploited by anyone to steal from the pgala smart contract.

The contract needed to be promptly patched and redeployed as a result. The redeployment of pGala was necessary due to a misconfiguration of the pNetwork bridge.

In order to protect the value of the gala tokens trapped in the bridge contract, it further stated that it had to drain the token in liquidity pools before redeploying the token contract.

The pNetwork developers created billions of pgala tokens out of thin air and traded them to BNB tokens in order to drain pgala liquidity on PancakeSwap.

Due to its privileged access from the contract, the team was able to mint these tokens.

“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,” BlockSec stated.

55 Billion Gala Tokens Exchanged For 12,976 BNB Tokens

In multiple transactions, an address that is now thought to be pNetwork team issued 55 billion gala tokens and exchanged them for more than 12,976 BNB tokens worth around $4.3 million, according to on-chain data provided by security company Beosin.

PNetwork stated that all gala tokens on Ethereum as well as the underlying bridge collateral were secure.

It also said that it will, after taking a snapshot of user positions in the PancakeSwap pool, compensate user addresses for pgala and BNB in proportion to their positions.

Next: What The Fed's Latest Interest Rate Hike Means For The Crypto World

© 2022 Benzinga.com. Benzinga does not provide investment advice. All rights reserved.

Read the original article on Benzinga

Latest comments

Risk Disclosure: Trading in financial instruments and/or cryptocurrencies involves high risks including the risk of losing some, or all, of your investment amount, and may not be suitable for all investors. Prices of cryptocurrencies are extremely volatile and may be affected by external factors such as financial, regulatory or political events. Trading on margin increases the financial risks.
Before deciding to trade in financial instrument or cryptocurrencies you should be fully informed of the risks and costs associated with trading the financial markets, carefully consider your investment objectives, level of experience, and risk appetite, and seek professional advice where needed.
Fusion Media would like to remind you that the data contained in this website is not necessarily real-time nor accurate. The data and prices on the website are not necessarily provided by any market or exchange, but may be provided by market makers, and so prices may not be accurate and may differ from the actual price at any given market, meaning prices are indicative and not appropriate for trading purposes. Fusion Media and any provider of the data contained in this website will not accept liability for any loss or damage as a result of your trading, or your reliance on the information contained within this website.
It is prohibited to use, store, reproduce, display, modify, transmit or distribute the data contained in this website without the explicit prior written permission of Fusion Media and/or the data provider. All intellectual property rights are reserved by the providers and/or the exchange providing the data contained in this website.
Fusion Media may be compensated by the advertisers that appear on the website, based on your interaction with the advertisements or advertisers.
© 2007-2024 - Fusion Media Limited. All Rights Reserved.