​That’s a lot of Wu-Tang albums.

​The value of pharmaceutical scoundrel Martin Shkreli’s stock portfolio has plunged by $40 million since his December arrest, prosecutors revealed Wednesday in Brooklyn federal court.

The bulk of Shkreli’s E-Trade account — used to secure a $5 million bail package​ — was parked in KaloBios, the firm he formerly ran that has nosedived since his bust.

Prosecutor Winston Paes said the ​diminishing ​of the ​assets could endanger Shkreli’s bond and that alternative sources might have to be tapped.

Shkreli’s new counsel, ​celebrity attorney Benjamin Brafman, told Judge Kiyo Matsumoto that he would monitor the situation.

Shkreli faces fraud raps for lying to investors about the health of two cratering hedge funds he ran and for illegally using money from a pharmaceutical company to cover separate debts.

Appearing ashen and wearing a pair of white khakis that weren’t quite long enough, Shkreli, 32, said nothing outside court after the proceeding.​​

Brafman notably told reporters that he was shutting down his erratic client’s incessant commentary on the case, saying he wanted matters tried in the courtroom and not on social media.

The Sheepshead Bay-reared villain emerged from obscurity after he hiked the price of an HIV drug and then seemed to celebrate the ferocious backlash.

He also whipped up cyber-rage after purchasing the lone copy of a Wu-Tang Clan album for $2 million and then casually noting that he never even listened to it.

Despite facing a federal indictment, Shkreli ratcheted up his online rhetoric in recent weeks, even taunting Wu-Tang legend Ghostface Killah in a round of Twitter combat.

Staunchly maintaining his innocence, Shkreli has insisted that none of his investors actually lost any money.

His next appearance is slated for May 3.

Click here to see Shkreli getting what he deserved when he was charged with securities fraud: