Tensions Rise in DeFi as Curve Challenges PancakeSwap Over Alleged Use of StableSwap Code
Curve Finance accuses PancakeSwap of using its StableSwap code without proper licensing, raising legal and security questions in DeFi.
A dispute between two major decentralized finance platforms is drawing attention to the fragile balance between open-source innovation and intellectual property rights in the blockchain ecosystem. Curve Finance has publicly accused the decentralized exchange PancakeSwap of using its proprietary StableSwap code without securing the appropriate license.
The allegation centers on PancakeSwap Infinity, the latest iteration of the exchange’s trading platform, which introduced a StableSwap-style mechanism designed to facilitate efficient trading between stablecoins and tightly pegged digital assets. Curve Finance claims that the implementation relies on code originally developed by its team, raising concerns about unauthorized use of technology that underpins one of DeFi’s most important liquidity mechanisms.
In a statement shared on social media, the Curve team suggested that collaboration could still be possible if PancakeSwap follows proper licensing procedures. The message indicated that the developers behind Curve would be open to cooperation, noting that projects seeking to use StableSwap technology should engage through official channels to ensure compliance and security.
Beyond the licensing dispute, Curve emphasized the technical complexity involved in building stablecoin swap systems safely. According to the team, integrating such features without deep expertise could introduce vulnerabilities that threaten user funds. As a warning, Curve pointed to past incidents within the DeFi sector where flaws in liquidity pool mechanisms contributed to major security breaches.
Among the examples cited were the 2022 attack on the Saddle Finance platform and the 2025 exploit that drained roughly $116 million from the Balancer protocol. These events illustrate how small weaknesses in automated market maker infrastructure can escalate into large-scale financial losses, particularly when protocols adapt or replicate code without fully understanding its underlying mechanics.
PancakeSwap responded publicly by acknowledging the issue and indicating that its team would contact Curve Finance to discuss the concerns. The exchange suggested that dialogue between the two projects could help resolve the matter. In response, Curve reiterated its preference for cooperation, remarking that it would be better for both sides to work together than remain in conflict.
The disagreement emerges during a period of rapid development for PancakeSwap Infinity, which has been expanding its capabilities across multiple blockchain networks. Originally launched on BNB Chain, the upgraded platform has since been deployed on networks including Arbitrum and Base, part of a broader strategy to position the exchange as a cross-chain liquidity hub.
One of the key features introduced with the Infinity upgrade is the use of programmable “hooks,” which function as smart contract extensions that allow developers to customize liquidity pools. These tools enable dynamic trading fees, tailored incentives for liquidity providers and on-chain limit orders that execute automatically when predefined conditions are met.
The redesign also drastically reduced the cost of creating liquidity pools, lowering fees by up to 99 percent. According to PancakeSwap, the architecture was designed to support a wider variety of trading strategies and expand access to decentralized liquidity markets.
Despite these technological advances, the controversy highlights an ongoing challenge for the DeFi sector. Many protocols are built on open-source foundations, but the line between inspiration, adaptation and direct replication is not always clear. As projects compete to introduce new features and capture market share, disputes over licensing and intellectual property are becoming more frequent.
How the situation between Curve Finance and PancakeSwap unfolds could shape broader norms for collaboration and code reuse across decentralized finance. In an industry built on transparency and shared innovation, the debate underscores that even open ecosystems still require clear rules for how technology is borrowed, licensed and deployed.



