Sonic DEX Announces Breach, Shuts Down Dapp
For anyone who wasn't watching the Internet Computer developer community over the last few weeks, one of the oldest decentralized exchanges suffered a serious security incident involving its liquidity pools. The strange part is that even now, on July 23, there are still two overlapping stories being debated: was Sonic exploited through a vulnerability, or did someone obtain privileged control over infrastructure that was never sufficiently decentralized in the first place? Here's what we know so far. Before the Incident — Sonic's Control Structure There's an important piece of context before getting to July 16. Sonic is governed through an SNS DAO, but that doesn't necessarily mean every canister involved in the protocol was controlled directly by the SNS. On June 26 , Sonic Proposal 290 was executed under the title "Restore Canister Control to SNS DAO and Remove Keeper Wallet Controllers." The proposal concerned a specific canister and stated that its purpose was to make the SNS DAO its sole controller. This proposal has not been publicly established as the cause of the later incident, but it does show that canister-controller arrangements were actively being changed shortly before the loss. That distinction between the DAO controlling Sonic and the DAO controlling every important Sonic canister would become very important a few weeks later. July 16 — Something Is Draining Sonic The alarm appears to have reached the broader ICP developer community shortly after midnight UTC on July 16 . A thread titled "Sonic was hacked" appeared on the DFINITY Developer Forum. The initial report claimed Sonic's pools were being depleted and that the attacker was dumping ICP ecosystem tokens and acquiring assets such as ckBTC and ckETH. Two addresses believed to be connected to the activity were also published for people to follow on-chain. The opening description was blunt: "Hackers directly extracts tokens from Sonic's pool" The two addresses identified in that initial investigation can still be examined through IC Explorer (1) (2) . At this stage, people naturally assumed this was a conventional DeFi exploit: find bug, exploit smart contract, drain liquidity. Within hours, however, reports started suggesting something stranger. At approximately 7:27 UTC, a forum participant reported that the incident appeared to still be occurring and warned people against using Sonic. According to the report, a swap could progress through several transaction steps before the funds were diverted during the final portion of the process. The description used was: "It's a leaking bucket." Whether every failed swap during this period resulted from precisely the same mechanism has not been independently established, but the reports were serious enough that the obvious conclusion was: do not continue trading on Sonic while the incident is unresolved. Developer rem.codes began looking into Sonic's pool canisters and reported that the pool canisters he examined were not controlled by the Sonic DAO itself. That means the existence of an SNS did not automatically prevent another controller from retaining administrative authority over critical pieces of the exchange. Initially, rem.codes thought one examined pool canister may have been upgraded that morning. After digging further into the canister history, he corrected that observation: the most recent upgrade he could identify for the example ICP/CHAT pool was actually June 21, 2026 at 15:14:26 UTC: looked into it a bit, and the pool canisters are not controlled by the DAO, so anybody with control could have upgraded the canister. That's an important correction. There currently isn't evidence in that investigation showing an attacker simply pushed malicious code to that particular pool on the morning of July 16. But the controller issue remained. And that began changing the conversation from "What vulnerability did the hacker exploit?" to "Who actually had authority over these canisters?" Several community members began alleging that the incident could have involved someone associated with Sonic or someone possessing privileged controller access. Sonic had already faced criticism over its governance, treasury spending and development direction, which caused the incident to immediately inherit years of existing distrust. Security researcher Evan McFarland used the incident to make a broader point: protocols holding significant TVL need serious security investment, auditing and bounty programs. He noted that without incentives for white-hat researchers to report vulnerabilities, eventually the people looking for those vulnerabilities may be the ones who intend to exploit them: Good low-stakes warning shot for the ecosystem IMO. Projects that custody TVL need to invest in security or close down. I disclosed the KongSwap full drain without reward, then tried to get other projects to list bounty programs to no avail. I really want to hunt here as an honest whitehat but can’t. So all that’s left is blackhats. Maybe some projects will list a bounty program now. This morning, after about a week, Sonic publicly acknowledged the incident. And Phasma tweeted this: Sonic says the protocol has now been paused , that technical and legal action is underway, and that the team is pursuing avenues for recovering the stolen funds. The team also says it intends to publish a detailed postmortem after the investigation is complete. The Bigger Story: A DAO Is Only as Decentralized as Its Controllers This might ultimately become a useful case study for the entire Internet Computer ecosystem. ICP gives developers unusually powerful on-chain governance capabilities. An SNS can control application canisters directly. Upgrades can be placed behind proposals. Treasuries can live on-chain. Governance can theoretically remove the developer from the trust equation almost entirely. But none of that happens automatically. If Sonic's investigation ultimately determines that an outside attacker compromised one of those controllers, that architectural distinction may turn out to be the central reason this incident was possible. At the end of the day, this is a big hack for the ecosystem, even if Sonic was largely pushed aside for ICPSwap, KongSwap while it was running, and MULTI/DEX.