Analyzing Ethereum Smart Contract Vulnerabilities

SkillSecurity

This skill lets your AI check Ethereum smart contracts for security weaknesses before they become a problem. Once added, your AI can review Solidity code using the Slither and Mythril analysis tools and flag common vulnerabilities such as reentrancy. It combines fast static checks with deeper symbolic analysis to find issues a quick read might miss.

Available today. Use it from your connected AI after setup.

After adding the skill, give your AI a Solidity contract to review and ask it to check for vulnerabilities. It will run the analysis and summarize what it finds.

Then ask your AI: use the Analyzing Ethereum Smart Contract Vulnerabilities skill

What your AI can do with it

  • Scan Solidity contracts for vulnerabilities, including reentrancy
  • Run static analysis to spot risky patterns in contract code
  • Run symbolic analysis to examine how a contract behaves and surface hidden flaws
  • Check contracts with Slither
  • Check contracts with Mythril
  • Report what it detects so you know which weaknesses to address

What this skill tells your AI

The instructions your AI receives, as published by 26zl/cybersec-toolkit in .claude/skills/analyzing-ethereum-smart-contract-vulnerabilities/SKILL.md and read by ahel’s review.

Overview

Smart contract vulnerabilities have led to billions of dollars in losses across DeFi protocols. Unlike traditional software, deployed smart contracts are immutable and handle real financial assets, making pre-deployment security analysis critical. Slither performs fast static analysis using an intermediate representation to detect over 90 vulnerability patterns in seconds, while Mythril uses symbolic execution and SMT solving to discover complex execution path vulnerabilities like reentrancy and integer overflows. This skill covers running both tools against Solidity contracts, interpreting results, triaging findings by severity, and generating audit reports.

When to Use

  • When investigating security incidents that require analyzing ethereum smart contract vulnerabilities
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Python 3.10+ with pip
  • Slither (pip install slither-analyzer) and solc compiler
  • Mythril (pip install mythril) with solc-select for compiler version management
  • Solidity source code or compiled contract bytecode
  • Foundry or Hardhat development framework (optional, for project-level analysis)

Steps

Step 1: Run Slither Static Analysis

Execute Slither against the contract codebase to identify vulnerability patterns, optimization opportunities, and code quality issues using its 90+ built-in detectors.

Step 2: Run Mythril Symbolic Execution

Run Mythril deep analysis to explore execution paths and discover reentrancy, unchecked external calls, and arithmetic vulnerabilities that require path-sensitive analysis.

Step 3: Triage and Correlate Findings

Combine results from both tools, deduplicate findings, assess severity based on exploitability and financial impact, and filter false positives.

Step 4: Generate Audit Report

Produce a structured audit report with vulnerability descriptions, affected code locations, exploit scenarios, and remediation recommendations.

Expected Output

JSON report listing vulnerabilities with SWC (Smart Contract Weakness Classification) identifiers, severity ratings, affected functions, and suggested fixes.

Signals

GitHub stars
54
Forks
10
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
analyzing-ethereum-smart-contract-vulnerabilities
Source
github.com/26zl/cybersec-toolkit