Correct option is B
The correct replacement for the highlighted part is
(b) being in a risky situation.
Skating on thin ice: It means to be in a dangerous or risky situation where failure or trouble is likely.
Skating on thin ice in Hindi: खतरनाक स्थिति में होना।
Example: You are skating on thin ice if you continue to miss deadlines at work.