⌘K
How MCPSafe calculates the AI Vulnerability Severity Score and safety grade.
AIVSS (AI Vulnerability Severity Score) is MCPSafe's scoring model for quantifying the risk of an MCP server. It adapts the CVSS framework to the specific threat model of AI tool use.
| AIVSS | Safety score | Grade | Meaning |
|---|---|---|---|
| < 2.0 | 81 – 100 | A | Low risk — safe to use |
| 2.0 – 3.9 | 61 – 80 | B | Moderate risk — review findings |
| 4.0 – 6.9 | 31 – 60 | C | Elevated risk — fix before production |
| 7.0 – 8.9 | 11 – 30 | D | High risk — do not use |
| ≥ 9.0 | 0 – 10 | F | Critical risk — actively unsafe |
The safety score (0–100) is 100 − (aivss_score × 10), clamped to [0, 100].
Each finding gets an individual AIVSS score based on five dimensions:
| Dimension | Description |
|---|---|
| Scope | Does the vulnerability affect only the local tool, or can it escape to the host system or network? |
| Exploitability | How easy is it to trigger — does it require crafted input, or does it fire unconditionally? |
| Impact | What can an attacker accomplish — data exfiltration, code execution, credential theft? |
| Detection difficulty | How hard is the attack to detect at runtime? |
| AI amplification | How much does AI autonomy increase risk (e.g., tool chaining, no human confirmation step)? |
The package AIVSS is the maximum individual finding score, not an average — one critical finding poisons the whole package.
Deep scans run a panel of 5 independent judge models against tool handlers — covering prompt-injection vectors in descriptions, ambiguous parameter names, undisclosed side effects, and over-broad permissions relative to stated purpose.
Scores are aggregated as a cross-judge median (no model can unilaterally move the score), then merged with rule-derived AIVSS. Per-judge verdicts — including disagreements — are visible on the scan report and via GET /scan/{id}/consensus.
Fast scans skip the consensus layer; rule findings drive the verdict on their own.
The tool_scores array in the scan result gives a per-MCP-tool breakdown:
{
"tool_name": "execute_command",
"aivss_score": 8.2,
"severity": "high",
"finding_count": 3
}This lets you identify which specific tools drive the overall score.
AIVSS vs CVSS
CVSS scores software vulnerabilities in isolation. AIVSS accounts for the AI execution context — an instruction-following agent that can chain tools, act autonomously, and process untrusted content at high speed amplifies the impact of the same vulnerability class.