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.
npx skills add ccashwell/evm-cortex --skill simao-audit-pipelinegit clone --depth 1 https://github.com/ccashwell/evm-cortexWrote 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.
[](https://agentmods.dev/skills/ccashwell/evm-cortex/simao-audit-pipeline)<a href="https://agentmods.dev/skills/ccashwell/evm-cortex/simao-audit-pipeline"><img src="https://agentmods.dev/badge/skills/ccashwell/evm-cortex/simao-audit-pipeline/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.
<a href="https://agentmods.dev/skills/ccashwell/evm-cortex/simao-audit-pipeline"><img src="https://agentmods.dev/badge/skills/ccashwell/evm-cortex/simao-audit-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high System Prompt Leakage · line 154 Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.Fix: Remove any instructions that reveal, print, or output system prompts or internal rules. System instructions should never be exposed to end users.
- medium Data Exfiltration · line 17 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.06728 |
| Opus 5.5 | $0.00000 | $0.02691 |
| Sonnet 5.5 | $0.00000 | $0.01346 |
| Haiku 4.5 | $0.00000 | $0.00673 |
Grade B, and why
simao-audit-pipeline scanned grade B with 2 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 1mo 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.
Recursive force deletemediumDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
7. **Auto-clean:** `rm -rf {bundle_dir}`. It is transient build state, not an artifact. For debugging, copy it elsewhere before re-running. Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -sf https://raw.githubusercontent.com/0xsimao/0xsimao-ai/main/VERSION How it starts
The opening of the file, as written. The whole thing — 336 lines — stays where its author put it; the contents beside it link to each section on GitHub.
0xSimao Audit Pipeline
You are the orchestrator of an accounting-first, parallelized smart contract security audit.
The method is reverse-engineered from 0xSimao's 869 published findings (177 High, 247 Medium) across 143 reviews. His signature is not a checklist. It is this: build the protocol's accounting model first, then find the one step in a multi-step sequence where a tracked total desyncs from reality — and prove who is left holding the loss.
Roughly a third of his Highs are one shape: value leaves the contract but the variable tracking it is never decremented (or is decremented in only one of two branches), so early actors over-withdraw and the last actor out is insolvent. The twelve lenses are built around that class and its siblings.
Vendored from 0xSimao's open-source skill (github.com/0xsimao/0xsimao-ai), VERSION 1.0.0 (see the VERSION file alongside this one). Everything under references/ is upstream content carried over intact, save one repo-convention normalization — on-chain → onchain — required by this repo's style rule. The EVM Cortex adaptations (agent mapping, Foundry pre-flight, PoC routing) live in this SKILL.md only, so an upstream re-sync replaces references/ cleanly. Check for a newer upstream revision before a high-stakes audit:
curl -sf https://raw.githubusercontent.com/0xsimao/0xsimao-ai/main/VERSION
If that returns a version greater than 1.0.0, this skill is behind upstream.
The stance: build the money map, then attack it
This is what separates a 0xSimao audit from a generic parallel scan. Most audit tooling scans for bad lines — that finds what a linter finds. This pipeline writes the protocol's accounting model down first, then hunts the gap between what the protocol records and what it holds. Three consequences worth stating up front:
- The money map is a prerequisite, not a filter. The largest class of bug lives in the relationships between tracked totals, not in single lines, and no lens can see those relationships without the map. A lens that also finds a bricked liquidation, a signature defect, or a token-compatibility break still reports it — the map is the starting point, not the boundary.
- A finding is not real until traced with concrete numbers and a named victim. No balance sheet, no attack path with real values → LEAD, not FINDING. Leads are honest calibration, not failures. Emit them.
- The closing tests are mandatory. Every lens runs the Last User Out test on each lifecycle, and the saturation sweep once it finds one bug — mine every sibling site of the same shape. A repeat instance missed is an audit failure.
What ships with it
17 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.
- references/attack-lenses/access-trust.md 5.4 KB
- references/attack-lenses/accounting-desync.md 5.0 KB
- references/attack-lenses/cross-chain-state.md 5.3 KB
- references/attack-lenses/dos-griefing.md 5.3 KB
- references/attack-lenses/edge-states.md 6.4 KB
- references/attack-lenses/flow-completeness.md 5.6 KB
- references/attack-lenses/integration-assumptions.md 5.6 KB
- references/attack-lenses/liquidation-solvency.md 5.5 KB
- references/attack-lenses/ordering-mev.md 5.4 KB
- references/attack-lenses/rounding-precision.md 4.6 KB
- references/attack-lenses/share-exchange-rate.md 4.5 KB
- references/attack-lenses/shared-rules.md 4.4 KB
- references/attack-lenses/temporal-cohort.md 5.1 KB
- references/report-formatting.md 2.9 KB
- references/severity-calibration.md 4.4 KB
- references/simao-method.md 12 KB
- VERSION 6 B
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.
- 1mo ago First seen · 336 lines · 0 tokens per session scan B 05a13b9404dd
simao-audit-pipeline is a skill published in the GitHub repository ccashwell/evm-cortex (131 stars, last pushed 17d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 6,728 tokens. A static security scan graded it B with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
signature-replay
Signature replay attacks — missing nonces, missing chain ID, ecrecover zero address, signature malleability, cross-chain replay.
official-sui-skills
Pointer to the official Mysten Labs skills for building on Sui — language fundamentals, object model, PTBs, SDKs, publishing, upgrades, frontend integration, accessing on-chain data. Maintained upstream at github.com/MystenLabs/skills; pinned to the same ref the audit catalog derives from (see…
bridge
Cross-chain token transfers using Wormhole and CCTP.
onchainkit
Build onchain apps with Coinbase's OnchainKit React components - wallets, swaps, NFTs, payments.
marginfi
MarginFi — Solana lending and borrowing.
devtools-event-client
Create typed EventClient for a library. Define event maps with typed payloads, pluginId auto-prepend namespacing, emit()/on()/onAll()/onAllPluginEvents() API. Connection lifecycle (5 retries, 300ms), event queuing, enabled/disabled state, SSR fallbacks, singleton pattern. Unique pluginId requirement to avoid event…