Gotcha. Yeah I can see how it can mimic OS windows while a browser couldn’t.
In that case, after thinking about it some more, I’d say go with Riven’s idea of a coffee cup, and the as short a text as possible in the tooltip. Maybe just “Untrusted window [more info]”.
I say use the coffee cup icon because JS alert dialogs show the browser’s icon instead of a warning icon.