It makes me scared to be an iTerm2 user, frankly. Because I am an idiot, it never occurred to me that I'd have to wonder about the security implications of my choice of terminal emulator. Does it otherwise have a good reputation for security?
I cringe just thinking about implementing something like that.
n.b. for me, in iTerm2, I have to press cmd to make the links highlight before I can click on them - so there's little danger of accidentally opening something you didn't want to.
Doing any DNS before clicking on the links seems like overkill, though. My browser can tell me if the URL is garbage or not.
~ dig somerandomurlimadeup.com | grep 'Query time: '
;; Query time: 23 msecI'm not saying that this is the case universally, but for many the typical lookup time will be very fast.