Martin Shkreli, the former drug-company executive criticized for dramatically raising a pill’s price, has asked a congressional committee seeking his testimony to guarantee it can’t be used in a federal prosecution, according to materials reviewed by The Wall Street Journal.

Mr. Shkreli is seeking immunity similar to that granted Lt. Col. Oliver North when he testified to Congress in 1987 regarding the Iran-Contra scandal.

The...