Make a communist villain/antagonist, but make him/her/them have many good points and have a good amount of sympathetic traits that even the in-universe heroes/protagonists even concede that they have good points, also try not to make said character do a “randomly blows up a hospital for no reason to remind everyone their a villain/antagonist” trope because that’s dumb, just for a bit of a challenge. Also, you can make them like a reflection/allegory of communists as a whole without the demonization capitalist propaganda likes to do.
But for real, if you read any fiction where politics and/or society is involved, it is never aimed at progress, it’s always always just “something is getting fucked up (always outside context or dastardly progressive traitors) and we need to fix it”. Then after entire thing is over the setting is left basically the same as previously, but worse since loss of life, destruction etc.
Literally description of crisis in capitalism and conditioning people to think it is normal to lower their expectations every time capitalism had a failure spike.
Indeed, can’t help but wonder how intentional that is. IIRC it’s called capitalist realism?