I would like to ask you whether working in a company where the CEO is under sanctions can affect common developer? Or in case the company itself is under sanctions. For example, in the future, a resume might be screened out at the screening stage.
If you have knowledge of or participate in something you know to be illegal that makes the news, that may come back on you.