GALA token exploit resulted from public leak of personal key on GitHub

by Jeremy

In accordance with a brand new put up by blockchain safety agency SlowMist on Nov. 7, it seems that the final week’s token exploit affecting GameFi mission Gala Video games resulted from a public leak of relevant safety keys on GitHub. As advised by SlowMist, pNetwork, the cross-chain interoperability bridge utilized by Gala Video games on the BNB Sensible Chain, had three privileged roles in its sensible contract pGALA.

“The Admin function is used to handle upgrades and adjustments to the Admin tackle of the proxy contract. The DEFAULT_ADMIN_ROLE function is used to handle numerous privileged roles within the logic (eg: MINTER_ROLE ), and the MINTER_ROLE function manages the pGALA token minting authority.”

SlowMist went on to clarify that each the DEFAULT_ADMIN_ROLE and MINTER_ROLE roles had been managed by pNetwork throughout initialization. In the meantime, the proxy admin contract was an externally owned tackle accountable for upgrading the pGALA contract. Nevertheless, the agency posted a screenshot alleging that the plaintext personal key for the proxy admin proprietor tackle was uncovered and publicly viewable on GitHub. Thus, any consumer with entry to the personal key might have manipulated the pGALA contract at any time. On Aug. 28, the proxy admin contract proprietor was changed, making the protocol weak to an assault.

The Gala Video games token bridge was exploited on Nov. 3 after a single pockets tackle appeared to have minted over $2 billion in GALA (GALA) tokens out of skinny air and dumped the tokens on decentralized alternate PancakeSwap. Round 12,977 BNB (BNB), price $4.5 million, was drained from the liquidity pool.

Cryptocurrency alternate Huobi alleged the aforementioned actions had been a scheme for revenue orchestrated by pNetwork. The latter has denied such allegations, whereas additionally stating in its autopsy evaluation that “No funds loss occurred on the GALA cross-chain bridge. All GALA tokens on Ethereum are protected.