Taint Analysis for Blockchain Fund Tracking

26 concepts19 papers1 proposal

Public blockchains are inherently transparent, yet tracking illicit funds across them remains a significant challenge. When a malicious actor steals assets, collects a ransomware payment, or runs a scam, they rarely leave the funds sitting in a single wallet. Instead, they distribute them across thousands of ephemeral addresses, route them through smart contracts, or pass them across cross-chain bridges.

To unmask these operations, researchers use taint analysis—a network-based tracking methodology that treats illicit funds like a chemical dye injected into a water supply, mapping how the "taint" propagates across the transaction graph to identify where criminal proceeds are eventually liquidated.

The Mechanics of Taint Propagation

How exactly does taint move from one transaction to the next? As reviewed by Wu et al., propagation relies on specific accounting rules that dictate how tainted inputs are mapped to transaction outputs:

  • The Poison Rule: If any input of a transaction is tainted, all outputs are considered completely dirty. This maximizes detection but can quickly cause the taint to explode, falsely implicating innocent addresses that happen to receive funds downstream.
  • The First-In-First-Out (FIFO) Rule: Funds are assumed to be spent in the exact chronological order they were received. For example, if a wallet holds 5 clean coins and then receives 2 tainted coins, a subsequent transfer of 3 coins is drawn from the clean balance, while the remaining balance eventually carries the taint.

By applying these rules systematically, researchers can track the flow of funds from a known malicious origin (the source) to a liquidation point (the sink), such as a centralized exchange, as demonstrated in dark web financial tracking by Lee et al..

From Binary Blacklists to Quantitative Impurity Scoring

Traditional blockchain forensics relied on binary blacklists: an address was either clean or dirty. However, this approach is easily bypassed or weaponized. For instance, malicious actors can execute "dusting attacks," sending tiny fractions of tainted funds to innocent users to artificially corrupt their wallets and disrupt compliance systems.

To solve this, Liu et al. proposed a shift toward quantitative taint tracking using an impurity scoring algorithm. Instead of a binary label, every address is assigned a continuous value representing the exact fraction of its balance originating from sanctioned or illicit sources. This allows compliance systems to tolerate minor, unsolicited transfers while still identifying heavy laundering pipelines.

A similar score-propagation approach was adapted by Huang et al. to uncover coordinated phishing gangs on Ethereum, tracking how stolen assets diffuse through intermediary accounts by assigning and propagating an initial "taint score" across the transaction network.

Peering Through Smart Contracts and Relayers

Modern account-based blockchains like Ethereum introduce smart contracts, which abstract and obscure simple wallet-to-wallet transfers. Attackers frequently use privacy mixers or third-party submission services (relayers) to mask the final destination of their funds.

To maintain visibility, advanced tracing techniques must look past surface-level transaction data. As Liu et al. note, relayer-aware transaction inspection analyzes low-level internal contract events and execution logs. This allows analysts to bypass the abstraction layer of the relayer and pinpoint the true underlying beneficiary.

Similarly, in Decentralized Finance (DeFi) security, tracing the flow of funds prior to an exploit helps map out the financial infrastructure supporting the attack, as formalized by Zhou et al., while tracking post-incident asset movement helps identify complex arbitrage and exchange liquidations (Heimbach et al.).

Multi-Hop and Cross-Chain Tracking

Laundering rarely stops on a single chain. Sophisticated actors leverage multi-hop paths and cross-chain bridges to break the deterministic link between transactions.

Multi-hop taint analysis tracks assets through a long chain of intermediary accounts until they hit centralized exchanges (Hou et al.). However, when funds jump across entirely different blockchains, traditional single-chain tracking fails. To bridge this gap, Lin et al. developed automated bi-directional tracing systems that combine semantic analysis of transaction logs with named entity recognition. By matching deposit patterns on one chain with corresponding withdrawals on another, these systems reconstruct the unified path of cross-chain fund flows.

Quantifying Financial Impact and Establishing Ground Truth

A major goal of taint analysis is measuring the real-world financial damage of cybercrime. However, public ledger analysis typically only provides a lower-bound estimate of total losses. As Xia et al. and Wang point out, direct wallet tracking misses secondary damages like credential phishing, hidden rotating addresses, or referral fraud that do not appear directly on-chain.

To accurately map out these hidden networks, researchers sometimes act as "synthetic victims." For example, Huang et al. sent small, traceable amounts of cryptocurrency to unique ransomware payment addresses. By monitoring the blockchain for the movement of these specific "tagged" funds, they could watch the multi-hop aggregation process unfold into centralized operator wallets.

To evaluate these tracking models without violating privacy laws or relying on incomplete real-world data, the community utilizes transitive labeling mechanisms within synthetic environments, such as the agent-based simulators developed by Altman et al., which propagate ground-truth labels across complex multi-step laundering paths to benchmark detection models accurately.

Key Foundational Work

Tracking Ransomware End-to-end (2018) — contributed 1 concept elements to this direction.
An Empirical Study of Namecoin and Lessons for Decentralized Namespace Design (2015) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_blockchain_transaction_tracing_00e43e1f,
  title = {blockchain transaction tracing},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/blockchain-transaction-tracing/rdr_00e43e1f614d4c13b01daa826b4f9126},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_blockchain_transaction_tracing_00e43e1f_v1,
  title = {blockchain transaction tracing},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/blockchain-transaction-tracing/rdr_00e43e1f614d4c13b01daa826b4f9126/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake