Security Audit Scanner
ruvnet/ruflo
Runs claude-flow CLI security scans for input validation, path traversal, SQL injection, XSS, hardcoded secrets and known CVEs, and writes an audit report.
A skill your agent uses when performing systematic breadth-first review of all contracts during a security audit.
$ npx skills add ccashwell/evm-cortex --skill audit-breadth-scan -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ccashwell/evm-cortex audit-breadth-scan --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/audit-breadth-scan .claude/skills/audit-breadth-scan && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "audit-breadth-scan" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/audit-breadth-scan into .claude/skills/audit-breadth-scan/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "audit-breadth-scan", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ccashwell/evm-cortex/tree/main/skills/audit-breadth-scanType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ccashwell/evm-cortex --skill audit-breadth-scan -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ccashwell/evm-cortex audit-breadth-scan --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/audit-breadth-scan .agents/skills/audit-breadth-scan && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "audit-breadth-scan" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/audit-breadth-scan into .agents/skills/audit-breadth-scan/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "audit-breadth-scan", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ccashwell/evm-cortex --skill audit-breadth-scan -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ccashwell/evm-cortex audit-breadth-scan --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/audit-breadth-scan .cursor/skills/audit-breadth-scan && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "audit-breadth-scan" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/audit-breadth-scan into .cursor/skills/audit-breadth-scan/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "audit-breadth-scan", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ccashwell/evm-cortex.git --path skills/audit-breadth-scan--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ccashwell/evm-cortex --skill audit-breadth-scan -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ccashwell/evm-cortex audit-breadth-scan --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/audit-breadth-scan .gemini/skills/audit-breadth-scan && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "audit-breadth-scan" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/audit-breadth-scan into .gemini/skills/audit-breadth-scan/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "audit-breadth-scan", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ccashwell/evm-cortex audit-breadth-scanInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ccashwell/evm-cortex --skill audit-breadth-scan -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/audit-breadth-scan .github/skills/audit-breadth-scan && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "audit-breadth-scan" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/audit-breadth-scan into .github/skills/audit-breadth-scan/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "audit-breadth-scan", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ccashwell/evm-cortex --skill audit-breadth-scan -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ccashwell/evm-cortex audit-breadth-scan --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ccashwell/evm-cortex.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/audit-breadth-scan .opencode/skills/audit-breadth-scan && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "audit-breadth-scan" agent skill from https://github.com/ccashwell/evm-cortex/tree/main/skills/audit-breadth-scan into .opencode/skills/audit-breadth-scan/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "audit-breadth-scan", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
audit-breadth-scanA skill your agent uses when performing systematic breadth-first review of all contracts during a security audit.
Audit Breadth Scan is an agent skill from ccashwell/evm-cortex. Use when performing systematic breadth-first review of all contracts during a security audit. Covers contract-by-contract review, function-level risk assessment, attack surface mapping, and identifying leads for depth analysis.
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Legal & Compliance, covering Threat modeling, Contract review and Security review. The repository describes itself as: Ethereum protocol engineering squad for AI coding assistants. The licence is MIT.
Read from SKILL.md and the folder at commit f8f3301. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Audit Breadth Scan loads about 1.4k tokens when it runs. Until then it costs about 62 tokens; SKILL.md has 268 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from ccashwell/evm-cortex at commit f8f3301, republished under its MIT licence (© ccashwell). 268 words, ~1,405 tokens.
.claude/skills/audit-breadth-scan/SKILL.md (or your agent's skills folder).The breadth scan is a systematic, contract-by-contract review that ensures every function is examined at least once. The goal is NOT to find every bug — it's to identify high-risk areas that warrant depth analysis.
For each contract in scope, assess:
## [Contract Name] — Breadth Assessment
### Overview
- Lines of code: X
- Inheritance chain: A -> B -> C
- State variables: Y
- External calls: Z
### Complexity Rating: [Low | Medium | High | Critical]
Factors: math complexity, external interactions, state machine logic,
upgrade mechanics, cross-contract dependencies
### Initial Risk Notes
- [Any patterns that stand out]Rate each function on a risk matrix:
| Risk Factor | Weight | Criteria |
|---|---|---|
| External calls | High | Calls to untrusted contracts |
| State changes | Medium | Modifies critical state (balances, shares) |
| Math operations | Medium | Division, multiplication with large numbers |
| Access control | High | Missing or incorrect |
| Value transfer | Critical | ETH or token movement |
| User input | Medium | Complex parameter handling |
### Function Risk Matrix
| Function | External Calls | State Change | Math | Value Transfer | Risk |
|----------|---------------|--------------|------|----------------|------|
| deposit() | transferFrom | balances, supply | share calc | tokens in | HIGH |
| withdraw() | transfer, strategy | balances, supply | share calc | tokens out | CRITICAL |
| setFee() | none | fee param | none | none | LOW |
| harvest() | aave.withdraw | deployed amount | yield calc | tokens move | HIGH |For each high/critical risk function, map potential attack vectors:
### Attack Surface: withdraw()
**Preconditions**: User has shares, vault has assets
**Attack Vectors**:
1. Reentrancy via token callback (ERC777, hooks)
- Mitigation: ReentrancyGuard
- Status: CHECK if guard applied
2. Share price manipulation
- Donate tokens to inflate totalAssets before withdraw
- Status: CHECK virtual shares mitigation
3. Front-running
- Sandwich attack around large withdrawals
- Status: CHECK slippage protection
4. Oracle manipulation
- Stale/manipulated price affects withdrawal amount
- Status: CHECK staleness validation
5. Integer overflow/underflow
- Share calculation edge cases
- Status: CHECK Solidity 0.8 overflow protection□ Reentrancy (state changes after external calls)
□ Access control missing or bypassable
□ Oracle manipulation / stale prices
□ Flash loan attack vectors
□ Integer overflow in unchecked blocks
□ First depositor / share inflation attacks
□ Frontrunning / sandwich attacks
□ Unauthorized token approvals
□ Improper input validation□ Centralization risks (owner can rug)
□ Denial of service (gas griefing, reverts)
□ Rounding errors favoring attacker
□ Event emission correctness
□ Return value handling (unchecked transfers)
□ Storage collision (proxies)
□ Signature replay / malleability
□ Block timestamp dependence□ Gas optimization opportunities
□ Code quality / readability
□ Missing error messages
□ Unused variables / imports
□ Inconsistent naming
□ Missing NatSpec documentationFor each contract:
## Vault.sol — Breadth Scan
### Functions Reviewed: 12/12
### Risk Rating: HIGH
### Findings (leads for depth)
| ID | Function | Pattern | Confidence | Depth Priority |
|----|----------|---------|------------|----------------|
| B-01 | withdraw | Possible reentrancy before state update | Medium | P0 |
| B-02 | deposit | No check for zero shares | High | P1 |
| B-03 | harvest | Unchecked return value from strategy | Medium | P1 |
| B-04 | setOracle | No timelock on oracle change | High | P2 |
### Clean Areas (no further review needed)
- Constructor: correctly initializes all state
- View functions: no state modifications
- Pause mechanism: standard OZ implementation| Project Size | Breadth Time | Depth Time | Report |
|---|---|---|---|
| < 500 SLOC | 2-4 hours | 4-8 hours | 2 hours |
| 500-2000 SLOC | 1-2 days | 2-4 days | 1 day |
| 2000-5000 SLOC | 2-3 days | 4-6 days | 1-2 days |
| > 5000 SLOC | 3-5 days | 5-10 days | 2-3 days |
After breadth scan, prioritize depth analysis leads:
© ccashwell, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/audit-breadth-scan of ccashwell/evm-cortex.
Open the folder on GitHubat commit f8f3301
Audit Breadth Scan next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Audit Breadth Scan this skillccashwell/evm-cortex | 131 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Security Audit Scannerruvnet/ruflo | 74k | 2 repos | ~823 | Automated safety check: Pass | MIT | |
| Solidity AuditorGabson0x/bountyforge | 443 | — | ~3.7k | Automated safety check: Pass | None | |
| Solidity Auditorpashov/skills | 1.2k | 1 repos | ~9.9k | Automated safety check: Pass | MIT | |
| CSO Security Auditgarrytan/gstack | 136k | — | ~4.5k | Automated safety check: Pass | MIT | |
| Behavioral State Analysisquillai-network/quillshield_skills | 129 | — | ~1.4k | Automated safety check: Pass | MIT |
ruvnet/ruflo
Runs claude-flow CLI security scans for input validation, path traversal, SQL injection, XSS, hardcoded secrets and known CVEs, and writes an audit report.
Gabson0x/bountyforge
Security audit of Solidity code while you develop. An agent skill from Gabson0x/bountyforge.
pashov/skills
Security audit of Solidity code while you develop. An agent skill from pashov/skills.
garrytan/gstack
Runs an evidence-first security audit of a codebase through gstack's trusted launcher, with static findings by default and isolated reproduction when enabled.
quillai-network/quillshield_skills
Token-efficient smart contract security auditing via Behavioral State Analysis (BSA).
codexstar69/bug-hunter
Scan code changes for security vulnerabilities using Bug Hunter-native artifacts and STRIDE context.
ccashwell/evm-cortex
A skill your agent uses when preparing for a security audit, performing reconnaissance on a new codebase, or creating a protocol overview.
ccashwell/evm-cortex
A skill your agent uses when integrating with Aave V3 for lending, borrowing, flash loans, or building on top of Aave markets.
ccashwell/evm-cortex
Access control design patterns for Solidity protocols. An agent skill from ccashwell/evm-cortex.
ccashwell/evm-cortex
A skill your agent uses when running a local Ethereum node with Anvil.
ccashwell/evm-cortex
A skill your agent uses when performing deep analysis of specific findings or high-risk areas during a security audit.
ccashwell/evm-cortex
A skill your agent uses when preparing a codebase for security audit.
Categories
A skill your agent uses when performing systematic breadth-first review of all contracts during a security audit. Audit Breadth Scan is an agent skill from ccashwell/evm-cortex. Use when performing systematic breadth-first review of all contracts during a security audit.
Audit Breadth Scan fits situations like: performing systematic breadth-first review of all contracts during a security audit; tasks that involve Threat modeling; tasks that involve Contract review.
Run `npx skills add ccashwell/evm-cortex --skill audit-breadth-scan -a claude-code`. Or copy the skill folder (skills/audit-breadth-scan in ccashwell/evm-cortex) into .claude/skills/audit-breadth-scan in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ccashwell/evm-cortex --skill audit-breadth-scan -a codex`. Or copy the skill folder (skills/audit-breadth-scan in ccashwell/evm-cortex) into .agents/skills/audit-breadth-scan in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ccashwell/evm-cortex --skill audit-breadth-scan -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/audit-breadth-scan, .gemini/skills/audit-breadth-scan, .github/skills/audit-breadth-scan and .opencode/skills/audit-breadth-scan in your project.
SKILL.md names no scripts, command-line tools or credentials: Audit Breadth Scan is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Audit Breadth Scan is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Audit Breadth Scan: Security Audit Scanner (ruvnet/ruflo, 74k stars), Solidity Auditor (Gabson0x/bountyforge, 443 stars), Solidity Auditor (pashov/skills, 1.2k stars) and CSO Security Audit (garrytan/gstack, 136k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ccashwell (a GitHub user) maintains it in ccashwell/evm-cortex, which has 131 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on September 30, 2026.
Source: ccashwell/evm-cortex on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.