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 (public, admin, role-restricted, contract-only), and generates structured audit reports. Excludes view/pure/read-only functions. Use when auditing smart contracts (Solidity, Vyper, Solana/Rust, Move, TON, CosmWasm) or when asked to find entry points, audit flows, external functions, access control patterns, or p
Security Assessment
Detected risks:
About entry-point-analyzer
The entry-point-analyzer skill is designed to assist security auditors and developers in identifying all state-changing entry points within a smart contract codebase. Its primary goal is to map externally callable functions that modify contract state, categorize them based on access level, and produce structured audit reports. By focusing exclusively on functions that can alter state, it ensures that auditors can prioritize potential security risks, avoiding distractions from read-only or informational functions. This skill supports multiple smart contract languages, including Solidity, Vyper, Solana/Rust, Move, TON, and CosmWasm, making it versatile for cross-platform contract audits.
Key features of entry-point-analyzer include automatic detection of contract language, parsing files for externally callable functions, and classifying functions by access levels such as public, admin, role-restricted, or contract-only. It integrates with tools like Slither for Solidity, allowing automated extraction of entry points, while providing fallback procedures for manual analysis when automated tooling is unavailable. The skill explicitly excludes view, pure, and query functions to focus on operations that can modify the state, ensuring a targeted and efficient audit workflow. Additionally, it produces structured reports in markdown format, supporting organized documentation of findings and analysis.
Typical use cases for this skill include initiating a smart contract security audit, analyzing access control patterns, identifying privileged operations, and mapping potential attack surfaces. Target users are security auditors, smart contract developers, and teams performing formal verification or compliance reviews. By systematically identifying critical state-changing functions, entry-point-analyzer helps users understand contract vulnerabilities, guide audit priorities, and strengthen the overall security posture of blockchain-based applications.
FAQ
When should I use the entry-point-analyzer skill?
Use this skill when starting a smart contract security audit, analyzing access control patterns, identifying privileged operations, or mapping externally callable functions that can change contract state.
Which smart contract languages are supported?
The skill supports Solidity, Vyper, Solana/Rust, Move, TON, and CosmWasm codebases.
Can this skill analyze read-only functions?
No. The skill focuses exclusively on state-changing functions and explicitly excludes view, pure, or query functions.
Do I need Slither to use this skill?
Slither integration is optional for Solidity codebases. If available, it can automate entry point extraction. If not, the skill provides a manual analysis workflow.
Is this skill suitable for non-smart-contract code?
No. It is designed specifically for smart contract audits and should not be used for general code quality, optimization, or non-contract projects.
Install entry-point-analyzer
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
trailofbits/skills