X100, Arkadiko attacks cause about $6 million in losses

Governance flaws at X100 and Arkadiko caused about $6 million in losses, including a flash-loan attack that won two X100 Senate seats and moved 400,000 X from its treasury.

Governance flaws at X100 and Arkadiko caused an estimated $6 million in losses in October. The incidents involved an X100 flash-loan attack and an Arkadiko proposal that gave a malicious contract control over vault operations.

The X100 attack occurred on Oct. 24 in a single blockchain transaction. Two helper contracts each froze 19,000.000001 X for one year, entered the Senate ranking and supplied the votes needed to approve proposal 7. X100’s rules measured Senate eligibility by the amount of currently frozen X and did not require the tokens to have been locked for a minimum period.

The two contracts gained two of the Senate’s three seats, allowing them to approve the proposal immediately. The transaction borrowed about 1.94 million USDT through a flash loan, sent 400,000 X from the treasury to a liquidity pool created by the attacker and sold tokens from the pool. The proceeds repaid the loan and its fee.

About 4.75 million USDT reached the first final recipient after repayment. Blockchain tracing identified about 4.848 million USDT in payments to three recipients. The amount excludes unsold X and changes in its market value. The frozen X remained locked, and X100’s Freezer contract still held enough tokens to cover users’ frozen balances.

At Arkadiko, proposal 12 was submitted at 20:35 UTC on Oct. 17 and executed at 16:04 UTC on Oct. 22. The governance contract set a voting period of 720 Bitcoin blocks, commonly described as five days.

The rules required a proposer to hold 0.25% of eligible DIKO supply, at least 5% participation for quorum and more yes votes than no votes. They did not require voters to have held their tokens before the proposal opened.

The proposing wallet acquired about 4.573 million DIKO shortly before the vote closed and committed the tokens to the proposal. The purchases were estimated at about $51,000. The proposal passed with the same yes-vote total and no opposing votes.

When voting ended, the approved malicious contract became Arkadiko’s vault-operations contract and received permission to mint USDA. Its withdrawal and minting functions did not restrict who could call them. The attacker removed sBTC at 16:06 UTC and stSTX at 16:09 UTC, minutes after the contract was activated.

Arkadiko’s losses were estimated at about $1.09 million, including roughly $780,000 in stSTX, $135,000 in sBTC and $173,000 in STX obtained by selling unbacked USDA. On Oct. 22, Arkadiko disabled the contract and paused governance, vault redemptions and liquidations. It said affected stSTX and sBTC vaults could not be modified because their collateral was unavailable.

At 07:57 UTC on Oct. 27, proposal 14, titled “AIP 32.2 – Restore Vault Operations,” executed and replaced the malicious vault-operations contract with Arkadiko’s legitimate v1-3 contract.

The two attacks used different weaknesses. X100’s one-year lock restricted when the attacker could withdraw the frozen X but did not delay voting authority. At Arkadiko, tokens purchased shortly before the vote remained eligible, and the approved contract took effect as soon as the ballot closed.

Articles by this author