Might want to be careful entering into an employment contract if the other party is located in a country your government doesnt legally allow doing business with.
1. You might be able to work for most companies in a country, but that specific company (or type of activity) is sanctioned.
2. You might be ok for a while, but a sanctioned individual buys a stake and suddenly becomes not ok.
3. The employment itself might not be sanctioned, but your bank flags it as suspicious so payments are rejected and you run into other problems.
For what it's worth, you can run a free check on ComplyAdvantage (full disclosure - that's my employer). https://complyadvantage.com/complytry/
All that being said, there are plenty of remote jobs available where this isn't a problem at all.