Skip to content

DappsAtlas index · 14,224 dApps

DappsAtlas

DeFi · Explainer

DeFi Vampire Attacks Explained: Forks, Liquidity and Risk

A vampire attack happens when a new DeFi protocol copies an existing one's code and uses token rewards to pull liquidity away from it. This guide explains how the tactic works, the 2020 SushiSwap case that made it well known, and what liquidity providers can check before depositing funds.

By the DappsAtlas editorial team · Updated

Illustration for DeFi Vampire Attacks Explained: Forks, Liquidity and Risk

What is a vampire attack in DeFi?

A vampire attack in decentralised finance is a strategy where a new protocol takes the code of an existing one, deploys its own copy, and offers extra token rewards to people who move their liquidity to the copy. The goal is to pull deposits, trading volume and governance attention away from the original project.

The term is informal. It describes the pattern, not a formal category. The attacker is usually a team that forks a protocol, often a decentralised exchange, and then gives its users a reason to switch.

The tactic works because most DeFi protocols are open source. Anyone can read the contracts, copy them and deploy them on the same or another blockchain. The new version does not need to be better technically. It needs to offer a stronger incentive or a clear story for why users should move.

Vampire attacks are one of several ways DeFi projects compete for liquidity. Others include launching new pools, lowering fees, adding incentives to existing pools and building better interfaces. What sets a vampire attack apart is that it targets a specific rival's users directly and often does so with a copied product.

Where does the name come from?

The phrase comes from the idea that the new protocol feeds on the old one. Liquidity moves out of the original pools like blood, and the attacker grows stronger as the original weakens. The metaphor is commonly used in DeFi discussions, and it is not an official term in any standard.

Some people also connect the name to the food-themed branding that appeared in one famous case, which is why the topic is sometimes discussed alongside food-related names. That branding does not change how the tactic works. What matters is the mechanism: copied code, new incentives and a migration path for users.

It helps to separate the metaphor from the mechanics. A protocol that uses a food name is not automatically a vampire attack, and a vampire attack does not need any particular theme. Readers searching for the term should focus on whether a project copied another project's code and used rewards to move its users.

How does a vampire attack work step by step?

Although every case differs, most vampire attacks follow a similar sequence.

  1. The attacker picks a live protocol with significant liquidity, usually a decentralised exchange or lending market.
  2. It copies the open source contracts and deploys them, often with small changes to fees or branding.
  3. It creates a governance token and sets up a rewards programme for liquidity providers.
  4. It offers an easy way to move liquidity, such as a migration tool or a page that reads the original pool's positions.
  5. Users who receive higher rewards on the new platform withdraw from the old one and deposit into the new one.
  6. If enough liquidity moves, the new protocol becomes the main venue, and the original project's volume declines.

The process depends heavily on timing and incentives. A high reward rate attracts users quickly, but it is often temporary. If rewards fall, some users leave again, and the new protocol must find lasting demand for its service.

What happened in the SushiSwap and Uniswap case?

The best known example is SushiSwap, which launched in August 2020 as a fork of Uniswap V2. Uniswap V2 was a constant product automated market maker with a large pool of liquidity. SushiSwap copied its core code and added a token called SUSHI that was distributed to liquidity providers who moved their pool tokens to the new platform.

The migration was designed to be simple. Liquidity providers could move their positions with a few actions, and the new platform offered extra SUSHI rewards on top of trading fees. Liquidity did move in large amounts, and SushiSwap became a major exchange in a short time.

The story did not end neatly. Later, the anonymous founder withdrew a large share of the development fund, which damaged confidence in the project. The episode showed two things. A vampire attack can succeed quickly, and the trust that follows depends on governance and how the team handles the treasury.

Readers can check the current status of SushiSwap and Uniswap V2 on their own platforms, because usage and liquidity change often and no single figure stays accurate for long.

Why are forks easy to copy, and why do incentives matter?

Forks are cheap to make because the original code is public. A team with basic development skills can deploy a copy within days. That low cost is why vampire attacks are possible, but it also means the same tactic can be used against the attacker later.

A fork is not the same as a new product. Copied code can carry bugs, and the original audits may not cover the changed parts. When a fork changes fees, rewards or access controls, it creates new risks that the original contracts never faced.

Incentives are the main driver. Liquidity moves to where rewards are highest, not necessarily to where the best product is. This is why a fork can grow quickly and then lose users just as fast when the rewards fall.

