You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make build # Compile all packages
make test# Run tests with race detection
make lint # Run golangci-lint
make coverage # Check coverage threshold (25% min)
make security # Run govulncheck
make check # Run all checks (build + test + lint + vet)
make all # Full CI pipeline locally
Project Structure
cmd/engine/ Main entrypoint for the forensics API
internal/
heuristics/ Core algorithms (62 Go source files)
ssmp.go 52-step AnalyzeTx pipeline
llr_engine.go Log-Likelihood Ratio + 55-bit flag system (10 layers)
cluster_engine.go Union-Find address clustering (CIOH)
signal_fusion.go Bayesian multi-signal fusion
scammer_behavior.go Consolidation + velocity + self-spend
coordinator_fingerprint.go Protocol ID + Sybil detection
laundering_detection.go Financial crime patterns
dust_tracer.go Full dust attack lifecycle
advanced_forensics.go Peeling chain + timezone + RBF
ml_features.go 30+ feature extractor + anomaly detector
darknet_patterns.go Darknet market + CoinJoin ML classifier
alert_engine.go Risk indicators + real-time alerts
compliance_engine.go SAR generation + FATF jurisdiction risk
graph_traversal.go UTXO backtracking + forward flow
deposit_heuristic.go Deposit address + SIGHASH + mixer fingerprint
cross_chain_tracking.go WBTC + cross-chain value/time matcher
...
mempool/ Mempool monitoring and pre-confirmation intel
scanner/ Block scanner and UTXO indexer
shadow/ Shadow testing framework
metrics/ ARI/VI clustering evaluation
pkg/models/ Transaction models and result types
scripts/
pre-commit Git pre-commit hook
setup.sh Development environment setup
CI/CD
Workflow
Purpose
ci.yml
Build + Test (race + coverage threshold) + Security (govulncheck + go vet)
lint.yml
golangci-lint with custom .golangci.yml config
Engine Stats
Metric
Value
Go source files
62
Lines of code
18,306
Pipeline steps
52
Heuristic flag bits
55 (10 layers)
Test files
16
Test coverage
57.6%
Industry technique coverage
74/102 (73%)
Engine version
Phase 22 (202603082)
Industry Coverage (73%)
Category
Coverage
Clustering & Entity
7/9
CoinJoin Deanonymization
15/15
Graph & Flow Analysis
13/13
Wallet Fingerprinting
11/11
Scammer Tracking
13/13
ML/AI Classification
5/8
Cross-Chain & Lightning
5/8
Risk & Compliance
5/6
Data Sources
2/9
Network Layer
3/10
License
This project is licensed under the Apache 2.0 License — see the LICENSE file for details.