ver las orejas al lobo

Etymology
lit. 'see the ears of the wolf'.

Verb

 * 1)  to see the danger; to hear alarm bells ringing