on thin ice

Upper Intermediate (B2) informal

In a dangerous situation where you must be very careful.

"After being late three times, he knew he was on thin ice with his boss."