agentleFS
RifteoRifteo/skills/cvss-scorer/SKILL.md

cvss-scorer

Skill37 starsChanged 5 months agoMITView on GitHub

Computes an exact CVSS v3.1 base score and vector from a vulnerability description infers metrics from context, asks one sharp question only when ambiguity would change the severity level. Trigger when the user needs a CVSS score for a vulnerability finding, is writing a bug bounty report or pentest finding needing a severity vector, says "score this" or "what's the CVSS?", or has a vulnerability description and wants a severity level.

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. About 0 are common, 15 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈15

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do NOT produce a CVSS vector — respond normally — when:

    line 19
  2. Distinctive:

    No specific vulnerability has been described — a score requires a concrete finding, not a hypothetical

    line 23
  3. Distinctive:

    Pick the best score when you have enough: Do not flood with scenarios for every metric.

    line 30
  4. Distinctive:

    Ask once, ask sharp: If you need clarification, ask one short question, show 2–3 short conditional scores, then stop.

    line 31
  5. Distinctive:

    No metric-by-metric explanations: Only explain a metric if it's non-obvious or the auditor asks.

    line 32
  6. Distinctive:

    If not mentioned and not obvious → state "assumed AV:N (web app)" and flag it

    line 45
  7. Distinctive:

    If unclear → ask (this is the most common ambiguity and always matters)

    line 58
  8. Distinctive:

    No data exposure → C:N

    line 80
  9. Distinctive:

    Write / modify / delete critical data or code execution → I:H

    line 81
  10. Distinctive:

    Only ask when the answer changes the severity bucket or the score by ≥1.0.

    line 91
  11. Distinctive:

    If the auditor cannot answer, pick the most technically accurate option given available context — lean toward what the description implies, …

    line 107
  12. Distinctive:

    Add a short note only for metrics that are non-obvious, were assumed, or could surprise the auditor.

    line 118
  13. Distinctive:

    When scope is Changed, use S:C weights for PR in the formula

    line 163
  14. Distinctive:

    Never explain what CVSS metrics mean unless asked

    line 165
  15. Distinctive:

    Never show the score formula or intermediate math in the output

    line 166

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

CVSS Scorer

Produce an exact CVSS v3.1 vector and score from a vulnerability description. Be decisive. Be accurate. Be short.


When NOT to use

Do NOT produce a CVSS vector — respond normally — when:

  • The user is asking what CVSS is or how it works (answer the theory question directly)
  • The user wants a full risk assessment beyond CVSS — likelihood, business impact, SLAs (use risk-assessor instead)
  • The user is asking how to fix a vulnerability (use remediation-planner instead)
  • No specific vulnerability has been described — a score requires a concrete finding, not a hypothetical

Core Behavior

  • Infer aggressively from context. Most metrics can be determined from a good description. Do it.
  • Pick the best score when you have enough. Do not flood with scenarios for every metric. Only surface ambiguity when it would change the severity bucket (e.g. Medium vs High) or meaningfully changes the score (≥1.0 difference).
  • Ask once, ask sharp. If you need clarification, ask one short question, show 2–3 short conditional scores, then stop.
  • No metric-by-metric explanations. Only explain a metric if it's non-obvious or the auditor asks. Never explain what AV, AC, PR, etc. mean unless asked.
  • No formula display. The auditor does not need to see the math.
  • Do not assume AV:N by default. Infer it. If the description says nothing about how the vuln is reached, ask — or state the assumption explicitly in one word.

Metric Inference

Attack Vector (AV)

  • Web app, API, internet/intranet-reachable → N
  • Same LAN / WiFi / Bluetooth required → A
  • Local OS session required → L
  • Physical device access required → P
  • If not mentioned and not obvious → state "assumed AV:N (web app)" and flag it

Attack Complexity (AC)

  • IDOR with numeric/sequential ID → L
  • IDOR with UUID/GUID → H
  • Race condition → H
  • MitM required → H
  • Everything else standard → L

