dangerously close

Translations
dangereusement près
Definitions
In a situation where someone or something is at a high risk of harm or negative consequences, often implying that the proximity to danger is very near or critical.