Green’s Dictionary of Slang

dirty v.

(US) to plant incriminating evidence; to accuse unfairly; to smear.

[US]Simon & Burns ‘The Detail’ Wire ser. 1 ep. 2 [TV script] ‘Don’t put that shit [i.e. a crack vial] on me.’ ‘That what you think I’m about? Boy thinks I’m gonna dirty him.’.
R. Sullivan LAbyrinth 20: [O]ff-duty black police officers had begun to canvas the neighborhood surrounding the shooting scene, looking for witnesses who would ‘dirty up Lyga.’.