Be / skate on thin ice
Meaning: to be doing something that is dangerous or involves risks, to be in a risky situation
Example: He's skating on thin ice by lying to the police. I try to stay well informed so I don't end up skating on thin ice when the teacher asks me a question. You are skating on thin ice when you ask me that!
Example: He's skating on thin ice by lying to the police. I try to stay well informed so I don't end up skating on thin ice when the teacher asks me a question. You are skating on thin ice when you ask me that!