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.
وصف مستورد لم يراجعه محرر بعد
جاء هذا العنصر من مستودعه الأصلي وفحصناه آلياً فقط، ولم يكتب له محرر وصفاً عربياً بعد. اقرأ محتواه بنفسك قبل أن تعتمد عليه. ولا تُفهرس هذه الصفحة في محركات البحث حتى تُراجَع.
التنزيل
التثبيت
تُثبَّت الإضافات من سوق الإضافات في كلود كود، لا بنسخ الملفات. نزّل الحزمة لتقرأ محتواها وترخيصها.
التعليمات
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
| Language | File Extensions | Framework Support |
|---|---|---|
| Solidity | .sol | OpenZeppelin, custom modifiers |
| Vyper | .vy | Native patterns |
| Solana | .rs | Anchor, Native |
| Move | .move | Aptos, Sui |
| TON | .fc, .func, .tact | FunC, Tact |
| CosmWasm | .rs | cw-ownable, cw-controllers |
Access Classifications
The skill categorizes entry points into four levels:
- Public (Unrestricted) — Callable by anyone; highest audit priority
- Role-Restricted — Limited to specific roles (admin, governance, guardian, etc.)
- Review Required — Ambiguous access patterns needing manual verification
- 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:
| Pattern | Detected Role |
|---|---|
onlyOwner, msg.sender == owner | Owner |
onlyAdmin, ADMIN_ROLE | Admin |
onlyGovernance, governance | Governance |
onlyGuardian, onlyPauser | Guardian |
onlyKeeper, onlyRelayer | Keeper/Relayer |
onlyStrategy, strategist | Strategist |
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 (عضو).