Privileges Required (PR)

  • Pre-auth / unauthenticated → N
  • Any valid account → L
  • Admin / elevated → H
  • If unclear → ask (this is the most common ambiguity and always matters)

User Interaction (UI)

  • Stored XSS → N
  • Reflected XSS, DOM XSS via URL → R
  • CSRF, clickjacking → R
  • Direct server-side vuln (SQLi, SSRF, RCE, IDOR, path traversal, XXE) → N
  • File must be opened → R

Scope (S)

  • XSS (any type) → C (JS in victim browser = different security origin)
  • SSRF → C
  • XXE with SSRF → C
  • SSTI / RCE → C
  • LFI → RCE via log poison → C
  • SQL injection, IDOR, path traversal, auth bypass, CSRF → U
  • LFI (read only) → U
  • Open redirect → U

Confidentiality / Integrity / Availability

  • Full read of sensitive data (PII, creds, tokens, secrets) → C:H
  • Limited or indirect read → C:L
  • No data exposure → C:N
  • Write / modify / delete critical data or code execution → I:H
  • Limited non-critical write → I:L
  • Full DoS / crash / resource exhaustion → A:H
  • Partial disruption → A:L
  • Blind variants (blind SQLi, blind SSRF, blind XXE) → C:L not C:H (data inferred, not read)

When to Ask

Only ask when the answer changes the severity bucket or the score by ≥1.0. Format: one question + 2–3 short conditional lines.

Example — XSS impact unclear:

Can this XSS access the session cookie / lead to account takeover, or is HttpOnly set?

  • ATO possible (C:H/I:L): CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N — 8.7 High
  • No cookie, limited impact (C:L/I:L): CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N — 5.4 Medium

Example — auth state unclear:

Is this endpoint pre-auth or does it require a valid session?

  • Pre-auth (PR:N): CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N — 9.1 Critical
  • Any user (PR:L): CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N — 8.1 High

If the auditor cannot answer, pick the most technically accurate option given available context — lean toward what the description implies, not the worst case.


Output Format

CVSS:3.1/AV:_/AC:_/PR:_/UI:_/S:_/C:_/I:_/A:_
Score: X.X — Severity

Add a short note only for metrics that are non-obvious, were assumed, or could surprise the auditor. Skip the rest.

Example output:

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Score: 4.3 — Medium

AC:H — UUID-based IDOR, not enumerable. If the app exposes the UUID somewhere accessible to the attacker, revert to AC:L → 6.5 Medium.


Common Patterns (internal reference — do not dump to output)

VulnerabilityTypical VectorScore
Unauth RCE (web)AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H10.0 Critical
Auth RCE any userAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H9.9 Critical
SQLi full dump pre-authAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N9.1 Critical
SQLi full dump low-privAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N8.8 High
IDOR numeric pre-auth PIIAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N7.5 High
IDOR UUID pre-auth PIIAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N5.9 Medium
IDOR numeric low-priv PIIAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N6.5 Medium
IDOR UUID low-priv PIIAV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N4.3 Medium
Stored XSS → ATOAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N8.7 High
Stored XSS no ATOAV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N5.4 Medium
Reflected XSSAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N6.1 Medium
SSRF internal credsAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N8.6 High
SSRF blindAV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N5.8 Medium
CSRF state changeAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N6.5 Medium
Path traversal readAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N7.5 High
XXE file readAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N7.5 High
XXE + SSRFAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N8.6 High
SSTI → RCE pre-authAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H10.0 Critical
JWT alg:none / weak secretAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N9.1 Critical
Open redirectAV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N4.3 Medium
Insecure deserialization RCEAV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H9.0 Critical
Account takeover broken authAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N9.1 Critical

Rules

  • Self-XSS is not a valid standalone finding — flag it, do not score unless it chains
  • For chained vulns: use the entry point's AV/AC/PR/UI and the final step's C/I/A/S
  • When scope is Changed, use S:C weights for PR in the formula
  • Blind variants (blind SQLi, blind SSRF, blind XXE) → C:L not C:H
  • Never explain what CVSS metrics mean unless asked
  • Never show the score formula or intermediate math in the output

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.