# Cve Analysis

> CVE(Common Vulnerabilities and Exposures) analysis methodology, dependency vulnerability also for, CVSS count , vulnerability priority decision guide. 'CVE', 'vulnerability analysis', 'dependency vulnerability', 'CVSS', 'npm audit', 'Snyk', 'Trivy', 'CVE database', 'vulnerability priority' etc. CVE vulnerability analysis this for. vulnerability-scannerof -ize. , actual penetration test executionthis code modification this of scope .

- Skill: `revfactory/cve-analysis` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add revfactory/cve-analysis`
- Raw SKILL.md: https://api.skillmd.com/api/skills/revfactory/cve-analysis/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Security
- Author: revfactory (https://skillmd.com/u/revfactory)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/revfactory/cve-analysis

---


# CVE Analysis — CVE analysis and dependency vulnerability  guide

CVE  vulnerability efficiency-basedas detection, analysis, priority-izelower methodology.

## CVSS v3.1 count 

### Base Score 

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H → 9.8 (Critical)

AV (Attack Vector):    N(Network) > A(Adjacent) > L(Local) > P(Physical)
AC (Attack Complexity): L(Low) > H(High)
PR (Privileges Required): N(None) > L(Low) > H(High)
UI (User Interaction):  N(None) > R(Required)
S  (Scope):             C(Changed) > U(Unchanged)
C  (Confidentiality):   H(High) > L(Low) > N(None)
I  (Integrity):         H(High) > L(Low) > N(None)
A  (Availability):      H(High) > L(Low) > N(None)
```

###  priority decision

```
CVSSonlyas  —   required:

priority = CVSS Base ×   × for possible

 :
├──  : ×1.5 (external  possible)
├── internal beforefor: ×0.5 (VPN )
├── important data processing: ×1.3 (PII, )
└── items  beforefor: ×0.3

for possible:
├── PoC items: ×2.0 (immediate )
├──  attack: ×3.0 (first)
├── this-based possible: ×0.5
└── corresponding code as for: ×0.1
```

## dependency  also

### Node.js
```bash
# npm within
npm audit --json
npm audit fix

# Snyk
snyk test --json
snyk monitor  #  monitoring

# result 
{
  "vulnerabilities": {
    "info": 0, "low": 2, "moderate": 5,
    "high": 3, "critical": 1
  }
}
```

### Python
```bash
# pip-audit
pip-audit --format=json

# Safety
safety check --json

# Bandit (SAST)
bandit -r src/ -f json
```

### Java/Kotlin
```bash
# OWASP Dependency-Check
mvn org.owasp:dependency-check-maven:check

# Gradle
./gradlew dependencyCheckAnalyze
```

### container
```bash
# Trivy
trivy image myapp:latest --severity CRITICAL,HIGH
trivy fs --security-checks vuln,config .

# Grype
grype myapp:latest
```

## vulnerability classification framework

### CWE categoryper 

| CWE category |  CVE pattern | 1  |
|-------------|-------------|---------|
| CWE-79 (XSS) |  library | library update + CSP -basedfor |
| CWE-89 (SQLi) | ORM/DB this |  + parameter-ize query confirmation |
| CWE-502 (Deserialization) | Jackson, pickle |  + -ize -izethislist |
| CWE-918 (SSRF) | HTTP client |  + URL -izethislist |
| CWE-1035 (Components) | framework  | this before thethis |

### vulnerability  ofdecision

```
CVE 
├── CVSS ≥ 9.0 (Critical)
│   ├──  possible → immediate  (24h within)
│   └──  impossible → WAF rule + temporary 
├── CVSS 7.0~8.9 (High)
│   ├──   → 1week within 
│   └── internal beforefor → 2week within 
├── CVSS 4.0~6.9 (Medium)
│   └──  in included
└── CVSS < 4.0 (Low)
    └── login etc.
```

##  detection

###  pattern

```regex
# AWS
AKIA[0-9A-Z]{16}
# GitHub Token
ghp_[a-zA-Z0-9]{36}
# Generic API Key
(?i)(api[_-]?key|apikey|secret)['":\s]*[=:]\s*['"]?[a-zA-Z0-9/+]{20,}
# JWT
eyJ[a-zA-Z0-9_-]*\.eyJ[a-zA-Z0-9_-]*\.[a-zA-Z0-9_-]*
# Private Key
-----BEGIN (RSA |EC |DSA )?PRIVATE KEY-----
```

### also
```bash
# gitleaks (Git  included)
gitleaks detect --source=. --report-format=json

# trufflehog
trufflehog git file://. --json

# detect-secrets
detect-secrets scan --all-files
```

## report template

```markdown
# CVE analysis report

## 
| severity | casescount | immediate  |
|--------|------|----------|
| Critical | N | N |
| High | N | N |
| Medium | N | |
| Low | N | |

## Critical/High detailed
| CVE ID | CVSS | package | impact |  |
|--------|------|--------|------|------|

##  detection result
| type | day |  | upper |

## matter
1. [immediate] CVE-XXXX-XXXXX 
2. [1week] dependency Nitems thethis
3. [operations] CIin automatic  addition
```

