# Filter Vulnerabilities by Severity Level

> Filter vulnerability records to include only HIGH and CRITICAL severity levels with case-sensitive exact matching.

- Skill: `cxcscmu/filter-vulnerabilities-by-severity-level` (Agent Skill)
- Install (CLI): `npx get-skill add cxcscmu/filter-vulnerabilities-by-severity-level`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cxcscmu/filter-vulnerabilities-by-severity-level/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: cxcscmu (https://skillmd.com/u/cxcscmu)
- Updated: 2026-11-24
- Page: https://skillmd.com/skills/cxcscmu/filter-vulnerabilities-by-severity-level

---


## Filtering Logic

1. **Severity comparison must be case-sensitive**
   - Match exactly: `"HIGH"` or `"CRITICAL"`
   - Do NOT match: `"high"`, `"High"`, `"critical"`, etc.

2. **Implementation**
   ```
   Include vulnerability if:
   severity == "HIGH" OR severity == "CRITICAL"
   ```

3. **Verify before filtering**
   - Extract actual severity values from JSON
   - Check for uppercase/lowercase inconsistency in source data
   - Convert to uppercase if needed: `severity.upper() == "HIGH"`

4. **Validation**
   - Count filtered records
   - Confirm no excluded HIGH/CRITICAL records
   - Confirm no included lower-severity records
