You simply add another 'reviewer' layer that does a clarification task on the input and response to detect it.
The problem is this over doubles the cost of implementation to prevent something no one actually cares about fixing for a chatbot.
"Oh no, the user got it to say silly things to themselves."
This isn't impacting other people's experiences or any critical infrastructure.
And in any applications that do, quality analysis by another GPT-4 layer will be incredibly robust, halting malicious behavior in its tracks without sophisticated reflection techniques that I'm skeptical could successfully both trick the responding AI to answer but evade the classifying AI in detecting it.