Feat: Wire frontend to backend scan endpoint, replace UTXO report with findings

- Add GET /api/wallet/scan endpoint that shells out to detect.py
- Add CORS config and detect.py script path to application.properties
- walletService.js now calls the real scan endpoint instead of mock
- Replace UtxoCard-based ReportScreen with FindingCard-based layout
- FindingCard: collapsible card with data-driven details panel (address groups, string lists, key-value scalars)
- VulnerabilityBadge: all 14 finding types labeled, severity lowercased, critical style added
- ReportScreen: summary bar shows findings/warnings/txs analyzed; clean banner; separate warnings section
This commit is contained in:
LORDBABUINO
2026-02-27 02:00:39 -03:00
parent 78d335b571
commit ccc61d663e
10 changed files with 461 additions and 39 deletions

View File

@@ -51,3 +51,14 @@
background: var(--safe);
box-shadow: 0 0 4px var(--safe);
}
.critical {
background: rgba(255, 23, 68, 0.2);
color: #ff1744;
border: 1px solid rgba(255, 23, 68, 0.4);
}
.critical .dot {
background: #ff1744;
box-shadow: 0 0 6px #ff1744;
}