TL;DR
Following a major Web3 security incident, tracing stolen cryptocurrency through a web of mixers, cross-chain bridges, and decentralized finance (DeFi) protocols is a massive headache for forensic analysts. RISKTAGGER solves this by embedding a Large Language Model (LLM) as an evidence-constrained decision engine within a controlled graph-expansion loop. It automatically reconstructs complex laundering paths, achieves up to 100% address recall, and delivers human-reviewable, audit-ready forensic reports.
What Problem Does This Paper Address?
When a crypto exchange or DeFi protocol gets hacked, speed is everything for asset recovery. However, modern crypto-laundering strategies are highly sophisticated, utilizing multi-chain transfers, token swaps, and denomination splitting to obscure fund origins.
Existing Anti-Money Laundering (AML) forensic methods fall short in two major ways:
- Traditional graph algorithms and heuristics often output massive, flat lists of "suspicious addresses" without context, path-level evidence, or human-readable explanations.
- Naively applying general-purpose LLMs directly to raw transaction streams fails because the sheer volume of data quickly overwhelms context windows, leading to hallucinations and inconsistent tracking logic.
Auditors don't just need a list of bad addresses; they need an evidence-grounded narrative explaining why an account is risky and how the funds flowed there.
Methods
RISKTAGGER introduces a closed-loop framework consisting of three coordinated modules:
- Key-Clue Extractor: This module ingests unstructured public data (threat intel reports, tweets, blog posts) and uses an LLM to distill them into a structured JSON "Case Profile" containing seed attacker addresses, affected assets, and incident timelines.
- Laundering Tracer: Instead of letting the LLM wander freely through the blockchain, RISKTAGGER couples risk decisions with recursive graph expansion. For every address, a Fetcher gathers on-chain data, a Translator condenses raw logs into compact behavioral features, and a Memory-Augmented LLM Reasoner applies Chain-of-Thought (CoT) reasoning to assign a risk tier. Crucially, an Expansion Controller uses four deterministic gates (feasibility, semantic routing, fund-dominance, and loop validity) to prune out noise and decide which addresses to explore next.
- Evidence Explainer: Finally, the system synthesizes the traced graph and case profile into a comprehensive forensic report complete with ordered transaction paths, pattern summaries, and an uncertainty log.
Datasets
The authors evaluated RISKTAGGER on five high-profile, real-world Web3 security incidents spanning multiple years and heterogeneous attack vectors:
- Bybit Hack (2025): Contract-logic hijack (~$1.5B loss)
- Li.Fi Exploit (2024): DeFi smart-contract exploit (~$11.6M loss)
- HTX & Heco Attack (2023): Cross-chain bridge attack (~$110M loss)
- Ronin Network Hack (2022): Bridge key compromise (~$624M loss)
- Vulcan Forged Intrusion (2021): Platform intrusion (~$140M loss)
Ground-truth datasets for evaluation were constructed by scraping publicly verified case labels from Etherscan.
Key Insights and Ideas
- The Power of Bounded Autonomy: The paper demonstrates that LLMs shouldn't act as standalone classifiers for raw data streams. Instead, they excel when framed as a reasoning component constrained by strict, deterministic execution boundaries (the expansion controller gates).
- Bimodal Pulsing Topology: In deep laundering scenarios like the Bybit hack, RISKTAGGER uncovered a distinct structural pattern: an initial "pulse" characterized by rapid, high-volume native token movement, followed by a low-activity cooling period, and finally a second "pulse" dominated by stablecoin fragmentation through DeFi protocols.
- Infrastructure Reuse: By utilizing its memory module across cases, RISKTAGGER identified overlapping laundering accounts between the Ronin and Bybit hacks, providing concrete evidence of threat actors reusing the same underlying laundering infrastructure over time.
Key Results
RISKTAGGER significantly outperformed traditional AML baselines (such as TPP, Tiles, and XBlockFlow) across all evaluation metrics:
- Bybit Hack (Main Case): Achieved a remarkable 97.33% address recall and 98.69% expert-reviewed precision, successfully identifying 14,952 risk-labeled accounts across 15 tracing depths.
- Generalization: Across the other four historical incidents, it maintained an address recall of 95.24% to 100.00% and an expert precision of 91.27% to 100.00%.
- Ablation & Backends: Component tests revealed that removing the Expansion Controller caused the most severe performance drop, proving that algorithmic bounding is vital. When testing various LLM backends, Qwen3-Max provided the optimal balance of speed, cost, and zero false positives.
Limitations and Future Work
While highly effective, RISKTAGGER possesses a few notable limitations:
- Public Data Dependency: The tool relies entirely on open on-chain data and public APIs. If an attacker routes funds through an unmapped cross-chain bridge or a highly private network layer that lacks public tracking tools, the system records an "evidence boundary" and stops.
- EVM Focus: The current implementation is optimized primarily for Ethereum Virtual Machine (EVM)-compatible chains. Extending this framework to non-EVM ecosystems (like Bitcoin or Solana) remains an open avenue for future development.
- Triage, Not Final Proof: The authors emphasize that RISKTAGGER is designed for rapid post-incident triage and lead generation; its reports are meant to assist human investigators, not replace final legal attribution.
Summary updated