Logical fallacy
Poisoning the well
The speaker discredits a person or source in advance so the audience will reject anything they might say. The attack bypasses evaluation of their actual claims and evidence.
Examples
Before Mira explains the survey, remember that people like her never tell the truth.
I have not seen their audit, but the auditors are hacks, so you can disregard anything they are about to show.