> ## Documentation Index
> Fetch the complete documentation index at: https://docs.berachain.com/llms.txt
> Use this file to discover all available pages before exploring further.

# What Is BEX?

> Trade any token pair and provide liquidity via weighted and stable pools on Berachain.

BEX is the native decentralized exchange (DEX) protocol of Berachain. You can trade any combination of tokens through weighted and stable pools.

<Frame>
  <img src="https://mintcdn.com/berachain-422fce37/6LKWuTvY60eeSRVD/images/bex/pools-overview.jpeg?fit=max&auto=format&n=6LKWuTvY60eeSRVD&q=85&s=d87ec7705c71db0b4b227e4771b0e1b6" alt="BEX pools page showing available liquidity pools" width="3520" height="2384" data-path="images/bex/pools-overview.jpeg" />
</Frame>

Use BEX (swap, pools, and vaults) from **Bera Hub** in the site navbar.

<Warning>
  **Security notice**

  On January 21st, 2025, Balancer disclosed a vulnerability in their V2 Vault implementation. BEX shares this vulnerability. **Funds currently deposited in BEX are safe and no action is needed.** When creating new pools, exercise caution with untrusted or newly-created tokens. The frontend displays warnings for potentially vulnerable tokens. Future plans include integrating Balancer V3, which mitigates this issue. See the [Balancer disclosure](https://forum.balancer.fi/t/balancer-v2-token-frontrun-vulnerability-disclosure/6309) for details.
</Warning>
