Skip to content
PluginImportedShare-alike license

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.

Imported description, not reviewed yet

This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.

Download

Files: 15 · Size: 74 KB

Download the ZIP

The file carries the license of the original source.

Install

Plugins are installed from a plugin marketplace in Claude Code, not by copying files. Download the package to read its content and its license.

Instructions

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.

Files

  • folder.claude-plugin444 B
    • plugin.json444 B
  • foldercommands377 B
    • entry-points.md377 B
  • folderskills46 KB
    • folderentry-point-analyzer46 KB
      • folderagents238 B
        • openai.yaml238 B
      • folderassets3 KB
        • trail-of-bits-mark.svg3 KB
      • folderreferences32 KB
        • cosmwasm.md5.3 KB
        • move-aptos.md3.9 KB
        • move-sui.md3.4 KB
        • solana.md4.7 KB
        • solidity.md5.6 KB
        • ton.md4.9 KB
        • vyper.md4.2 KB
      • SKILL.md10 KB
  • foldertests4.4 KB
    • README.md2 KB
    • scenario.md2.4 KB
  • LICENSE20 KB
  • README.md3.2 KB

Comments (0)

No comments yet. Be the first.

Sign in to comment. Commenting comes at level 1 (Member).

Report

Similar items

  • PluginImported

    blockchain-web3

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

    MITFiles: 11

  • PluginImported

    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.0Files: 58

  • PluginImportedContains scripts

    burpsuite-project-parser

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

    CC-BY-SA-4.0Files: 8

  • PluginImportedContains scripts

    c-review

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

    CC-BY-SA-4.0Files: 24

  • PluginImported

    claude-md-management

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

    Apache-2.0Files: 10

  • PluginImported

    comprehensive-review

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

    MITFiles: 6