Commit Graph

13 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
b466bb7721 feat: Remove unused Python test/utility scripts
- Delete verify.py (test script, not in critical path)
- Delete test_vulnerabilities.py (test script, not in critical path)
- Delete create_random_transactions.py (data generation, not in critical path)
2026-03-05 11:24:59 -08:00
LORDBABUINO
eb148ea69e feat: Remove alternate-network and utility shell scripts
- Delete setup_signet.sh (signet workflow, not used in regtest)
- Delete mine_blocks.sh (utility script, not in critical path)
- Delete run_all.sh (orchestrator script, not needed)
- Delete openconf.sh (config viewer, not needed)
2026-03-05 11:24:48 -08:00
LORDBABUINO
458a37c566 refactor: use local bitcoin-data dir and bcli helper in setup.sh 2026-03-05 00:13:06 -03:00
LORDBABUINO
52691c41d3 refactor: pass bitcoind config via CLI flags instead of writing bitcoin.conf 2026-03-04 23:44:14 -03: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
b8e4f03695 Feat: add config.ini for blockchain connection settings 2026-02-27 02:55:07 -03:00
Renato Britto
ce2476f6ca feat: add create random transactions script 2026-02-27 02:23:47 -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
6a01b9e450 feat: add miner and setup.sh 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