Commit Graph

6 Commits

Author SHA1 Message Date
LORDBABUINO
0e0a24bfb7 feat: Optimize detect.py performance
- Cache get_input_addresses() and get_output_addresses() results in TxGraph
  to avoid redundant parsing across 12 detector functions
- TxGraph.fetch_tx() already cached raw RPC calls; now parsed results are
  cached too, eliminating repeated iteration over vin/vout arrays
- JSON output structure remains identical (no breaking changes)
2026-03-05 11:28:53 -08:00
LORDBABUINO
b700b7add8 feat: Clean up dead code within remaining files
- detect.py: remove unused imports (time, hashlib, log2)
- bitcoin_rpc.py: remove __main__ test block, unused CLI/SIGNET_ARGS vars,
  and unused functions (fund_wallet, wait_for_mempool_empty, decode_psbt,
  decode_raw_tx), remove unused time import
- VulnerabilityBadge.jsx: verified clean, no UtxoCard references
- WalletResource.java: already cleaned in prior commit
2026-03-05 11:27:26 -08:00
LORDBABUINO
a6aec9b620 feat: add correction suggestions to vulnerability findings and display them in UI
- Add a `correction` field to every `finding()` call in detect.py with
  actionable remediation advice for all 12 vulnerability types
- Add `CorrectionPanel` component to FindingCard.jsx that renders the
  correction text under the technical details when a card is expanded
- Add `.correction` CSS styles with accent-tinted background and a
  "HOW TO FIX" label to visually distinguish remediation from details
2026-02-27 14:26:37 -03:00
LORDBABUINO
78d335b571 feat: structured JSON output for detect.py
Replace flat string findings with typed objects following a unified
{ type, severity, description, details } envelope across all 12
detectors. Full TXIDs and addresses, no truncation.
2026-02-27 02:06:31 -03:00
LORDBABUINO
c198b35f92 feat: auto-expand descriptor to both /0/* and /1/* variants
When a descriptor is passed directly, strip its checksum, derive the
missing external/internal counterpart, and normalize both through
getdescriptorinfo before importing — matching the full address set
that --wallet produces.
2026-02-27 02:06:31 -03:00
Renato Britto
fb5381d7b1 feat: add vuln reproduction and detection scripts 2026-02-27 02:06:31 -03:00