For users, the practical question is not whether a protocol is a fork. It is whether the protocol is secure, whether it has a clear use, and whether its incentives can continue without a steady flow of new deposits.

What risks do liquidity providers face?

Liquidity providers face several risks during a vampire attack.

  • Smart contract risk. A new fork may have bugs that the original code did not have, or the changes may be untested.
  • Token risk. Reward tokens can lose value quickly, especially if many recipients sell at once.
  • Impermanent loss. When token prices move apart, a liquidity provider can end up with less value than simply holding the tokens.
  • Governance risk. Concentrated token holdings can let a small group change fees, pools or treasury rules.
  • Migration risk. Moving funds between platforms can involve approvals, bridges or wrapped tokens, each with its own failure points.

A position that earns high rewards can still lose money overall once price changes and token value are counted. Before depositing, it is worth calculating the outcome under a few price scenarios, not just reading the advertised rate.

Always check the current rate, pool size and token price on the protocol's own interface or a block explorer, since these figures change often and any number written in a guide will become outdated.

How do token rewards and emissions affect the outcome?

Token rewards are the engine of most vampire attacks, so their design matters. A reward programme usually has an emissions schedule that sets how many tokens are released over time. If emissions are high early and drop later, the programme can attract users quickly and then lose them.

Some projects try to make rewards last longer by locking tokens, offering governance power or sharing real trading fees. Others use lockups that stop recipients from selling immediately. Each design has trade-offs. Locks can reduce sell pressure but also reduce liquidity for holders who need to exit.

For a liquidity provider, the useful question is how much of the yield comes from trading fees and how much comes from token emissions. Fee income usually depends on real trading demand. Emission income depends on the token price and the rewards schedule, and it can fall sharply.

Readers should look at the schedule in the project's documentation, the number of tokens already in circulation and whether the protocol has a plan for rewards after the initial programme ends.

How can you check a protocol before providing liquidity?

A short checklist can help before you provide liquidity to any new or forked protocol.

  1. Read the documentation and identify the team behind the deployment, including whether members are named and reachable.
  2. Check whether the contracts have been audited, who performed the audit, and whether the audited version matches the live one.
  3. Look at the rewards schedule and estimate how the yield will change over time.
  4. Confirm the URL you are using from the project's official channels, and bookmark it rather than following links from messages or ads.
  5. Start with a small amount to see how the process works and how withdrawals behave.
  6. Keep records of every transaction, including approvals, so you can revoke permissions later.

These steps do not remove risk, but they reduce the chance of a costly mistake. Comparing several platforms that offer similar services can also show whether a reward rate is unusually high for the risk involved.

For security, never share your seed phrase, and treat any unsolicited offer to help you migrate as suspicious. Real protocols do not need you to reveal private keys.

What happens after a vampire attack, and what can users do now?

After a vampire attack, the original protocol often faces several choices. It can add its own rewards to keep liquidity, change fees, improve its interface, or focus on users who value its design and track record. Some protocols recovered by building stronger governance or new products. Others shrank.

For the new protocol, the challenge is turning temporary rewards into lasting users. This usually means building a product people want to use without incentives, earning trust through transparent treasury management and responding to security issues openly.

For users, the outcome matters because liquidity can move again. A provider who moved funds for rewards may move them out when rewards fall. Monitoring positions and withdrawal options helps avoid being stuck in a pool with poor terms.

If you are considering a position after a vampire attack, read the current documentation, review recent governance decisions and check the latest security reports. Because liquidity, rates and token prices change, the best source for current figures is the protocol's own dashboard or an independent block explorer.

Frequently asked questions

Is a vampire attack illegal or a hack?

Usually not directly. Most vampire attacks rely on the public code of the original protocol, which is often open source, and on attracting liquidity providers with new incentives. The original team can respond with its own rewards, changes to fees or governance moves, but it cannot stop a forked version from being deployed.

Does a vampire attack always destroy the original protocol?

Not always. The original protocol can lose liquidity and trading volume, but the outcome depends on whether users stay, whether the fork keeps its incentives and whether the original team responds. Some protocols recovered after a short drop, while others lost a large share of their market.

How can I check whether a new fork is risky before I deposit?

Start with the token emissions schedule, the team and how much control it holds over funds, whether the contracts were audited and by whom, and whether the rewards are sustainable without new deposits. Check current pool sizes and rates on the protocol's own interface or a block explorer, since these figures change often.

Is this topic connected to the town of Forks in the Twilight books?

