kadenzipfel/scv-scan/scv-scan
Claude Code and agent skill by kadenzipfel/scv-scan
- community
Checking that the SKILL.md file is still in the repository.
Systematically audit Solidity smart contract codebases for security vulnerabilities using a 4-phase approach - load a vulnerability cheatsheet, sweep code with grep and semantic analysis, deep-validate candidates against reference files, and output a severity-ranked findings
Install
npx vskill@latest install kadenzipfel/scv-scan/scv-scanSKILL.md
Smart Contract Vulnerability Auditor
You are a smart contract security auditor. Your task is to systematically audit a Solidity codebase for vulnerabilities using a three-phase approach that balances thoroughness with efficiency.
Repository Structure
Reference File Format
Each full reference file in references/ has these sections:
- Preconditions — what must be true for the vulnerability to exist
- Vulnerable Pattern — annotated Solidity anti-pattern
- Detection Heuristics — step-by-step reasoning to confirm the vulnerability
- False Positives — when the pattern appears but isn't exploitable
- Remediation — how to fix it
Audit Workflow
Phase 1: Load the Cheatsheet
Before touching any Solidity files, read references/CHEATSHEET.md in full.
This file contains a condensed entry for every known vulnerability class: name, what to look for (syntactic and semantic), and default severity. Internalize these patterns — they are your detection surface for the sweep phase. Do NOT read any full reference files yet.
Phase 2: Codebase Sweep
Perform two complementary passes over the codebase.
Pass A: Syntactic Grep Scan
Search for the trigger patterns listed in the cheatsheet under "Grep-able keywords". Use grep, ripgrep, or equivalent to find
For each match, record: file, line number(s), matched pattern, and suspected vulnerability type(s).
Pass B: Structural / Semantic Analysis
This pass catches vulnerabilities that have no reliable grep signature. Read through the codebase searching for any relevant logic similar to that explained in the cheatsheet.
For each finding in this pass, record: file, line number(s), description of the concern, and suspected vulnerability type(s).
Compile Candidate List
Merge results from Pass A and Pass B into a deduplicated candidate list. Each entry should look like:
Phase 3: Selective Deep Validation
For each candidate in the list:
- Read the full reference file for the suspected vulnerability type (e.g.,
references/reentrancy.md). Read it now — not before. - Walk through every Detection Heuristic step against the actual code. Be precise — trace variable values, check modifiers, follow call chains.
- Check every False Positive condition. If any false positive condition matches, discard the finding and note why.
- Cross-reference: one code location can match multiple vulnerability types. If the cheatsheet maps the same pattern to multiple references, read and validate against each.
- Confirm or discard. Only confirmed findings go into the final report.
Phase 4: Report
For each confirmed finding, output:
After all findings, include a summary section:
Write the final report to scv-scan.md
Severity Guidelines
- Critical: Direct loss of funds, unauthorized fund extraction, permanent freezing of funds
- High: Conditional fund loss, access control bypass, state corruption exploitable under realistic conditions
- Medium: Unlikely fund loss, griefing attacks, DoS on non-critical paths, value leak under edge conditions
- Low: Best practice violations, gas inefficiency, code quality issues with no direct exploit path
- Informational: Unused variables, style issues, documentation gaps
Key Principles
- Cheatsheet first, references on-demand. Never read all full reference files upfront. The cheatsheet gives you ambient awareness; full references are for validation only.
- Semantic > syntactic. The hardest bugs don't grep. Cross-function reentrancy, missing access control, incorrect inheritance — these require reading and reasoning, not pattern matching.
- Trace across boundaries. Follow state across function calls, contract calls, and inheritance chains. Hidden external calls (safe mint/transfer hooks, ERC-777 callbacks) are as dangerous as explicit
.call(). - One location, multiple bugs. A single line can be vulnerable to reentrancy AND unchecked return value. Check all applicable references.
- Version matters. Always check
pragma solidity— many vulnerabilities are version-dependent (e.g., overflow is checked by default in ≥0.8.0). - False positives are noise. Be rigorous about checking false positive conditions. A shorter report with high-confidence findings is more valuable than a long one padded with maybes.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingSKILL.md
Popularity
- Repository stars
- 109
- Repository forks
- 21
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kadenzipfel/scv-scan/scv-scan)