solidity-audit

solidity-audit is a skill for Claude Code, Codex from ComeOnOliver/skillshub. It costs 55 tokens per session (5,860 once invoked), scanned A, original, MIT.

A security checklist for auditing Solidity smart contracts, which run programs on blockchain networks such as Ethereum.

In plain words
What is it for?
Use it during Solidity security audits, code reviews, and checks before deploying a contract.
Why use it?
It helps reviewers look for common contract vulnerabilities and compare findings with documented exploit patterns.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it during Solidity security audits, code reviews, and checks before deploying a contract.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/comeonoliver/skillshub/solidity-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ComeOnOliver/skillshub --skill solidity-audit
Clone the repo
git clone --depth 1 https://github.com/ComeOnOliver/skillshub

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for solidity-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/comeonoliver/skillshub/solidity-audit.svg)](https://agentmods.dev/skills/comeonoliver/skillshub/solidity-audit)
Your own site
<a href="https://agentmods.dev/skills/comeonoliver/skillshub/solidity-audit"><img src="https://agentmods.dev/badge/skills/comeonoliver/skillshub/solidity-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,860 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.05860
Opus 5 $0.00028 $0.02930
Sonnet 5 $0.00011 $0.01172
Haiku 4.5 $0.00006 $0.00586

Measured 8d ago against content hash 0f47c64a6b80, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

solidity-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/0xlayerghost/solidity-agent-kit/solidity-audit/SKILL.md · 364 lines

How it starts

The opening of the file, as written. The whole thing — 364 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Solidity Security Audit Checklist

Language Rule

  • Always respond in the same language the user is using. If the user asks in Chinese, respond in Chinese. If in English, respond in English.

Usage: This skill is for security audits and code reviews. It is NOT auto-invoked — call /solidity-audit when reviewing contracts for vulnerabilities.

Contract-Level Vulnerabilities

1. Reentrancy

Variant Description Check
Same-function Attacker re-enters the same function via fallback/receive All external calls after state updates (CEI pattern)?
Cross-function Attacker re-enters a different function sharing state All functions touching shared state protected by nonReentrant?
Cross-contract Attacker re-enters through a different contract that reads stale state External contracts cannot read intermediate state?
Read-only View function returns stale data during mid-execution state No critical view functions used as oracle during state transitions?

Case: GMX v1 (Jul 2025, $42M) — reentrancy in GLP pool on Arbitrum, attacker looped withdrawals to drain liquidity.

2. Access Control

Check Detail
Missing modifier Every state-changing function has explicit access control?
Modifier logic Modifier actually reverts on failure (not just empty check)?
State flag Access-once patterns properly update storage after each user?
Admin privilege scope Owner powers are minimal and time-limited?

Case: Bybit (Feb 2025, $1.4B) — Safe{Wallet} UI injected with malicious JS, hijacked signing process. Not a contract flaw, but access control at the infrastructure layer.

3. Input Validation

Check Detail
Zero address All address params reject address(0)?
Zero amount Fund transfers reject zero amounts?
Array bounds Paired arrays validated for matching length?
Arbitrary call No unvalidated address.call(data) where attacker controls data?
Numeric bounds Inputs bounded to prevent dust attacks or gas griefing?

Read the full file on GitHub · 364 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 364 lines · 55 tokens per session scan A 0f47c64a6b80

Subscribe to this mod's changes

solidity-audit is a skill published in the GitHub repository ComeOnOliver/skillshub (63 stars, last pushed 2mo ago), licensed MIT. It adds 55 tokens to every session and 5,860 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

openclaw-github-dedupe

Investigate a cluster of GitHub issues and PRs, determine canonical candidates, post duplicate/related status, preserve contributor credit, and execute cleanup actions. Supports autonomous mode for provided-link-only closeout, merge/fix follow-through, changelog, and post-merge issue/PR cleanup.

vincentkoc/dotskills · 68 tokens

pr-reviewer

Reviews a diff or security scope read-only using evidence-tiered findings, structural and context-error rubrics, and repository review policy. Use when asked to "review my changes", "structural review", "review for AI patterns", or "security audit". For applying fixes use tidy; for UI defects use ui-design.

mblode/agent-skills · 68 tokens

pr-babysitter

Monitors or repairs an open GitHub PR: CI failures, conflicts, review threads, and merge readiness, reporting state changes. Use when asked to "watch this PR", "fix CI", "resolve conflicts", or "address review comments". For PR metadata use pr-creator; for npm release PRs use autoship.

mblode/agent-skills · 72 tokens

github-commenting

How to post clean, rich, deduplicated GitHub PR review comments — suggestion blocks, multi-line anchors, markers, formatting rules. Load before posting or fixing any PR comment.

juspay/neurolink · 41 tokens

spawn-reviewers

Spawn and collect the reviewer fleet at stage20spawnreviewers. Consumes spawn.json.spec (the authoritative spawn spec from derive-spawn-spec / derive-static-spec), resolves GRAPHPROJECT, builds per-agent prompts from the per-agent template + role suffixes (Bug Hunter A/B, Unified Auditor, Domain Critics, Impact…

closedloop-ai/claude-plugins · 182 tokens

singleton-dispatch

PLN-725 single-agent dispatch for stage11extractsignals and stage15coveragecritic. After each prepare stage writes its manifest, this skill reads the status field (cachehit / skipped / needsagent) and, only on needsagent, spawns one synchronous singleton Task that writes the by-convention pln725.json output the…

closedloop-ai/claude-plugins · 142 tokens