No. The name is unrelated to the Twilight setting in Forks, Washington. In DeFi, the term refers to a protocol that copies another protocol's code, often called a fork, and uses incentives to draw away its users and liquidity.

Is providing liquidity after a vampire attack safe?

Liquidity provision and yield farming can lose money through price changes, smart contract failures, rug pulls and falling token rewards. Only use funds you can afford to lose, check local laws on crypto and financial products, and seek independent advice if you are unsure.

Mentioned in this guide

dApps in this guide

Uniswap V2 logoScore 8.0 out of 10

Uniswap V2 is a non-custodial automated market maker DEX on 17 chains for token swaps and liquidity provision, with about $938M TVL.

TVL $864M−4.1%Ethereum · Base · Polygon +14
Pancakeswap V2 logoScore 7.8 out of 10

PancakeSwap V2 is a constant-product AMM DEX mainly on BNB Chain for swapping tokens, providing liquidity and farming CAKE rewards.

BNB Chain · Base
Uniswap V3 logoScore 8.4 out of 10

Uniswap V3 is a non-custodial decentralized exchange protocol for token swaps and concentrated liquidity provision across 40+ chains.

TVL $1.51B−3.7%Ethereum · Base · Arbitrum +38
Uniswap V4 logoScore 8.5 out of 10

Uniswap V4 is the latest Uniswap DEX version with hooks and concentrated liquidity, running on 22 chains for self-custody token swaps and liquidity provision.

TVL $1.14B−2.9%Ethereum · Robinhood Chain · Base +19

Curve

DEXes

Score 8.0 out of 10

Curve is a decentralized exchange on Ethereum built for low-slippage swaps of stablecoins and similar assets, with CRV governance and a crvUSD stablecoin.

Ethereum
Aave V3 logo

Aave V3

Lending

Score 8.6 out of 10

Aave V3 is a non-custodial DeFi lending protocol on 21 chains where users earn interest on deposits or borrow against collateral.

TVL $15.1B+1.9%Ethereum · Base · Arbitrum +18
SushiSwap logoScore 7.4 out of 10

SushiSwap is a multichain decentralized exchange with a swap aggregator, perps, staking and liquidity pools for self-custody DeFi traders.

TVL $35.2M−1.3%Ethereum · Polygon · Arbitrum +32
Uniswap logo

Uniswap

DEXes

Score 7.5 out of 10

Uniswap is a self-custody decentralized exchange protocol for swapping tokens through liquidity pools across multiple networks.

Ethereum · Base · Arbitrum +2
Real logo

Real

Other

Not rated yet

The Real Review is a wine and food publication for readers seeking reviews, winery rankings and regional wine classifications.

Keep reading

Related guides

All defi guides

DeFi · Explainer

What Happened to SushiSwap: Founder Exit, Hacks and Today

SushiSwap started in 2020 as a fork of Uniswap that paid rewards to attract liquidity, and its history since then includes a founder token sale, a smart contract exploit and governance fights over the treasury. This guide sets out what happened, what is confirmed, and what to check before using the protocol or its SUSHI token today.

DeFi · Explainer

Coinbase and SushiSwap: What the Listing Means in 2026

A large US exchange listing brought SushiSwap back into the spotlight, but the protocol's launch history and founder controversy still shape how it is judged. This guide explains what the Coinbase connection does and does not mean, and how to check the current facts yourself.

DeFi · Explainer

DeFi vs High-Risk dApps: What Separates Them in 2026

DeFi is a category of financial services built on public blockchains, while high-risk dApps are a subset that adds extra danger through leverage, unaudited code, unclear operators or gambling mechanics. This guide explains how to tell them apart and what to check before you use either.

DeFi · Explainer

DeFi TVL Explained: Why Growth Numbers May Mislead in 2026

Total value locked (TVL) is the most cited measure of DeFi size, but it moves with token prices, double counting and incentive programs. This guide explains what TVL captures, where it misleads, and which checks give a clearer picture.

DeFi · Explainer

DeFi vs TradFi Banks in 2026: How They Differ and Converge

DeFi protocols and traditional banks both move money, lend and manage risk, but they rely on different structures for custody, access and accountability. This guide explains those differences and where the two systems are now connecting in 2026.

DeFi · Explainer

DeFi Trends to Focus on in 2026: What Matters and Why

DeFi in 2026 is shifting toward tokenized funds, liquid staking, curated lending vaults and stablecoin-based products. This guide explains each trend, the protocols behind it, and what to check before you use them.