Both the privilege against self-crimination of tainted witness and the principle of balancing interests in practice are the theoretical foundation of immunity to tainted witness.
This paper makes an observation and assessment of the system of tainted witness in the United States, which is perfect.