evm-analysis

Solid

Deep EVM bytecode analysis and decompilation capabilities for smart contract security, gas optimization, and reverse engineering. Provides tools for analyzing opcodes, storage layouts, proxy patterns, and bytecode verification.

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# EVM/Bytecode Analysis Skill Expert-level EVM bytecode analysis and decompilation for smart contract security audits, gas optimization, and reverse engineering. ## Capabilities - **Bytecode Analysis**: Analyze EVM bytecode and opcodes - **Gas Cost Calculation**: Calculate gas costs per operation - **Storage Layout Identification**: Identify storage slot layouts and packing - **Decompilation**: Decompile bytecode to pseudo-Solidity - **Proxy Analysis**: Analyze proxy implementation slots (EIP-1967) - **Pattern Detection**: Detect bytecode patterns (CREATE2, selfdestruct) - **Bytecode Verification**: Verify contract bytecode against source ## MCP Server Integration This skill can leverage the following MCP servers: | Server | Purpose | Install | |--------|---------|---------| | **EVM MCP Tools** | Smart contract auditing, security analysis | [0xGval/evm-mcp-tools](https://github.com/0xGval/evm-mcp-tools) | | **Solidity Contract Analyzer** | Contract code analysis with metadata | [Skywork](https://skywork.ai/skypage/en/smart-contract-analysis-solidity) | ## Opcode Reference Common EVM opcodes and gas costs: | Category | Opcodes | Base Gas | |----------|---------|----------| | Arithmetic | ADD, SUB, MUL, DIV | 3-5 | | Comparison | LT, GT, EQ, ISZERO | 3 | | Bitwise | AND, OR, XOR, NOT, SHL, SHR | 3 | | Memory | MLOAD, MSTORE | 3 + memory expansion | | Storage | SLOAD | 100 (warm) / 2100 (cold) | | Storage | SSTORE | 100-20000 (varies) | | Control | JUMP, JUMPI | 8-10 | ...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Related Skills