/security-appsec-review:cvss-scoringfrom security-appsec-review
Generates CVSS v4.0 vector strings from plain-text vulnerability descriptions by evaluating base metrics. Includes input validation and common scoring error rejection.
Ships in security-appsec-review. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Produce a CVSS v4.0 vector string from a plain-text vulnerability description, plus a FIRST.org calculator link with that vector already applied, which is where the numeric score comes from. Do NOT attempt to compute the numeric score.
Run these checks before scoring any metric. If any check fails, address it before proceeding.
1. Is this a vulnerability? A CVSS vector is meaningful only for exploitable security weaknesses. If the input describes a code-quality issue, design concern, or finding with no security impact, refuse and respond:
This description does not appear to describe an exploitable vulnerability. CVSS measures the severity of security weaknesses; it does not apply to {category}. If you believe there is an exploitable impact, restate the description in terms of attacker capability and re-run.
Do not fabricate metrics to satisfy the request.
2. Does the input use CVSS v3.1 vocabulary? Watch for Scope (now removed), User Interaction: Required, or the unprefixed CIA triad. If detected, surface the version mismatch explicitly in the output before translating:
Input uses CVSS v3.1 vocabulary; translating to v4.0 semantics. The following mappings were applied: {list}.
Do not translate silently.
These are common scoring errors. Reject this reasoning when you encounter it:
[ASSUMED].[ASSUMED].The input is plain text describing a vulnerability. It may contain severity, difficulty, implementation specifics, exploitation scenarios, and remediation recommendations.
Before scoring any metric, extract and list all security-relevant facts:
This fact extraction prevents anchoring bias from emotional language in the description.
If any exploitability metric (AV, AC, AT, PR, UI) cannot be confidently determined from the description, ask the user the fact-extraction questions above before proceeding. These five metrics drive most of the score and are the highest-impact place for a wrong guess. Do not default-and-flag them silently.
If an impact metric (VC/VI/VA/SC/SI/SA) is ambiguous, state the ambiguity, explain which values are plausible and why, choose the most defensible default, and flag it with [ASSUMED] in the output.
Score metrics in this exact order. For each metric, read the detailed definitions in the metrics reference.
Evaluate these 5 metrics based on the extracted facts:
1. Attack Vector (AV): N / A / L / P
2. Attack Complexity (AC): L / H
3. Attack Requirements (AT): N / P
4. Privileges Required (PR): N / L / H
5. User Interaction (UI): N / P / A
These measure impact within the vulnerable system. Establish its boundary using FIRST's system-of-interest model: computing logic with a coherent function and set of security policies. Components designed exclusively to serve that system belong inside it, such as a dedicated database or an embedded library and its consuming application. Score impacts to those components in VC/VI/VA.
6. Confidentiality (VC): H / L / N
7. Integrity (VI): H / L / N
8. Availability (VA): H / L / N
These measure impact to systems outside the vulnerable system boundary. This replaces v3.1's Scope metric.
A dependency, data flow, or trust relationship alone does not make a component a subsequent system. Identify a separate system outside the boundary and the impact exploitation causes there; do not count the same within-system impact again in SC/SI/SA. A user's browser affected by web-application XSS or other guests compromised through a hypervisor vulnerability can be subsequent systems.
9. Subsequent Confidentiality (SC): H / L / N
10. Subsequent Integrity (SI): H / L / N
11. Subsequent Availability (SA): H / L / N
If the description gives no indication of subsequent system impact, default to N but flag with [ASSUMED]. Common cases where subsequent impact is non-None:
Threat -- Exploit Maturity (E): Include ONLY if the description provides evidence.
Environmental metrics: Include only when the source description provides relevant context — i.e., the auditor states the deployed environment's CIA requirements (CR/IR/AR) or describes a compensating control that changes a base metric (modified base: MAV/MAC/MAT/MPR/MUI/MVC/MVI/MVA/MSC/MSI/MSA). Otherwise omit and note: "Environmental metrics omitted -- add if the target environment's CIA requirements differ from defaults."
Supplemental metrics: Include only when the source description provides relevant context — i.e., the finding describes a safety impact (S), recovery characteristic (R), or automation potential (AU). These are informational and do not affect the numeric score. Otherwise omit and note: "Supplemental metrics omitted -- add for communication purposes if needed."
See the Vector String section below for canonical ordering when these are included.
Present the output in three parts:
| Metric | Value | Justification |
|--------|-------|---------------|
| AV | N | Exploitable via HTTP API without local access |
| AC | L | No security mechanisms to evade |
| AT | N | No deployment-specific conditions required |
| PR | N | Unauthenticated endpoint |
| UI | N | No user interaction needed |
| VC | H | Attacker gains read access to all application data |
| VI | H | Attacker can modify arbitrary records |
| VA | N | No availability impact observed |
| SC | N | No evidence of downstream system impact [ASSUMED] |
| SI | N | No evidence of downstream system impact [ASSUMED] |
| SA | N | No evidence of downstream system impact [ASSUMED] |
Flag any assumed values with [ASSUMED].
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Format: CVSS:4.0/ prefix, then all 11 base metrics in canonical order (AV/AC/AT/PR/UI/VC/VI/VA/SC/SI/SA), separated by /. Append optional metrics only if scored: E first, then environmental in canonical order (CR/IR/AR/MAV/MAC/MAT/MPR/MUI/MVC/MVI/MVA/MSC/MSI/MSA), then supplemental (S/AU/R/V/RE/U).
Immediately below the vector, emit the calculator link with the vector as the URL fragment, so the user gets the numeric score in one click:
https://www.first.org/cvss/calculator/4.0#CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Append the vector verbatim after # — no URL-encoding, since : and / are both legal in a fragment. The calculator reads the fragment on load and preselects every metric button.
The link only works if the vector is well-formed: the calculator requires the literal CVSS:4.0 prefix and rejects metrics that arrive out of canonical order, silently leaving the buttons unset. That is the same ordering rule stated above, so a vector that satisfies it produces a working link.
Before presenting the final vector, read the examples reference and find the 2-3 most similar vulnerability types. Compare your vector against these calibration anchors. If your vector diverges significantly from similar examples, either:
State which examples you compared against and whether the vector is consistent.
Before presenting the final output, verify:
[ASSUMED]; ambiguous exploitability metrics were resolved by asking the userThe numeric score comes from the official calculator, which the Part 2 link opens with
the vector already applied. Do not compute the score yourself: CVSS v4.0 uses a
lookup-table algorithm (cvss_lookup.js on FIRST.org), not a formula, so any score you
derive by hand is a guess.
If the user wants the bare calculator without a vector applied: https://www.first.org/cvss/calculator/4.0
What SKILL.md sets; muted values are Claude Code's defaults
54 skills in this plugin
/agentic-actions-auditorAudits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI, OpenAI Codex, and GitHub AI Inference. Detects attack vectors where attacker-controlled input reaches AI agents running in CI/CD pipelines, including env var intermediary patterns, direct expression injection, dangerous sandbox configurations, and wildcard user allowlists. Use when reviewing workflow files that invoke AI coding agents, auditing CI/CD pipeline security for prompt injection risks, or evaluating agentic action configurations./audit-augmentationAugments Trailmark code graphs with external audit findings from SARIF static analysis results, weAudit annotation files, and version-gated Trailmark 0.4.x binary-analysis graph exports. Maps findings to graph nodes by file and line overlap, creates severity-based subgraphs, and enables cross-referencing findings with pre-analysis data (blast radius, taint, etc.). Use when projecting SARIF results onto a code graph, overlaying weAudit annotations, importing binary graph findings, cross-referencing Semgrep, CodeQL, or binary-analysis findings with call graph data, or visualizing audit findings in the context of code structure.
npx claudepluginhub marslanalvi/skillsstack --plugin security-appsec-reviewOther plugins' skills for the same job