Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

entry-point-analyzer — Claude Code skill: entry point analysis

Finds externally callable smart contract functions that change state and classifies their access level. Use it before an audit to map the attack surface.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add trailofbits/skills --skill entry-point-analyzer -a claude-code
Open on GitHub

What entry-point-analyzer does

This skill scans a smart contract codebase for externally callable functions that can change state. It sorts each entry point by access level: unrestricted, role-restricted, restricted pending review, or contract-only. The result is a structured report for audit work.

It covers Solidity, Vyper, Solana with Rust, Move, TON, and CosmWasm. Read-only code is left out, including view, pure, @view, @pure, get methods, and query handlers. For Move, reachable public fun functions are considered even when they lack entry.

For Solidity, the skill checks for Slither before manual inspection and uses its output as a starting point. Slither can miss callbacks or dynamic access checks, so its results need manual review. If Slither fails, the analysis continues manually.

What it helps with

  • find state-changing contract functions
  • separate unrestricted and role-restricted entry points
  • identify privileged operations
  • review contract-to-contract call restrictions
  • map an audit attack surface

Example prompts for the agent

  • Run `entry-point-analyzer` on this repository and list state-changing entry points.
  • Use `entry-point-analyzer` to classify external functions by access control.
  • Run `entry-point-analyzer` and review privileged contract operations.

How to install entry-point-analyzer

1Skills CLI (Vercel)

npx skills add trailofbits/skills --skill entry-point-analyzer -a claude-code

2Manually: put the files in place

~/.claude/skills/entry-point-analyzer/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/entry-point-analyzer/

From the same set35

The whole set →
semgrep trailofbits Runs a Semgrep static security audit on your codebase. It presents a plan for user confirmation and merges all findings into SARIF. Claude Code CX Codex Cursor +1 9,500installs differential-review trailofbits Reviews code changes for security issues using Git history and test coverage. Use it for commits, diffs, and pull requests that need a written review report. Claude Code CX Codex Cursor +1 8,800installs modern-python trailofbits Configures Python projects with a modern tooling stack: uv for dependency management, ruff for linting and formatting, ty for type checking. Use when starting new projects, writing scripts, or migrating from legacy tools. Claude Code CX Codex Cursor +1 8,700installs secure-workflow-guide trailofbits Guides smart contracts through Trail of Bits' 5-step security audit on check-in or before deployment. It runs static analysis, generates visual charts, and prepares fuzzing tests. Claude Code CX Codex Cursor +1 7,400installs sharp-edges trailofbits Audits API designs and configuration schemas for developer footguns. Flags dangerous defaults and fragile interfaces where the easiest path causes security vulnerabilities. Claude Code CX Codex Cursor +1 6,900installs agentic-actions-auditor trailofbits Inspects GitHub Actions workflows for prompt injection risks and insecure AI agent setups. Catches attacker inputs leaking into prompts via event contexts or environment variables. Claude Code CX Codex Cursor +1 6,700installs gh-cli trailofbits A skill that redirects GitHub requests from curl and fetch to authenticated gh CLI for repositories, pull requests, and issues. Use it for private repos and higher API limits. Claude Code CX Codex Cursor +1 6,600installs variant-analysis trailofbits Finds related occurrences of an already identified defect across a repository. Use it after a vulnerability or logic issue turns up and similar code needs checking. Claude Code CX Codex Cursor +1 6,400installs

Similar

V3 Swarm Coordination ruvnet Orchestrates a 15-agent hierarchical mesh swarm to implement claude-flow v3. Manages parallel execution across security, core, and integration domains over a 14-week plan. Claude Code CX Codex Cursor +1 1,100installs use-link-identity stripe Tells the agent how to fetch a Link Agent Attestation Token or signed claims and send them to a service that asked for them. Claude Code CX Codex Cursor +1 9,200installs security-auditor sickn33 Turns your AI coder into a security expert: conducts audits, analyzes vulnerabilities, reviews SDLC and compliance with OWASP, GDPR, PCI-DSS standards. Claude Code CX Codex Cursor +1 1,400installs organization-best-practices better-auth Sets up multi-tenant organizations, invitations, and permissions in Better Auth. Helps manage teams and custom RBAC rules without digging through documentation. Claude Code CX Codex Cursor +1 36,400installs git-guardrails-claude-code Matt Pocock This skill adds a Claude Code hook that stops risky Git commands before they run. Use it when an agent must not push or discard working-tree changes. Claude Code 499,069installs ponytail-review DietrichGebert ponytail-review reviews a change beyond the diff, checking connected code, bugs, risks, load, tests, speed, and unnecessary code. Use it for PRs and commits. Claude Code CX Codex Cursor +1 56,300installs ponytail-audit DietrichGebert It audits a repository and ranks bugs, risks, and redundant code in a one-shot report. Use it when you need a review without code changes. Claude Code CX Codex Cursor +1 44,800installs security-audit cloudflare Reviews codebases and APIs for vulnerabilities using safe sandboxing. Fits pre-release security reviews, pen-test triage, and architecture checks. Claude Code CX Codex Cursor +1 52,200installs

Questions about entry-point-analyzer

How do I install entry-point-analyzer in Claude Code?

Run npx skills add trailofbits/skills --skill entry-point-analyzer -a claude-code, then run npx skills add trailofbits/skills --skill entry-point-analyzer -a claude-code again. The skill file is at ~/.claude/skills/entry-point-analyzer/SKILL.md.

What does entry-point-analyzer do?

It identifies externally callable smart contract functions that change state and classifies their access restrictions. It produces structured audit material around those entry points.

Does entry-point-analyzer require Slither for Solidity?

No. It uses Slither when available and falls back to manual inspection if Slither is unavailable or fails.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor