How do you do this without risking your social value?

I've seen a couple FWB scenarios happen in the past, and they always exploded and went awry. Basically the girls know that if they put out a status saying that the guy fucked them without being in a 'proper' relationship, they can garner the public sympathy of their female friends, the group shaming of the guy, and approximately 17 likes on the FB status mentioning it. And the gossip about their sexual openness stays behind their backs so I guess they either don't mind or don't notice.

I assume this is not the go-to solution a girl has for every problem a girl has with you if she is FWB but it seems pretty damaging to your socials. So how do you mitigate consequences/prevent this from happening?

It's completely impossible to prevent ire from developing in the first place, girls practically survive on emotions so you are bound to run into an emotional rough patch somewhere down the line