# Cve risk score

> Cve risk score is an open-source agent skill for security. Looks up NVD risk scores, severity and CWE for any CVE ID an agent encounters. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/transilienceai/communitytools/tree/main/skills/cve-risk-score
- **Repository:** https://github.com/transilienceai/communitytools
- **GitHub stars:** 641
- **License:** MIT
- **Skill name:** cve-risk-score
- **Collection:** https://github.com/transilienceai/communitytools
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-02

## About

This skill tells the agent to fetch CVSS score, severity, CWE and description from the National Vulnerability Database whenever a CVE identifier shows up in a conversation or during a scan, without waiting for an explicit request. It extracts IDs with a pattern match, runs a bundled lookup script against NVD, and presents the results as a compact inline line for one CVE or a markdown table for several.

The lookup is treated as supporting context rather than a blocking step, so the agent keeps working on the original task while scores are retrieved. The instructions require reporting only what NVD returns and stating plainly when a CVE has not yet been scored or NVD cannot be reached. For bulk lookups of five or more IDs, the agent warns that unauthenticated NVD requests are throttled.

The script reads an NVD_API_KEY from a .env file if one is present, which raises rate limits. It expects Python 3 and network access to NVD. It is designed to pair with related skills such as CVE PoC generation and source code scanning.

## When your agent uses it

> Retrieve CVE risk scores from NVD. Auto-invoked whenever a CVE ID is mentioned to display CVSS score, severity, CWE, and description.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/transilienceai/communitytools/tree/HEAD/skills/cve-risk-score)
- [License: MIT](https://github.com/transilienceai/communitytools/tree/HEAD/skills/cve-risk-score)

## Features

- **Automatic CVE detection:** Triggers whenever a CVE ID matching the standard pattern appears in user messages or tool output.
- **NVD score lookup:** Runs a bundled Python script that queries the National Vulnerability Database for each CVE.
- **CVSS and severity display:** Shows the CVSS score and severity rating exactly as NVD reports them.
- **CWE and description summary:** Includes the weakness classification and vulnerability description alongside the score.
- **Rate limit handling:** Warns on bulk lookups and uses an optional NVD API key from a .env file for higher limits.
- **Graceful unscored handling:** States clearly when NVD is unreachable or a CVE has no score yet.

## Good for

- Check the severity of a CVE mentioned in a security advisory
- Look up scores for vulnerabilities flagged in a dependency scan
- Get the CWE category and description for a CVE ID
- Prioritise a list of CVEs by CVSS score
- Add severity context to a security finding while writing a report

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/cve-risk-score` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/cve-risk-score &&
cp -R "$tmp/skills/cve-risk-score" ~/.claude/skills/cve-risk-score &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/cve-risk-score` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/cve-risk-score` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/cve-risk-score &&
cp -R "$tmp/skills/cve-risk-score" ~/.agents/skills/cve-risk-score &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/cve-risk-score` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/cve-risk-score` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/cve-risk-score &&
cp -R "$tmp/skills/cve-risk-score" ~/.cursor/skills/cve-risk-score &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/cve-risk-score` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/transilienceai/communitytools.git --path skills/cve-risk-score
```

Or copy the folder to `~/.gemini/skills/cve-risk-score` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/cve-risk-score`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/cve-risk-score &&
cp -R "$tmp/skills/cve-risk-score" ~/.copilot/skills/cve-risk-score &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/cve-risk-score` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/transilienceai/communitytools.git
```

Then copy `communitytools/skills/cve-risk-score` into your agent's skills folder as `cve-risk-score`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Cve risk score run?

It is meant to be invoked automatically whenever a CVE ID in the pattern CVE-YYYY-NNNN appears in the conversation or in discovered tool output.

### What does Cve risk score need to work?

It runs a Python 3 script (tools/nvd-lookup.py) that queries NVD, so it needs Python and network access. An NVD_API_KEY in a .env file is optional and raises rate limits.

### Does Cve risk score change any files or code?

The skill itself only retrieves and displays scores. It does not generate exploits or modify code; it points to related skills such as cve-poc-generator for that.

### What happens if NVD has no score for a CVE?

The instructions say the agent should report that the CVE is not yet scored by NVD rather than estimating a value.

### How do I install Cve risk score in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/cve-risk-score to use it in all your projects, or to .claude/skills/cve-risk-score in one project.

### Does Cve risk score run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Cve risk score?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Cve risk score?

The closest alternatives to Cve risk score are Cve poc generator, Cvss scoring, Ti ingest, Skill scanner and Source code scanning.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Cve poc generator](https://ai-powered.com/skills/cve-poc-generator): Cve poc generator is an open-source agent skill for security.
- [Cvss scoring](https://ai-powered.com/skills/cvss-scoring): Cvss scoring is an open-source agent skill for security.
- [Ti ingest](https://ai-powered.com/skills/ti-ingest): Ti ingest is an open-source agent skill for security.
- [Skill scanner](https://ai-powered.com/skills/skill-scanner): Skill scanner is an open-source agent skill for security.
- [Source code scanning](https://ai-powered.com/skills/source-code-scanning): Source code scanning is an open-source agent skill for security.
- [Security review](https://ai-powered.com/skills/security-review-getsentry): Security review is an open-source agent skill for security.
- [Security review](https://ai-powered.com/skills/security-review): Security review is an open-source agent skill for security.
- [Vulnerability triage brocards](https://ai-powered.com/skills/vulnerability-triage-brocards): Vulnerability triage brocards is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/cve-risk-score
