Back to Blog
Security
Mar 2, 2026

Proxy Contract: The Most Hidden Rug Tool in DeFi

What Is a Proxy Contract?

A proxy contract is a smart contract design pattern that splits a contract into two layers:

  • Proxy contract — stores data, contains minimal logic, and serves as the entry point for user interactions.
  • Logic / Implementation contract — holds the actual business logic code.

When a user calls the Proxy contract, it forwards the request to the Logic contract via delegatecall for execution.

Why Is It Designed This Way?

Because smart contracts on the blockchain are immutable — once deployed, their code cannot be changed. But if a project needs to upgrade functionality, it can:

Keep the Proxy address unchanged, and simply swap out the Logic contract address to perform the upgrade.

Why Is This Risky?

Because the contract owner can replace the Logic contract address at any time — effectively swapping out the entire behavior of the contract without changing the address users see.

A Classic Rug Playbook

  • Launch the token with normal, legitimate logic.
  • Wait for enough capital to flow in.
  • Replace the Logic contract with a malicious version — for example, one that blocks all sells or drains all balances to the team wallet.
  • Rug and disappear.

That said, the presence of a proxy contract pattern does not automatically mean a project is unsafe. A proxy contract is not the same as a scam. What matters is who controls the upgrade key. This is where careful project research becomes essential.

Check proxy contract risk before you buy

AssetsLink Token Check scans proxy contracts, honeypots, ownership risks and more — free, instant, no wallet needed.