I agree with George. I have OCD and these types of thoughts occur to me ALL THE TIME. I am constantly living in anxiety of messing up, offending someone, being someone I'm not (any type of oppression goes against my values as well), being 'exposed'. Losing control, in other words.
Something that was suggested to me was, try not to judge it...I know that's difficult...but when the thoughts come, notice them, say, 'Huh, there's that thought again, I wonder what's going on for me', and just let it be. Accept that you're having it. It will lose its power a lot faster than if you beat yourself up for trying to have it and then force it to go away.
Just my two cents. Sorry you're going through this; it's a painful place to be. I wish you all the best. You can come talk to me anytime you want, if the need arises.