sc-audit

sc-audit is a skill for Claude Code, Codex from aeonfun/aeon. It costs 94 tokens per session (19,454 once invoked), scanned A, original, MIT.

A security-audit skill for Solidity smart-contract repositories or deployed blockchain contracts. It models protocol rules and trust boundaries, runs Slither where possible, investigates ways to break those rules, and uses fuzzing to help verify findings.

In plain words
What is it for?
Use it to audit a GitHub Solidity repository, a live contract address, or a bundled local fixture, including checks of deployed-contract details such as proxies, administrators, and funds at risk.
Why use it?
Smart-contract bugs can let attackers violate the contract's intended rules or put funds at risk; the audit process helps find and check those paths before they are accepted as real issues.

Skill for Claude CodeCodex

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

Good fit Use it to audit a GitHub Solidity repository, a live contract address, or a bundled local fixture, including checks of deployed-contract details such as proxies, administrators, and funds at risk.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aeonfun/aeon/sc-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 aeonfun/aeon --skill sc-audit
Clone the repo
git clone --depth 1 https://github.com/aeonfun/aeon

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 sc-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/aeonfun/aeon/sc-audit/github.svg)](https://agentmods.dev/skills/aeonfun/aeon/sc-audit)
Your own site
<a href="https://agentmods.dev/skills/aeonfun/aeon/sc-audit"><img src="https://agentmods.dev/badge/skills/aeonfun/aeon/sc-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sc-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/aeonfun/aeon/sc-audit"><img src="https://agentmods.dev/badge/skills/aeonfun/aeon/sc-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 19,454 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00094 $0.19454
Opus 5.5 $0.00038 $0.07782
Sonnet 5.5 $0.00019 $0.03891
Haiku 4.5 $0.00009 $0.01945

Measured 27d ago against content hash f9977945576b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sc-audit scanned grade A with 1 finding 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 27d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -o <SCRATCH>/sourcify.json \
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • sc-audit — 100% identical, 435 lines differ
skills/sc-audit/SKILL.md · 732 lines

How it starts

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

${var} - Target selector. Four forms:

  • `` (empty) -> auto-select the day's fresh feed target, audit only if it contains Solidity, else exit clean. See §S1 for the selection order (an optional sc-targets.json ledger, else the github-trending feed).
  • owner/repo -> audit that GitHub repo (e.g. Uniswap/v4-core, aave/aave-v3-origin).
  • <chain>:0x<address> -> on-chain mode: audit a live deployed contract by address. It fetches the verified source from the block explorer (Etherscan V2) or Sourcify, materializes it as a Foundry project, and runs the same pipeline - plus on-chain context (proxy/implementation, owner/admin, funds at risk). chain in eth/base/arbitrum/optimism/polygon/bsc/... (bare 0x<address> defaults to eth). Examples: base:0x4200000000000000000000000000000000000006, eth:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2. On-chain findings are operator-gated - never auto-filed/auto-emailed (see §S7). See §S1/§S2.
  • fixture:<name> -> local regression mode: audit the bundled fixture at skills/sc-audit/fixtures/<name>/ (e.g. fixture:vault). No fork, no dedup, no disclosure - a self-contained way to exercise the whole pipeline including the fuzz arm, with no external repo. See §S1/§S2.

Today is ${today}. Read memory/MEMORY.md and the last 30 days of memory/logs/ before starting.

Why this skill exists

Smart-contract bugs are logic and economics, not syntax. Slither matches known static patterns; it is weak on access control, protocol invariants, oracle/price manipulation, rounding/precision, upgradeability storage collisions, and cross-contract reentrancy - the classes that actually drain funds, and where exploitation on-chain is immediate and irreversible. That whole class is what an agentic reviewer catches by reading the source and reasoning about who can call what and which invariant breaks.

This skill is the contract arm split out of vuln-scanner. vuln-scanner detects Solidity and hands the repo here rather than running Slither inline; this skill owns the deep audit and then routes findings through vuln-scanner's shared disclosure machinery. It does not duplicate the disclosure/PVR/email logic - see §S7.

It audits two kinds of target: a GitHub repo (source in a repo you fork), and a live contract deployed on-chain by address (<chain>:0x<addr>) - the latter fetches the verified source from the block explorer/Sourcify and adds on-chain context (proxy/implementation, owner, funds at risk). A live deployed contract is where a bug is already exploitable with real money at stake, so on-chain findings are treated as the highest-stakes disclosure and are operator-gated - staged for a human, never auto-filed (§S7).

The agentic source pass is the reliable core. Slither is best-effort: a headless run has slither allow-listed but not solc / forge / solc-select, so contracts that need a compiler to build may not compile in-run. The source pass needs no compiler, so a clean audit never depends on Slither succeeding.

Read the full file on GitHub · 732 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 27d ago Changed · +19 lines scan B → A f9977945576b
  2. 2mo ago Changed · +21 lines 7bd9c496734e
  3. 2mo ago First seen · 692 lines · 94 tokens per session scan B c21b3df3582c

Subscribe to this mod's changes

sc-audit is a skill published in the GitHub repository aeonfun/aeon (800 stars, last pushed today), licensed MIT. It adds 94 tokens to every session and 19,454 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-18.

Related

sc-audit compared with skills from other repositories

sc-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sc-auditaeonfun/aeonSkill800todayMITA94Claude Code, Codex
flowcraft-deployGizClaw/flowcraftSkill4105d agoMITA142Codex
blockchain-web3travisjneuman/.claudeSkill115yesterdayMITA55Claude Code
agent-blockchain-developertravisjneuman/.claudeSkill115yesterdayMITA81Claude Code
api-interface-designMohitGoyal09/AgentForgeSkill679d agoMITA23Claude Code, Codex
exploreMohitGoyal09/AgentForgeSkill679d agoMITA15Claude Code, Codex
unit-converterpolymind-inc/agent-framework-jsSkill622d agoMITA19Claude Code, Codex