Red-baiting Definition

noun

(US) The practice of accusing someone of being a communist, socialist or anarchist with the intention of discrediting his or her political views.

Wiktionary