evm-bytecode-analysis

evm-bytecode-analysis is a skill for Codex from cdump/evmole. It costs 138 tokens per session (935 once invoked), scanned A, original, MIT.

A local analyzer for deployed EVM runtime bytecode, the machine code running inside an Ethereum-compatible smart contract.

In plain words
What is it for?
Use it to reconstruct an ABI, find function selectors, examine storage access, inspect control flow, or integrate the analyzer into a Rust, Go, Python, or JavaScript application.
Why use it?
It helps inspect contracts when the source code or ABI—the description of available functions and data—is missing or unverified.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to reconstruct an ABI, find function selectors, examine storage access, inspect control flow, or integrate the analyzer into a Rust, Go, Python, or JavaScript application.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cdump/evmole/evm-bytecode-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cdump/evmole --skill evm-bytecode-analysis
Clone the repo
git clone --depth 1 https://github.com/cdump/evmole

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for evm-bytecode-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/cdump/evmole/evm-bytecode-analysis/github.svg)](https://agentmods.dev/skills/cdump/evmole/evm-bytecode-analysis)
Your own site
<a href="https://agentmods.dev/skills/cdump/evmole/evm-bytecode-analysis"><img src="https://agentmods.dev/badge/skills/cdump/evmole/evm-bytecode-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for evm-bytecode-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/cdump/evmole/evm-bytecode-analysis"><img src="https://agentmods.dev/badge/skills/cdump/evmole/evm-bytecode-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 935 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 46
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00138 $0.00935
Opus 5.5 $0.00055 $0.00374
Sonnet 5.5 $0.00028 $0.00187
Haiku 4.5 $0.00014 $0.00093

Measured 11d ago against content hash 1103d0149519, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

evm-bytecode-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agent/skills/evm-bytecode-analysis/SKILL.md · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.

EVM Bytecode Analysis

Use EVMole for deterministic, local extraction from deployed EVM runtime bytecode.

Route by intent

  • To answer a question from supplied runtime bytecode, use the analysis workflow below. Prefer the MCP tool when available and otherwise use the JSON CLI.
  • To add published EVMole to a separate application's code, use the native library for the project's language instead of invoking the MCP server or agent JSON adapter from product code. Read references/libraries.md for package names, entry points, and documentation.
  • To implement, debug, refactor, or review EVMole itself, follow that repository's contributor instructions and inspect its source. Do not use a published package, MCP server, or JSON CLI as a substitute for understanding the implementation. Read this skill only when the repository task targets the CLI, MCP server, agent adapter, schemas, interpretation behavior, or the skill itself.
  • Use the JSON CLI as an application process boundary only when the user explicitly wants a subprocess or a language without a supported binding.

Workflow

  1. Obtain or confirm deployed runtime bytecode. Treat an address as an address, not bytecode; ask for the runtime code or use another authorized RPC tool to fetch it. Do not ask EVMole to execute or strip creation bytecode.
  2. Select only the features needed:
    • selectors for function selectors and dispatch locations.
    • arguments for inferred argument lists; this implies selectors.
    • stateMutability for inferred mutability; this implies selectors.
    • storage or transientStorage for inferred storage access.
    • metadata for terminal compiler metadata.
    • proxy for where a forwarding proxy's implementation address comes from.
    • disassembly, basicBlocks, or controlFlowGraph for instruction and control-flow evidence.
  3. Prefer the analyze_evm_bytecode MCP tool when available. Otherwise run the JSON CLI:

Read the full file on GitHub · 77 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago Changed · +5 lines · +3 tokens per session 1103d0149519
  2. 3mo ago First seen · 72 lines · 135 tokens per session scan A 0bc7c6eb5437

Subscribe to this mod's changes

evm-bytecode-analysis is a skill published in the GitHub repository cdump/evmole (477 stars, last pushed 11d ago), licensed MIT. It adds 138 tokens to every session and 935 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

evm-bytecode-analysis compared with skills from other repositories

evm-bytecode-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
evm-bytecode-analysiscdump/evmoleSkill47711d agoMITA138Codex
ethereum-developmentdirtybits/agent-skillsSkill22mo agoMITA64Claude Code, Codex
solidity-language-docspledgeandgrow/pledge-skillsSkill114mo agoMITB34Claude Code, Codex
analyzing-ethereum-smart-contract-vulnerabilitiesmukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A49Claude Code
analyzing-ethereum-smart-contract-vulnerabilitiesxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A49Claude Code, Codex
tevmevmts/tevmSkill4493d agoMITA77Codex
zevmevmts/tevmSkill4493d agoMITA61Codex