본문으로 건너뛰기
Skillpedia
보안35k · #7613

analyzing-ethereum-smart-contract-vulnerabilities

하는 일

이 도구는 이더리움 스마트 계약 코드를 분석해 실제 운영되기 전 보안 결함을 찾습니다. 돈 손실로 이어질 수 있는 흔한 문제를 찾기 위해 두 가지 주된 기법을 사용합니다.

사용하는 경우

  • ✓사용하기 전에 계약의 보안을 확인하고 싶을 때.
  • ✓기존 계약에 문제가 있었고 조사해야 할 때.
  • ✓암호화폐 계약의 보안을 배우는 중일 때.

스킬 링크

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-ethereum-smart-contract-vulnerabilities/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-ethereum-smart-contract-vulnerabilities/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 이더리움 계약에서 취약점을 분석해 주세요: [여기에 코드를 붙여 넣으세요]”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 두 가지 분석을 실행합니다. 알려진 결함을 찾는 빠른 분석(Slither)과 계약이 어떻게 공격당할 수 있는지 시뮬레이션하는 심층 분석(Mythril)입니다. 그다음 결과를 합쳐 가장 심각한 문제를 보고합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Analyzing Ethereum Smart Contract Vulnerabilities

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.

자주 묻는 질문

이더리움 스마트 계약이란 무엇인가요?

조건이 충족되면 돈을 이체하는 등 합의를 자동으로 실행하는, 이더리움 네트워크에서 돌아가는 프로그램입니다.

스마트 계약에 보안이 왜 중요한가요?

스마트 계약은 실제 돈을 다루며, 배포되면 바꿀 수 없습니다. 결함이 있으면 해커가 자금을 훔칠 수 있습니다.

'재진입(reentrancy)'과 '정수 오버플로(integer overflow)'는 무엇인가요?

보안 결함의 유형입니다. '재진입'은 공격자가 첫 실행이 끝나기 전에 함수를 반복해서 호출하게 하는 것이고, '정수 오버플로'는 계산 결과가 시스템이 저장할 수 있는 수보다 커져 악용될 수 있는 것입니다.

상세 정보

작성자의 원본 설명

Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to detect reentrancy, integer overflow, access control, and other vulnerability classes before deployment to Ethereum mainnet.

repo: mukul975/Anthropic-Cybersecurity-Skills

인기도

GitHub 스타
35k
순위
#7613
라이선스
Apache-2.0
업데이트
2026. 8. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