Scv Scan logo

Scv Scan

Community
kadenzipfel
scv-scan

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

Overview

Publisherkadenzipfel
Repositoryscv-scan
Skill namescv-scan
Stars
109
Forks
21
Bundled files
37
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 37 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by kadenzipfel on GitHub. Read the source before you install it.

Installation

Install the Scv Scan AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/kadenzipfel/scv-scan/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kadenzipfel/scv-scan.git \
  .claude/skills/scv-scan
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Scv Scan in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Scv Scan on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Scv Scan is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

references/
  CHEATSHEET.md          # Condensed pattern reference — always read first
  reentrancy.md          # Full reference files — read selectively in Phase 3
  overflow-underflow.md
  ...

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:

- File: `path/to/file.sol` L{start}-L{end}
- Suspected: [vulnerability-name] (from CHEATSHEET.md)
- Evidence: [brief description of what was found]

Phase 3: Selective Deep Validation

For each candidate in the list:

  1. Read the full reference file for the suspected vulnerability type (e.g., references/reentrancy.md). Read it now — not before.
  2. Walk through every Detection Heuristic step against the actual code. Be precise — trace variable values, check modifiers, follow call chains.
  3. Check every False Positive condition. If any false positive condition matches, discard the finding and note why.
  4. 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.
  5. Confirm or discard. Only confirmed findings go into the final report.

Phase 4: Report

For each confirmed finding, output:

### [Vulnerability Name]

**File:** `path/to/file.sol` L{start}-L{end}
**Severity:** Critical | High | Medium | Low | Informational

**Description:** What is vulnerable and why, in 1-3 sentences.

**Code:**
\`\`\`solidity
// The vulnerable code snippet
\`\`\`

**Recommendation:** Specific fix, referencing the Remediation section of the reference file.

After all findings, include a summary section:

## Summary

| Severity | Count |
|----------|-------|
| Critical | N     |
| High     | N     |
| Medium   | N     |
| Low      | N     |
| Info     | N     |

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Scv Scan AI skill do?

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

Why use Scv Scan on TypingMind?

Because you install it once and use it with any model. Scv Scan is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Scv Scan in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/kadenzipfel/scv-scan/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Scv Scan?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Scv Scan?

As many as you like. As long as a model supports skills, you can use Scv Scan with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Scv Scan AI skill free?

It is published on GitHub by kadenzipfel. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