entry-point-analyzer

Detect state-changing entry points in smart contract codebases for security audits.

1|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/Ramprasad4121/srp --skill entry-point-analyzer-ramprasad4121
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: entry-point-analyzer
Source: https://github.com/Ramprasad4121/srp/tree/main/skills-repos/trailofbits/plugins/entry-point-analyzer/skills/entry-point-analyzer
Command: npx skills add https://github.com/Ramprasad4121/srp --skill entry-point-analyzer-ramprasad4121

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill systematically identifies all state-changing entry points in smart contract codebases, providing a clear map of the attack surface for security audits.

Core Features & Use Cases

  • State-Changing Function Identification: Detects and categorizes externally callable functions that modify contract state, excluding read-only operations.
  • Access Control Analysis: Classifies functions by access level (Public, Role-Restricted, Contract-Only) to understand privilege escalation vectors.
  • Use Case: When starting a smart contract security audit, use this Skill to quickly identify all functions that can alter the contract's state, helping you prioritize areas for deeper inspection.

Quick Start

Analyze the smart contract codebase in the current directory to find all state-changing entry points.

Frequently Asked Questions about entry-point-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify state-changing entry points in a smart contract for a security audit?

To identify state-changing entry points for a security audit, analyze the codebase to detect externally callable functions that modify state, categorize them by access level, and exclude read-only operations. This maps the attack surface for deeper inspection.

Can I find externally callable functions across different blockchain languages like Solidity, Vyper, and Rust?

Yes, you can find externally callable functions across multiple blockchain languages. The analyzer supports Solidity, Vyper, Solana/Rust, Move, TON, and CosmWasm codebases to detect functions that alter contract state.

How do I map the attack surface of a smart contract by access control levels?

You map the attack surface by classifying state-changing functions by access level, such as Public, Role-Restricted, or Contract-Only. This categorization highlights potential privilege escalation vectors during security audits.

Why are view and pure functions excluded from my smart contract attack surface analysis?

View and pure functions are excluded from attack surface analysis because they are read-only operations that do not modify contract state. The analysis focuses strictly on state-changing entry points that present actual security risks.

What is the best way to start a smart contract security audit to prioritize high-risk functions?

The best way to start a smart contract security audit is to generate a structured report of all state-changing entry points. This allows you to quickly identify and prioritize externally callable functions that can alter the contract state.

Does entry-point-analyzer work with CosmWasm and Move smart contract codebases?

Yes, entry-point-analyzer works with CosmWasm and Move codebases. It analyzes these codebases alongside Solidity, Vyper, Solana/Rust, and TON to detect state-changing functions and generate structured audit reports.