تخطَّ إلى المحتوى
إضافةمستوردترخيص مشاركة بالمثل

entry-point-analyzer

Analyzes smart contract codebases to identify state-changing entry points for security auditing. Detects externally callable functions that modify state, categorizes them by access level, and generates structured audit reports.

وصف مستورد لم يراجعه محرر بعد

جاء هذا العنصر من مستودعه الأصلي وفحصناه آلياً فقط، ولم يكتب له محرر وصفاً عربياً بعد. اقرأ محتواه بنفسك قبل أن تعتمد عليه. ولا تُفهرس هذه الصفحة في محركات البحث حتى تُراجَع.

التنزيل

الملفات: 15 · الحجم: 74 ك.ب

نزّل ملف ZIP

يحمل الملف ترخيص المصدر الأصلي.

التثبيت

تُثبَّت الإضافات من سوق الإضافات في كلود كود، لا بنسخ الملفات. نزّل الحزمة لتقرأ محتواها وترخيصها.

التعليمات

Entry Point Analyzer

A Claude Code plugin and Codex skill for systematically identifying state-changing entry points in smart contract codebases to guide security audits.

Purpose

When auditing smart contracts, examining each file or function individually is inefficient. What auditors need is to start from entry points—the externally callable functions that represent the attack surface. This skill automates the identification and classification of state-changing entry points, excluding view/pure/read-only functions that cannot directly cause loss of funds or state corruption.

Supported Languages

LanguageFile ExtensionsFramework Support
Solidity.solOpenZeppelin, custom modifiers
Vyper.vyNative patterns
Solana.rsAnchor, Native
Move.moveAptos, Sui
TON.fc, .func, .tactFunC, Tact
CosmWasm.rscw-ownable, cw-controllers

Access Classifications

The skill categorizes entry points into four levels:

  1. Public (Unrestricted) — Callable by anyone; highest audit priority
  2. Role-Restricted — Limited to specific roles (admin, governance, guardian, etc.)
  3. Review Required — Ambiguous access patterns needing manual verification
  4. Contract-Only — Functions with enforced caller checks tied to integration contracts

Output

Generates a structured markdown report with:

  • Summary table of entry point counts by category
  • Detailed tables for each access level
  • Function signatures with file:line references
  • Restriction patterns and role assignments
  • List of analyzed files

Usage

Trigger the skill with requests like:

  • "Analyze the entry points in this codebase"
  • "Find all external functions and access levels"
  • "List audit flows for src/core/"
  • "What privileged operations exist in this project?"

In Claude Code, invoke the skill or pass a directory to the slash command:

/entry-point-analyzer:entry-point-analyzer
/entry-point-analyzer:entry-points src/core/

In Codex, invoke the skill directly:

Use $entry-point-analyzer to analyze src/core/.

Directory Filtering

Specify a subdirectory to limit scope:

  • "Analyze only src/core/"
  • "Find entry points in contracts/protocol/"

Role Detection

The skill infers roles from common patterns:

PatternDetected Role
onlyOwner, msg.sender == ownerOwner
onlyAdmin, ADMIN_ROLEAdmin
onlyGovernance, governanceGovernance
onlyGuardian, onlyPauserGuardian
onlyKeeper, onlyRelayerKeeper/Relayer
onlyStrategy, strategistStrategist
Dynamic checks (authorized[msg.sender])Review Required

Installation

Claude Code

/plugin marketplace add trailofbits/skills
/plugin install entry-point-analyzer@trailofbits

Codex

codex plugin marketplace add trailofbits/skills
codex plugin add entry-point-analyzer@trailofbits

Start a new session after installation. The skill includes its language references and can run without Slither; if Slither is installed, it uses the entry-points printer before manual access-control classification.

License

See LICENSE.txt for terms.

الملفات

  • مجلد.claude-plugin444 بايت
    • plugin.json444 بايت
  • مجلدcommands377 بايت
    • entry-points.md377 بايت
  • مجلدskills46 ك.ب
    • مجلدentry-point-analyzer46 ك.ب
      • مجلدagents238 بايت
        • openai.yaml238 بايت
      • مجلدassets3 ك.ب
        • trail-of-bits-mark.svg3 ك.ب
      • مجلدreferences32 ك.ب
        • cosmwasm.md5.3 ك.ب
        • move-aptos.md3.9 ك.ب
        • move-sui.md3.4 ك.ب
        • solana.md4.7 ك.ب
        • solidity.md5.6 ك.ب
        • ton.md4.9 ك.ب
        • vyper.md4.2 ك.ب
      • SKILL.md10 ك.ب
  • مجلدtests4.4 ك.ب
    • README.md2 ك.ب
    • scenario.md2.4 ك.ب
  • LICENSE20 ك.ب
  • README.md3.2 ك.ب

التعليقات (0)

لا تعليقات بعد. كن أول من يعلّق.

سجّل الدخول لتعلّق. التعليق من المستوى 1 (عضو).

أبلغ

عناصر مشابهة

  • إضافةمستورد

    blockchain-web3

    Smart contract development with Solidity, DeFi protocol implementation, NFT platforms, and Web3 application architecture

    MITالملفات: 11

  • إضافةمستورد

    building-secure-contracts

    Comprehensive smart contract security toolkit based on Trail of Bits' Building Secure Contracts framework. Includes vulnerability scanners for 6 blockchains and 5 development guideline assistants.

    CC-BY-SA-4.0الملفات: 58

  • إضافةمستورديحتوي سكربتات

    burpsuite-project-parser

    Search and extract data from Burp Suite project files (.burp) for security analysis

    CC-BY-SA-4.0الملفات: 8

  • إضافةمستورديحتوي سكربتات

    c-review

    Comprehensive C/C++ security code review, with coverage verified against a parse of the source

    CC-BY-SA-4.0الملفات: 24

  • إضافةمستورد

    claude-md-management

    Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.

    Apache-2.0الملفات: 10

  • إضافةمستورد

    comprehensive-review

    Multi-perspective code analysis covering architecture, security, and best practices

    MITالملفات: 6