# scv-scan

scv-scan audits Solidity projects for 36 vulnerability categories. Helps spot security flaws across contract code in four systematic phases.

- plugin · `type=plugin` · Claude Code · ★ 540 repo stars
- Author: kadenzipfel
- License: CC-BY-SA-4.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/trailofbits/skills-curated/tree/HEAD/plugins/scv-scan
- Updated: 2026-07-14
- Security check: automated, 2026-11-16 (text and 1 script file) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/plugins/scv-scan

## What it does

The plugin runs a four-stage audit against Solidity codebases. It starts by pulling a reference table with search patterns for 36 vulnerability categories, then executes a sweep using grep or ripgrep coupled with manual inspection for deeper logic flaws. Every flagged line gets verified against explicit heuristics and false-positive criteria documented in `references/CHEATSHEET.md`.

The final output lays out validated weaknesses with severity ratings, code snippets, and repair steps. Coverage includes reentrancy variants, unchecked arithmetic, broken access control modifiers, signature malleability, and dangerous delegatecalls.

Setup requires zero external compilers or services, as the tool relies entirely on direct file reading and local text search.

## Install

### Claude Code (native platform)

**Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add trailofbits/skills-curated
```
In the agent chat (not a shell):
```text
/plugin install scv-scan@skills-curated
```

## When to use it
- audit Solidity contracts against 36 common flaw categories
- detect reentrancy bugs and unsafe numeric casts
- spot broken signature verification and access controls
- generate remediation steps for reported vulnerabilities

## Example prompts
- Run scv-scan across all Solidity files in the `src/` folder
- Audit these smart contracts for delegatecall risks and reentrancy bugs

## Similar
- [guidelines-advisor](https://affpapa.org/en/nevibecode/skills/guidelines-advisor.md) — skill · 6000 installs
- [smart-contract-auditor](https://affpapa.org/en/nevibecode/agents/smart-contract-auditor.md) — subagent · 701 installs
- [solidity-security](https://affpapa.org/en/nevibecode/skills/solidity-security.md) — skill · 15382 installs
- [secure-workflow-guide](https://affpapa.org/en/nevibecode/skills/secure-workflow-guide.md) — skill · 8000 installs
- [solidity-gas-optimization](https://affpapa.org/en/nevibecode/skills/solidity-gas-optimization.md) — skill · 847 installs
- [solidity-auditor](https://affpapa.org/en/nevibecode/skills/schwepps-solidity-auditor.md) — skill · 194 installs

From the same set: [trailofbits/skills-curated](https://affpapa.org/en/nevibecode/by/trailofbits/skills-curated.md) — 51 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
