Files
NeuroSploit/web/public
Joas A SantosandClaude Opus 5 7c255ada3e fix(web): severity counts from /api/issues, FAIR dedup and damping, modal markup
Severity cards read 0 for critical/high/medium/low: /api/db/stats is empty
without PostgreSQL and per-run `severities` is unpopulated. Count from
/api/issues, which carries the per-finding severity.

FAIR exposure read $400M most likely / $1.6B max. Two modelling errors:
the same finding reported by several agents was counted once per report,
and thirty criticals on one host were summed as thirty independent
breaches. Collapse duplicates on (title, target), then damp additional
findings per target harmonically — an attacker compromises a host once.
Lands at $89.2M / $362M on the same data.

PR review modal used classes that are not display:block, so labels and
inputs ran inline. Use the field-group / field-label / field-help pattern
the other modals use.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-12-04 10:48:22 -03:00
..