cvss-score-extraction
Extract a CVSS score from scanner vulnerability objects (e.g., Trivy JSON) with consistent source/field fallback.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- cvss-score-extraction
- description
- Extract a CVSS score from scanner vulnerability objects (e.g., Trivy JSON) with consistent source/field fallback.
03 SKILL.md 正文
Steps
- Read the vulnerability’s
CVSSobject (default to{}if missing or not a dict). - Prefer CVSS v3 scores when present; use the first available source in this priority order:
nvd→ghsa→redhat. - If no v3 score exists, optionally fall back to
nvdv2 (V2Score) if present; otherwise returnN/A. - Validate the chosen score is numeric (
int/float); otherwise returnN/A. - (Optional for traceability in code) return both
scoreand thesourcekey used (e.g.,{'score': 7.5, 'source': 'ghsa', 'version': 'v3'}), even if onlyscoreis written to the CSV.
Expected Result
A numeric CVSS score (preferably v3/v3.1) is consistently selected from the best available source, or N/A if unavailable.
04 同仓库更多 Skills
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms