entry-point-analyzer

Identify state-changing entry points in smart contract codebases.

Updated Jul 10, 2025
One-click install
npx skills add https://github.com/Superlend/superloop-core-contracts --skill entry-point-analyzer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: entry-point-analyzer
Source: https://github.com/Superlend/superloop-core-contracts/tree/main/.cursor/skills/entry-point-analyzer/skills/entry-point-analyzer
Command: npx skills add https://github.com/Superlend/superloop-core-contracts --skill entry-point-analyzer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill systematically identifies state-changing entry points in a smart contract codebase to support security audits, reducing manual surface-area mapping and helping auditors focus on high-risk functions.

Core Features & Use Cases

  • Detects externally callable state-changing functions across languages (Solidity, Vyper, Solana, Move, TON, CosmWasm)
  • Classifies access patterns: Public (unrestricted), Role-Restricted, and Contract-Only
  • Generates structured audit reports to guide remediation and governance
  • Supports both automated extraction (Solidity via Slither when available) and manual analysis using language references
  • Excludes read-only functions to focus on potential state mutations

Quick Start

Run the entry-point-analyzer on your smart contract codebase to enumerate and classify all externally callable, state-changing entry points. For Solidity, enable Slither if available to auto-extract entry points; otherwise rely on language references for manual analysis and reporting.

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?

Identifying state-changing entry points involves mapping external calls and categorizing access patterns like Public or Role-Restricted. This focuses the security audit on potential state mutations by excluding read-only functions from the review.

Does smart contract entry point analysis work with Vyper, Solana, and Move codebases?

Yes, smart contract entry point analysis works with Vyper, Solana, Move, TON, and CosmWasm projects, as well as Solidity. It detects language-specific entry points to map external calls across different blockchain platforms.

Can I use Slither to auto-extract Solidity state-changing functions for access control reviews?

Yes, you can use Slither to auto-extract Solidity state-changing functions for access control reviews. If Slither is unavailable, the analysis falls back to manual extraction using language references to classify access patterns.

What is the best way to classify access patterns for external calls in smart contracts?

The best way to classify access patterns for external calls is to categorize them as Public, Role-Restricted, or Contract-Only. This classification highlights unrestricted and privileged state-changing functions for security reviews.

How do I generate a structured audit report for smart contract entry points?

You generate a structured audit report by enumerating and classifying all externally callable state-changing functions in the codebase. The output markdown report categorizes access patterns to guide remediation and governance.

Why should I exclude read-only functions when mapping smart contract entry points?

You should exclude read-only functions when mapping smart contract entry points because they cannot mutate contract state. Focusing on state-changing functions reduces manual surface-area mapping and highlights high-risk external calls.