HomeCybersecurityProxy Storage Collision Simulator

Proxy Storage Collision Simulator

Interactive 3D simulation of the upgradeable-proxy delegatecall pattern used by smart contracts: watch a naive sequential storage layout silently corrupt owner and balance data on upgrade, and see how EIP-1967 isolated slots prevent it.

Cybersecurity3DAdvanced60 FPS
exp-smart-contracts-security ↗ Open standalone

Upgradeable smart contracts route every call through a proxy's delegatecall into a swappable implementation contract, which executes its own code against the proxy's storage slots. This simulator renders that storage as a live 3D grid: deploy a V1 implementation whose owner, balance and paused variables sit in sequential slots, then upgrade to a V2 implementation that inserts new state variables ahead of the old ones. In naive sequential-slot mode, the upgrade silently reinterprets old data as new variables — the readouts flag exactly which slots collide and whether the contract's owner read is corrupted. Switch to EIP-1967 isolated slots and the same upgrade leaves every critical variable untouched, because they never lived in the sequential range to begin with.

⚙ Under the hood

Interactive 3D simulation of the upgradeable-proxy delegatecall pattern used by smart contracts: watch a naive sequential storage layout silently corrupt owner and balance data on upgrade, and see how EIP-1967 isolated slots prevent it.

blockchainsmart-contractsproxy-patternstorage-collisioneip-1967delegatecall

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)