Decentralized artificial intelligence (AI) network Gonka AI has reportedly suffered a massive security attack in which hackers exploited its Ethereum bridge to withdraw stablecoins and issue unbacked tokens worth over $1 million.

According to blockchain analytics firm Onchain Lens, the hacker was able to gain access to the bridge's BLS group key, allowing the attacker to withdraw funds and issue Wrapped Gonka (WGNK) tokens without backing them with the required assets.

Per the report, the hacker managed to withdraw $884,800 in Tether (USDT) and USD Coin (USDC) stablecoins and also issued $172,000 in unbacked WGNK tokens.

Combined, the total value of the affected assets stood at around $1.06 million, per Onchain Lens.

Following the hack, the funds were transferred through the decentralized exchange Uniswap and multiple crypto wallets, making it challenging to trace their final destination.

How Gonka AI lost over $1 million

The attack targeted Gonka AI's cross-chain bridge. The cross-chain bridge makes it possible to transfer assets from Gonka AI's native chain to Ethereum and vice versa.

According to the project's technical documentation, withdrawing funds from Gonka to Ethereum requires certain cryptographic signatures from the network's validator set.

The cryptographic signatures are checked against the BLS group key, which changes with every network epoch.

Per the report, the attacker was able to change the epoch BLS group key on the bridge, making it possible for the hacker to control the part of the bridge responsible for authorizing fund withdrawals.

Thus, the hacker was able to withdraw funds from the bridge's stablecoin reserves and issue WGNK tokens without locking the required amount of assets on the native blockchain.

Blockchain security firm Blockaid noted that the hack had taken place, with the total amount of funds stolen reaching about $1.05 million across roughly five transactions at the time of the initial alert.

At the time it spotted the suspicious activity, Blockaid noted that the hack was still ongoing.

Onchain Lens's numbers differ slightly, with the firm reporting around $884,800 in stablecoin withdrawals and $172,000 in unbacked WGNK issuance.

Notably, the issuance of unbacked tokens presents an additional problem, given that such tokens could potentially enter circulation without the necessary reserves to back them.