If your boss is demanding something irrational or dangerous, normalize pulling out your phone and typing down exactly what the say, while they are saying it.
If they ask, “What are you doing?”, just reply. “Oh I want to be accurate for my glassdoor review”. If you're feeling extra spiteful ask them to restate their request so you can get their words recorded accurately.