Etymology
Today it means: The practice of applying the qualities of a bad apple to an entire group in order to mischaracterize the group as a whole. Full definition →
From bad apple + -ing.
Etymology from Wiktionary, CC BY-SA 4.0.