entry-point-analyzer

Identify state-changing external entry points in smart contracts and output a markdown report.

Updated May 2, 2026
One-click install
npx skills add https://github.com/ayehiaa/my-travel-assistant --skill entry-point-analyzer-ayehiaa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: entry-point-analyzer
Source: https://github.com/ayehiaa/my-travel-assistant/tree/main/.agents/skills/entry-point-analyzer
Command: npx skills add https://github.com/ayehiaa/my-travel-assistant --skill entry-point-analyzer-ayehiaa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps security reviewers quickly understand a smart contract’s attack surface by listing every externally callable function that can change state, while excluding read-only logic.

Core Features & Use Cases

  • State-changing entry point discovery: Identifies externally callable functions that modify state across supported contract languages.
  • Access classification: Categorizes entry points into public, role-restricted, restricted (review required), and contract-only based on visibility, modifiers/decorators, and caller checks.
  • Audit-ready reporting: Produces a structured markdown report including function locations, detected restrictions, and a summary table suitable for audit workflows.

Quick Start

Ask the analyzer to scan your contract repository and produce an entry-point report excluding view/pure/read-only functions.

Frequently Asked Questions about entry-point-analyzer

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

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

To map state-changing entry points for a security audit, scan your contract repository to identify externally callable functions that modify state, while excluding read-only logic. This produces a structured markdown report detailing the attack surface.

Does the entry point analyzer support Vyper and Solana/Rust contracts?

Yes, the entry point analyzer supports Vyper and Solana/Rust contracts, alongside Solidity, Move, TON, and CosmWasm. It identifies external entry points, privileged operations, and access control patterns across these languages.

How are access control patterns classified during smart contract analysis?

During smart contract analysis, access control patterns are conservatively classified into public, role-restricted, restricted, and contract-only categories. This classification is based on function visibility, modifiers, and caller checks.

Can I exclude view and pure functions when scanning external entry points?

Yes, you can exclude view and pure functions when scanning external entry points. The analysis specifically detects and filters out read-only and query handlers to focus entirely on state-changing logic.

What is the best way to document a smart contract attack surface for audit workflows?

The best way to document a smart contract attack surface for audit workflows is to generate a structured markdown report. This report includes function locations, detected restrictions, and a summary table of all state-changing entry points.

Why should I review trust-boundary callbacks when analyzing external entry points?

You should review trust-boundary callbacks when analyzing external entry points because they often invoke privileged operations that can alter contract state. Identifying these callbacks is crucial for accurate access classification and attack-surface mapping.