# cvss-scoring

The cvss-scoring Claude Code skill turns a vulnerability description into a CVSS v4.0 vector. It activates for requests to score a finding or estimate its severity.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 304 installs · ★ 8341 repo stars
- Author: trailofbits
- License: CC-BY-SA-4.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/trailofbits/skills/tree/HEAD/plugins/cvss-scoring/skills/cvss-scoring/SKILL.md
- Updated: 2026-10-24
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/cvss-scoring

## What it does

The skill reads a vulnerability description and builds a CVSS v4.0 vector string. It first gathers facts about access, attacker privileges, conditions, and impact, then evaluates the metrics in sequence. When key exploitability details are unclear, it asks for clarification; ambiguous impact values are marked as assumptions.

The output includes a FIRST.org calculator link with the vector filled in. The skill does not calculate the numeric score; the calculator does. Metric definitions are read from `references/metrics.md`. CVSS v3.1 scoring, deployment-specific risk, and issues without an exploitable security impact fall outside its scope.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add trailofbits/skills --skill cvss-scoring -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/cvss-scoring/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/cvss-scoring/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add trailofbits/skills --skill cvss-scoring -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/cvss-scoring/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add trailofbits/skills --skill cvss-scoring -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/cvss-scoring/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install trailofbits/skills plugins/cvss-scoring/skills/cvss-scoring
```

2. **Manually: put the files in place**
- File: `.github/skills/cvss-scoring/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add trailofbits/skills --skill cvss-scoring -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/trailofbits/skills --path plugins/cvss-scoring/skills/cvss-scoring
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/cvss-scoring/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add trailofbits/skills --skill cvss-scoring -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/trailofbits/skills/tree/HEAD/plugins/cvss-scoring/skills/cvss-scoring/SKILL.md

## When to use it
- create a CVSS v4.0 vector from a vulnerability report
- identify missing facts about how an attack works
- assess the impact of a security weakness
- compare the severity of vulnerability findings

## Example prompts
- Score this remotely exploitable server flaw using CVSS v4.0.
- Build a CVSS v4.0 vector for this finding and ask about any missing attack details.
- Compare these findings using the CVSS v4.0 metrics.

## Similar
- [bug-bounty-report-writing](https://affpapa.org/en/nevibecode/skills/bug-bounty-report-writing.md) — skill · 290 installs
- [vulnerability-validation](https://affpapa.org/en/nevibecode/skills/vulnerability-validation.md) — skill · 135 installs
- [report](https://affpapa.org/en/nevibecode/commands/sachin-sharma-report.md) — command · ★ 16193 repo stars
- [pentestcompanion-workspace](https://affpapa.org/en/nevibecode/skills/pentestcompanion-workspace.md) — skill · 539 installs
- [risk-prioritiser](https://affpapa.org/en/nevibecode/skills/risk-prioritiser.md) — skill · 168 installs
- [security-reviewer](https://affpapa.org/en/nevibecode/skills/security-reviewer.md) — skill · 6700 installs

From the same set: [trailofbits/skills](https://affpapa.org/en/nevibecode/by/trailofbits/skills.md) — 95 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
