Bitcoin DEX On Nexus Hacked, Losing 8.5 BTC: Signature Vulnerability in Legacy Version Exploited as Entry Point, V1 Platform Shut Down Urgently

The incident resulted in the loss of approximately 8.5 BTC (around $685,000) from the V1 custodial multisig pool.

Because the V1 liquidity pool historically used a custodial multisig architecture, all LP assets deposited into the pool were compromised, while ordinary users’ self-custodial wallets remained safe.

This precisely targeted assault on “legacy code debt” not only forced the team to urgently and permanently shut down V1 and work with on-chain security firms such as SlowMist to track down the attackers, but also once again sounded the alarm for the rapidly evolving Bitcoin DeFi ecosystem.

8.5 BTC Drained in 4 Hours: Legacy Server-Side Signing Becomes a Fatal Vulnerability

As Bitcoin-native decentralized finance (BTC DeFi) gradually moves into deeper and more complex territory, security hazards hidden in early legacy code have resurfaced. On October 27, the Bitcoin-native decentralized liquidity layer On Nexus (formerly DotSwap) issued an incident report on social media, confirming that its early trading platform, DotSwap V1, had been precisely targeted by hackers.

On-chain monitoring and the official investigation indicate that the attackers identified a “legacy server-side signing mechanism” in DotSwap V1’s architecture that was no longer maintained but remained operational. Within a window of approximately four hours, the attackers forged invalid signature data, bypassed the system’s routine security controls, and quietly drained liquidity from the V1 liquidity pool and related system accounts. Approximately 8.5 BTC was transferred out in total, worth around $685,000 based on market prices at the time.

Unlike modern, sophisticated attacks involving smart-contract flash loans or cross-chain bridge replay exploits, the attack on DotSwap V1 was essentially a textbook exploitation of “technical debt.” The hackers did not directly attack Bitcoin’s underlying network or the modern Schnorr signature algorithm. Instead, they precisely targeted a centralized server-side signing interface originally built to improve processing efficiency, exposing the serious legacy risk created by the protocol’s failure to fully remove outdated infrastructure during successive architectural upgrades.

Custodial Multisig vs. Self-Custody: Clarifying the Scope of Losses and Pool Exposure

Following the attack, the nature of the affected assets and the safety of ordinary users’ wallets became the market’s primary concern. In response, the On Nexus team clearly defined the scope of the losses in its announcement: the core cause of the theft was DotSwap V1’s early fund-management architecture, whose liquidity pool used a “Custodial Multisig” mechanism.

This custodial multisig design meant that when liquidity providers (LPs) supplied liquidity to the V1 trading pool in its early days, their funds were effectively consolidated into a platform-controlled multisig treasury. As a result, all deposits that remained in the V1 pool and had not been withdrawn were compromised in the attack. The affected group was therefore limited entirely to LP users who had provided liquidity over an extended period but had not migrated their funds in time.

For the many ordinary trading users, however, the team offered clear reassurance. Because front-end interactions and routine swaps used Bitcoin’s standard non-custodial transaction model, users’ “Self-custodial Wallets” and private keys were never exposed to the platform’s servers. The Bitcoin and Ordinals/Runes assets held in personal wallets were completely unaffected, preventing the panic from spreading to the broader user base.

Emergency Shutdown and Coordinated Response: Exchange Interception and Follow-Up Measures

As soon as the abnormal outflows were identified, the On Nexus incident-response team took decisive steps to limit the damage. DotSwap V1 has now been completely taken offline and shut down, and the network interface for the legacy signing service has been fully removed to prevent any remaining vulnerabilities from being exploited a second time. Meanwhile, the Nexus modern trading channel built on the new-generation architecture remains unaffected, and the overall system is under close monitoring.

Efforts to block and trace the hackers’ money-laundering routes are being carried out across multiple fronts. The team said it has joined forces with professional on-chain security analysis firms such as SlowMist to conduct real-time taint tracking of the hackers’ Bitcoin transfer UTXOs. It has also deployed alerting probes across mempool.space and major on-chain monitoring networks. The team is working closely with leading centralized exchanges (CEXs) across the industry, promptly distributing lists of addresses linked to the hackers to block potential deposit and cash-out channels.

Regarding the interests of affected LP users, On Nexus emphasized that the team would not shirk its responsibilities. An internal audit is still underway. Once the complete code reverse review and a comprehensive reconstruction of the fund flows are finished, the team will promptly publish a detailed Security Incident Post-Mortem for the community, along with a dedicated asset-handling and compensation plan for affected liquidity providers, in an effort to rebuild community trust with the utmost sincerity.

Bitcoin’s “Technical Debt” Problem: Why Does Legacy Code Keep Causing Major Breaches?

The fall of DotSwap V1 has once again put the rapidly advancing Bitcoin ecosystem under the security spotlight. Since the inscription wave ignited the BTC ecosystem in 2023, many teams have rushed to launch V1 products featuring centralized compromises while early infrastructure was still immature, in an effort to compete for fast-changing narrative momentum. During subsequent rebranding and architectural upgrades, however, many teams became preoccupied with pursuing new narratives and neglected to completely archive and disconnect outdated, obsolete services.

In the blockchain world, any legacy contract or offline interface exposed to the public internet remains a permanent target in the eyes of attackers. No matter how robust a new architecture may be, if an old contract still holds real funds or an outdated API still has permission to sign transfers, the weakest link in the chain will remain at its most vulnerable historical point. This explains why, over the past several years, both established DEXs on Ethereum and newcomers in the Bitcoin ecosystem have repeatedly stumbled over the same problem: funds being stolen from “abandoned versions.”

This $685,000 lesson has sounded the alarm for the entire Bitcoin development community. For native projects evolving at high speed, technological progress is not simply about replacing the old with the new; it also requires decisive separation from and ruthless cleanup of “technical debt.” Establishing a sunset policy for obsolete services at an early stage, proactively guiding users through liquidity migration, and completely destroying signing credentials when a version is discontinued are the foundational measures needed to ensure that decentralized finance can withstand the test of time.

Published on
Disclaimer: Investing involves risk. This article does not constitute investment advice.