0x-shashi/web3-audit-skills/severity

Claude Code and agent skill by 0x-shashi/web3-audit-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Data-driven severity classification for smart contract audit findings with statistical breakdowns and 30 representative examples per level from top audit firms. Use when assigning severity to findings, justifying classifications with historical data, or calibrating severity judgment against Code4rena, Sherlock, and Cyfrin benchmarks.

Install

npx vskill@latest install 0x-shashi/web3-audit-skills/severity

SKILL.md

Severity Classification

Purpose

This directory provides data-driven severity classification for smart contract audit findings. Each file contains statistical breakdowns of real vulnerability types at that severity level, plus 30 representative examples from top audit firms (Code4rena, Cyfrin, Spearbit, Pashov, MixBytes, Shieldify, OtterSec, Quantstamp).

Severity Levels

LevelFileFinding Count% of AllScoring Weight
HIGHhigh-severity.md8,02215.88%5 points
MEDIUMmedium-severity.md13,81427.34%2 points
LOWlow-severity.md25,27250.01%1 point
GASgas-optimizations.md3,4226.77%0 points
Scoring weights reference the Audit Scoring System efficiency metric.

How to Use

  1. Classifying a finding → Use the Severity Scoring Decision Tree to determine the correct level
  2. Validating severity → Compare your finding against the top vulnerability types table in each file
  3. Writing the report → Reference representative examples for formatting and depth expectations
  4. Scoring the audit → Apply severity weights from AUDIT_SCORING.md to calculate composite scores

Quick Severity Decision Tree

Is there direct fund loss possible?
├── YES → Is it unconditional (anyone can exploit)?
│ ├── YES → CRITICAL (not in this dataset — escalate)
│ └── NO (needs conditions) → HIGH
└── NO → Is there indirect fund loss or protocol damage?
├── YES → Is the attack practical?
│ ├── YES → HIGH
│ └── NO (theoretical) → MEDIUM
└── NO → Is there any functional impact?
├── YES → LOW
└── NO → GAS / INFORMATIONAL
Full decision tree with scoring matrix: patterns/severity-scoring.md

Cross-Severity Vulnerability Migration

Some vulnerability types appear across multiple severity levels depending on conditions. Key crossovers:

Vulnerability TypeHIGH CountMEDIUM CountLOW CountNotes
Business Logic1001277Most common at every level
Validation5275—Severity depends on what's unvalidated
Reentrancy3920—HIGH when funds at risk, MEDIUM when state-only
Oracle2434—HIGH for price manipulation, MEDIUM for staleness
Access Control27192HIGH for privilege escalation, LOW for missing events
Front-Running3967—MEDIUM unless sandwich causes fund loss
DOS2343—HIGH for permanent, MEDIUM for temporary
Overflow/Underflow2122—Severity = magnitude of miscalculation

Related Skills

Prerequisites

Severity classification requires understanding of the Severity Scoring Decision Tree. The decision tree MUST be consulted before assigning final severity.

Validation

To verify severity classification consistency, compare against historical benchmarks:

python
# Validate severity distribution against expected ranges
def test_severity_distribution(findings):
high_pct = len([f for f in findings if f.severity == 'HIGH']) / len(findings)
assert 0.10 <= high_pct <= 0.25, f"HIGH findings at {high_pct:.0%} (expected 10-25%)"
print(f"Severity distribution validated: {high_pct:.0%} HIGH")
yaml
# Expected severity distribution benchmarks
benchmarks:
high: 15.88% # 8,022 of 50,530 findings
medium: 27.34% # 13,814 findings
low: 50.01% # 25,272 findings
gas: 6.77% # 3,422 findings
bash
# Verify severity files are complete
for f in high-severity.md medium-severity.md low-severity.md gas-optimizations.md; do
echo "Checking $f: $(wc -l < $f) lines"
done

Behavior Guidelines

  • Every finding MUST have a severity classification before submission
  • The decision tree is required for borderline HIGH/MEDIUM cases
  • Auditors may optionally include a severity justification paragraph for contested findings
  • GAS findings ALWAYS have 0 scoring weight in composite metrics

References

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

Popularity

Repository stars
46
Repository forks
6
7-day trend score
19

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 8 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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/0x-shashi/web3-audit-skills/severity/badge)](https://verified-skill.com/skills/0x-shashi/web3-audit-skills/severity)

Something wrong with this skill or its page? Tell us.