Storagelens
Identifies storage-collision and uninitialized-slot bugs in contract storage layouts across proxy upgrades.
Storagelens is a dedicated tool for analyzing and diffing contract storage layouts, crucial for preventing silent storage-collision and uninitialized-slot bugs in upgradeable proxy contracts. It offers a self-hostable, scriptable solution designed to be integrated into continuous integration (CI) workflows, providing prioritized findings in various formats like table, JSON, or SARIF. By ensuring layout compatibility between contract versions, Storagelens safeguards against critical vulnerabilities that can brick upgradeable proxies, making it an essential component for robust smart contract security and development.
主要功能
01Runs on Linux, macOS, Windows, Docker, and Devcontainers
02Native MCP server support for AI agent integration
03Diff Storage Layouts across Versions
04Polyglot Ports in Python, JavaScript, Go, and Rust
050 GitHub stars
06Parse and Load Contract Storage Layouts
使用案例
01Catch storage-collision and uninitialized-slot bugs in smart contract proxy upgrades via CI gating.
02Generate machine-readable security findings in JSON or SARIF format for automated analysis.
03Integrate security scanning into AI agent workflows through an MCP server or OpenAI-compatible JSON output.