In accordance with a brand new put up by blockchain safety agency SlowMist on Nov. 7, it appears that the final week’s token exploit affecting GameFi project Gala Games resulted from a public leak of relevant safety keys on GitHub. As instructed by SlowMist, pNetwork, the cross-chain interoperability bridge utilized by Gala Video games on the BNB Good Chain, had three privileged roles in its sensible contract pGALA.
“The Admin position is used to handle upgrades and modifications to the Admin handle of the proxy contract. The DEFAULT_ADMIN_ROLE position is used to handle varied privileged roles within the logic (eg: MINTER_ROLE ), and the MINTER_ROLE position manages the pGALA token minting authority.”
SlowMist went on to elucidate that each the DEFAULT_ADMIN_ROLE and MINTER_ROLE roles have been managed by pNetwork throughout initialization. In the meantime, the proxy admin contract was an externally owned handle chargeable for upgrading the pGALA contract. Nonetheless, the agency posted a screenshot alleging that the plaintext non-public key for the proxy admin proprietor handle was uncovered and publicly viewable on GitHub. Thus, any person with entry to the non-public key might have manipulated the pGALA contract at any time. On Aug. 28, the proxy admin contract proprietor was changed, making the protocol susceptible to an assault.
The Gala Video games token bridge was exploited on Nov. 3 after a single pockets handle 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 have 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.”
1/2 We strongly condemn as untruthful Huobi’s accusations towards pNetwork and we’ll search authorized motion accordingly.
We now have documented proof exhibiting that pNetwork has acted in good religion, that each one actions have been agreed upon prematurely with GalaGames and that…
— pNetwork (@pNetworkDeFi) November 6, 2022