guilt by association[Anglais]

nom
1 : the attribution of guilt (without proof) to individuals because the people they associate with are guilty