Tool · Detection engineering
Alert severity calculator
Stop arguing about whether it's High or Critical. Score the alert on four factors, weight them the way your team agreed, and let the math decide. Why this formula ↗
Severity = (Impact × w₁) + (Confidence × w₂) + (Prevalence × w₃) + (Asset Value × w₄)
Weights are 0–1 and add up to 1.0 · 3.0+ Critical · 2.5+ High · 2.0+ Medium · below 2.0 Low
01Impact
weight 0.40How damaging would it be if this alert was real and successful?
02Confidence
weight 0.30How certain are we that this detection indicates true malicious behavior?
03Prevalence
weight 0.20How often does this event occur in your environment? Rarer scores higher.
04Asset Value
weight 0.10How important is the user or system being targeted?
Use it with any AI
The prompt
- 01Copy the prompt into ChatGPT, Claude, Gemini or your SOC copilot.
- 02Replace the last line with the alert, rule or detection details.
- 03It asks for anything it can't judge (like prevalence), then shows its work in a table.
Strip hostnames, usernames and anything sensitive before pasting an alert into a public AI tool.
You are a detection engineer scoring alert severity with a weighted formula. Be consistent and show your work. FORMULA Severity Score = Σ (factor score × weight). Weights are between 0 and 1 and add up to exactly 1.0, so the score lands between 1.0 and 4.0. FACTORS (score each one independently) - Impact: how damaging if real and successful? Low 1, Medium 2, High 3, Critical 4 - Confidence: how sure is it truly malicious? Low 1, Medium 2, High 3, Pretty Damn Sure 4 - Prevalence: how often does this occur here? Frequent 1, Occasional 2, Rare 3, Ultra Rare 4 (rarer scores higher) - Asset Value: importance of the user/system targeted? Low 1, Medium 2, High 3, Critical Business Impact 4 ADVANCED FACTORS (use only if I ask for the advanced model) - MITRE Stage: 1 Initial Access/Recon, 2 Execution/Persistence/Privilege Escalation, 3 Lateral Movement/Credential Access/Discovery, 4 Exfiltration/Impact/C2 - User/Host Behavior Risk: 1 low-risk (lab, sandbox, non-privileged), 2 regular user/workstation, 3 elevated (admins, domain controllers, past incidents), 4 highly risky (domain admin, terminated or compromised account, high blast radius) - External Exposure: 0 internal only, 1 internet-exposed DEFAULT WEIGHTS (use mine instead if I give them) - Basic: Impact 0.40, Confidence 0.30, Prevalence 0.20, Asset Value 0.10 - Advanced: Impact 0.25, Confidence 0.20, Prevalence 0.10, Asset Value 0.10, MITRE Stage 0.15, User/Host Risk 0.15, External Exposure 0.05 SEVERITY BANDS 3.0–4.0 Critical · 2.5–2.99 High · 2.0–2.49 Medium · 1.0–1.99 Low HOW TO ANSWER 1. If a factor can't be judged from what I gave you, ask me for it (all missing ones in one question) instead of guessing. Prevalence and asset value usually need my environment's context. 2. Give a table: factor, score, one-line reason, weight, score × weight. 3. Show the sum, the final score to two decimals, and the band. 4. Add one sentence on what would move it up or down a band. 5. Never invent details about my environment. Use the basic model unless I say "advanced". Here is the alert: [paste the alert, rule name, or detection details here]
For Claude
The skill
A Claude skill that scores alerts with this formula whenever you ask it to rate, triage or set severity. It ships with a tiny Python script, so the math is exact every time, not estimated.
Download the skill ↓Claude Code
Unzip it into your skills folder, then ask Claude to score an alert:
unzip alert-severity-skill.zip -d ~/.claude/skillsClaude apps
Settings → Capabilities → Skills → upload the zip.
alert-severity/SKILL.md
--- name: alert-severity description: Score a security alert or detection rule's severity with a consistent weighted formula (impact, confidence, prevalence, asset value, plus optional MITRE stage, user/host risk and external exposure) and map it to Low, Medium, High or Critical. Use when asked to score, rate, triage or set the severity of an alert, detection, rule or incident, or to compare severities across detections. --- # Alert severity scoring Score alert severity the same way every time, with the formula from Silas Potter's "Rethinking Alert Severity: A Formula for Consistent Scoring" (zerodaysoff.dev/tools/severity). ``` Severity Score = Σ (factor score × weight) ``` Weights are between 0 and 1 and add up to exactly 1.0, so the score lands between 1.0 and 4.0. ## Factors Score each factor independently. | Factor | 1 | 2 | 3 | 4 | |---|---|---|---|---| | Impact: how damaging if real and successful? | Low | Medium | High | Critical | | Confidence: how sure is it truly malicious? | Low | Medium | High | Pretty Damn Sure | | Prevalence: how often does this occur here? (rarer scores higher) | Frequent | Occasional | Rare | Ultra Rare | | Asset Value: importance of the target | Low | Medium | High | Critical Business Impact | Advanced model only: | Factor | Values | |---|---| | MITRE Stage | 1 Initial Access / Recon · 2 Execution / Persistence / Privilege Escalation · 3 Lateral Movement / Credential Access / Discovery · 4 Exfiltration / Impact / C2 | | User/Host Behavior Risk | 1 low-risk (lab, sandbox, non-privileged) · 2 regular user or workstation · 3 elevated (admins, domain controllers, past incidents) · 4 highly risky (domain admin, terminated or compromised account, high blast radius) | | External Exposure | 0 internal only · 1 internet-exposed | ## Default weights Use the team's weights if the user gives them; otherwise: - **Basic:** impact 0.40, confidence 0.30, prevalence 0.20, asset 0.10 - **Advanced:** impact 0.25, confidence 0.20, prevalence 0.10, asset 0.10, mitre 0.15, behavior 0.15, exposure 0.05 If custom weights don't add up to 1.0, say so and ask whether to normalize them. ## Bands 3.0–4.0 **Critical** · 2.5–2.99 **High** · 2.0–2.49 **Medium** · 1.0–1.99 **Low** ## Steps 1. Use the basic model unless the user asks for advanced, or gives MITRE stage, user/host risk or exposure. 2. Score each factor from the alert details. If a factor can't be judged (prevalence and asset value usually need the user's environment), ask for all missing ones in a single question. Never invent environment details. 3. Compute the score with the script so the math is exact: ```bash python3 scripts/score.py impact=3 confidence=3 prevalence=2 asset=2 python3 scripts/score.py --advanced impact=4 confidence=3 prevalence=3 asset=3 mitre=3 behavior=3 exposure=0 python3 scripts/score.py impact=3 confidence=2 prevalence=4 asset=3 --weights impact=0.3,confidence=0.3,prevalence=0.2,asset=0.2 ``` 4. Answer with a table (factor, score, one-line reason, weight, score × weight), the total to two decimals, the band, and one sentence on what would move it up or down a band. ## Worked example "Local admin created on endpoint outside of change window": impact 3, confidence 3, prevalence 2, asset 2. (3×0.4) + (3×0.3) + (2×0.2) + (2×0.1) = 1.2 + 0.9 + 0.4 + 0.2 = **2.70 → High**