Skating on thin ice means that you are in a risky or dangerous situation.
This idiom can also be used as:
- Walking on thin ice.
- Treading on thin ice.
- On thin ice.
The risky element comes from the possibility of falling through the ice into icy water, and a high likelihood of perishing.