A controversial opinion. Brace yourself
Before I name drop the social mechanism in play here, I will explain it, and hopefully inoculate the reader so they don't immediately jump to conclusions.
The Ukraine conflict is frightening. Civilians are dying. It could end in nuclear war. Just about everybody is being gradually traumatised by this, even if they are nowhere near the conflict. When identifiable groups come into violent conflict, a rather nasty social mechanism starts to emerge - what's worse, its intentional. People who know you are not the enemy will behave as if they believe you are, because of this mechanism.
Within any group of people you will find a tiny number genuinely believe you are the enemy. However, for this bullying to become more pervasive throughout the entire group, including people who know you aren't the enemy, a particular social mechanism is being utilised.
The behaviour I am talking about has probably been around since the dawn of humanity but has become coined as a political term recently. Until around 10 years ago, this term didn't exist, although various similar phenomenon were known to anthropologists. It also relates to signal theory, which is an interesting concept in evolutionary biology which explains why venomous insects are a certain colour even when it is relatively expensive to maintain that colouring, and why a small number of insects copy those colours, but only ever a few species at a time.
Those who recognise this mechanism for what it is, (and not what it has become associated with in the last decade or so) but are still doing things that are obviously nonsensical, are doing it because they "get it".
What are you talking about?
A good number of the people who are leaving you racist messages are not racist, don't think you are the enemy, and don't necessarily care about Ukraine. They are virtue signalling.
A few keyboard warriors are now cracking their knuckles and preparing to accuse me of being a member of some "out group" or other. Partly so they can virtue signal their membership of some "in group". Save your keystrokes for something that helps somebody. I don't care what you think, I just want to help the OP.
Right now, you are being implicitly accused of being a member of the "out group". Bullying an outsider is the perfect way to demonstrate loyalty. It doesn't matter if less than 10% of the group doing this genuinely mistook you for an enemy - you're the best target they can find.
What should I do?
You can't change the minds of the idiots who think your name automatically makes you the enemy. But you can join the in group. Doing this explicitly will of course provide another way for people to target you - by accusing you of being insincere. Instead, you have to do it back.
A carefully measured blow-up is one way you can do that. Next time you find notes or the such on your desk, angrily screw it up and throw in in the waste paper basket, and exclaim that you are not associated with that <insert insult that won't get you fired> mass murderer <insert name of person you're being associated with>.
Yes. It's cynical. But the people bullying you are also cynical, except for the 10% whose minds you probably can't change.