A Kafka trap is a fallacy where; if someone denies being x, it is taken as evidence that the person is x because someone who is x would deny being x. Simply put, a Kafka Trap is when your denial of an unfalsifiable accusation is claimed to be proof of guilt.
Read more: https://www.thedailybell.com/all-articles/editorials/wendy-mcelroy-beware-of-kafkatrapping/