Skip to content

feat: CVE Vulnerability Scanner — retail-specific CVE database, scanner, and dashboard panel#29

Merged
TFT444 merged 9 commits into
mainfrom
dev
May 29, 2026
Merged

feat: CVE Vulnerability Scanner — retail-specific CVE database, scanner, and dashboard panel#29
TFT444 merged 9 commits into
mainfrom
dev

Conversation

@TFT444
Copy link
Copy Markdown
Owner

@TFT444 TFT444 commented May 28, 2026

Summary

Adds Phase 1 of the RetailShield v2.0 Vulnerability Management module — a retail-specific CVE scanner that identifies known vulnerabilities in POS systems, payment terminals, stock management platforms, and retail applications before attackers exploit them.

Changes

scripts/cve_database.json — 32 retail-specific CVEs

  • 4 categories × 8 CVEs: POS systems, stock management, payment terminals, retail platforms
  • Products: Oracle Xstore, NCR Aloha, Toshiba TCx, Verifone, SAP Retail, MS Dynamics, Oracle Retail, JDA, Verifone VX520/P400, Ingenico iCT250, PAX S920, Shopify, Square, Lightspeed, Revel
  • Each CVE: CVSS v3.1 score, severity, affected versions, MITRE ATT&CK mapping, patch status, exploit flag, CVSS vector

scripts/cve_scanner.py — Retail infrastructure scanner

  • Scans 18 simulated retail assets against the CVE database
  • --mode quick (POS + terminals) / --mode deep (all 4 categories, default)
  • --output text (colour-coded terminal report) / --output json (machine-readable)
  • --dry-run (console preview, no file written)
  • No third-party dependencies — Python stdlib only

scripts/README.md — Scanner documentation

  • Full usage examples for all flags
  • CVE database field reference table
  • Coverage matrix and sample output (text + JSON)

frontend/src/RetailShield.jsx — Vulnerability Scanner panel

  • Full-width panel below MITRE ATT&CK coverage section
  • 32 pre-populated CVE findings (8 critical, 22 high, 4 medium)
  • Severity badges + scrollable CVE table with EXPLOIT flags
  • Animated blue progress bar scanning simulation (~3s)
  • Scanning overlay with live percentage counter
  • Footer stats: assets scanned, total CVEs, patch available, public exploits

GitHub Issues

Closes #23 (cve_scanner.py) · Closes #24 (cve_database.json) · Closes #25 (frontend panel) · Closes #26 (documentation)

Open for future work: #27 (JSON integration) · #28 (unit tests)

Milestone

v2.0 - Vulnerability Management

https://claude.ai/code/session_01KFqx53RyCYkv6UCCqLEy4A


Generated by Claude Code

TFT444 added 4 commits May 28, 2026 12:16
Adds retail-specific CVE database covering 4 categories:
- POS Systems: Oracle Xstore, NCR Aloha, Toshiba TCx, Verifone POS (8 CVEs)
- Stock Management: SAP Retail, MS Dynamics, Oracle Retail, JDA (8 CVEs)
- Payment Terminals: Verifone VX520/P400, Ingenico iCT250, PAX S920 (8 CVEs)
- Retail Platforms: Shopify, Square, Lightspeed, Revel POS (8 CVEs)

Each CVE includes CVSS v3.1 score, MITRE ATT&CK mapping, affected version
ranges, patch status, exploit availability, and full vector string.

https://claude.ai/code/session_01KFqx53RyCYkv6UCCqLEy4A
Python script that scans 18 simulated retail assets across 4 categories
against the retail CVE database. Supports:
- --mode quick (POS + terminals) / deep (all 4 categories, default)
- --output text (human-readable report) / json (machine-readable)
- --dry-run (first 3 findings to console, no file written)
- --out-file (custom JSON output path)

No third-party dependencies. Outputs CVSS scores, severity breakdown,
MITRE ATT&CK mappings, patch status, and public exploit flags.

https://claude.ai/code/session_01KFqx53RyCYkv6UCCqLEy4A
Adds full documentation for cve_scanner.py and cve_database.json:
- Usage examples for all flags and modes
- CVE database field reference table
- Coverage matrix (4 categories × 8 CVEs each)
- Sample text and JSON output

https://claude.ai/code/session_01KFqx53RyCYkv6UCCqLEy4A
Adds a full-width Vulnerability Scanner section below the MITRE coverage
panel. Features:
- 32 pre-populated CVE findings across 18 retail assets (8C/22H/4M)
- Severity badges (Critical/High/Medium/Low) with live counts
- Scrollable CVE table: asset ID, CVE ID, CVSS score, description,
  product, version, severity, patch status, EXPLOIT flag
- RUN VULNERABILITY SCAN button with animated blue progress bar
- Scanning overlay with percentage counter during simulated scan
- Footer stats: assets scanned, total CVEs, patch available, public exploits
- scanPulse CSS animation; matches existing dark theme design tokens

https://claude.ai/code/session_01KFqx53RyCYkv6UCCqLEy4A
@vercel
Copy link
Copy Markdown

vercel Bot commented May 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
retail-shield Ready Ready Preview, Comment May 28, 2026 5:37pm

…efing panel

- detection-rules/pos_anomaly.kql — T1056.001 POS RAM scraping (4 signals)
- detection-rules/ai_voice_fraud.kql — T1598 AI deepfake voice fraud (4 signals)
- detection-rules/supply_chain_anomaly.kql — T1195 supply chain compromise (4 signals)
- tests/detection-rules/test_kql_rules.py — 84 tests total, all passing
- docs/mitre-mapping.md — all 8 techniques done + PCI DSS v4.0 alignment table
- frontend/api/brief.js — Vercel /api/brief endpoint (Claude AI executive briefing)
- frontend/src/RetailShield.jsx — PCI DSS Compliance Scorecard + AI Briefing panel
- tests/detection-rules/test_kql_rules.py — 84 tests across 5 rule classes
- frontend/src/RetailShield.jsx — PCI DSS Compliance Scorecard panel + AI Executive Briefing panel
…; fix flake8 E501

- validate_kql.py: RetailShield_Logs_CL and AzureDiagnostics now recognised as valid Sentinel tables
- cve_scanner.py: shorten line 137 to stay within 100-char flake8 limit
- RetailShield.jsx: PCI DSS Compliance Scorecard + AI Executive Briefing panels
@TFT444 TFT444 merged commit 7062b9a into main May 29, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant