THE ATTACKS THAT STILL WORK TODAY

The command you copy is not the command you run.

The worst terminal attack needs no hostile file - only your habit of copying a command from a web page. Try it below, then read the deception and clipboard classes that still work on a stock, up-to-date terminal today. Every one links a proof in the terminal-poc-corpus. For the side-by-side terminal verdicts, see the comparison.

Live demo: pastejacking

Here is a command a site might offer you. It reads echo "test". Copy it, then reveal what actually landed on your clipboard - here, or by pasting it into output-lies' x-ray tool. It is perfectly safe to run: every part is just echo.

echo "test"

You saw echo "test". Your clipboard held a whole second command chained on with && - echo "you did not expect this additional echo: unexpected code execution" - kept to a single line on purpose. Paste multiple lines and several terminals warn you: we tested it, and xfce4-terminal pops a "Warning: Potentially Unsafe Paste" dialog (its default, triggered by a newline in the paste), while qterminal offers a multiline-paste confirmation that is off by default. One line joined by && trips neither - it slips in silently and runs the moment you press Enter on a line you thought said only echo "test" (go ahead and run it - both halves are just echo). The page only ever shows echo "test"; the Copy button's JavaScript quietly writes the longer command to your clipboard instead, and slips a zero-width character in right at the && seam - it draws nothing, so a normal terminal shows no sign it is there. Real classes, not hypotheticals: this is pastejacking, and the same paste channel carries bracketed-paste bypass and Trojan Source tricks.

secure-terminal strips the smuggling. A paste carrying any invisible, control or bidi character is caught before it reaches your shell: secure-terminal names exactly what is hidden in it ("1 invisible character") and lets you drop it to plain ASCII or cancel - so nothing rides along unseen and the text you are about to run is fully visible to read first. It cannot judge a visible command for you - no terminal can, and a plain ASCII paste still submits; that is the opt-in hook's job - but it guarantees there is nothing hidden inside the paste. The corpus's adversarial harness feeds every one of these payloads to secure-terminal and asserts it neutralises each one.

And what still bites your terminal today

The paste above is one vector. These deception and clipboard classes still work on a stock, up-to-date terminal today - each links a proof in the corpus, and the comparison matrix shows the per-terminal verdict.

Still-applicable issueWhat it doesReach
Trojan Source (bidi override) - CVE-2021-42574Bidirectional control characters reorder how a line renders, so the code you read is not the code that runs. Shown live in the combined board.Any bidi-aware renderer - code hosts, editors, and terminals that implement bidi.
Homoglyph look-alikesNon-ASCII characters identical in shape to ASCII (Cyrillic a, Greek o) make a fake command or URL read as legitimate.Universal.
Invisible / zero-width charactersZero-width and other invisibles draw nothing, so a command or a paste can carry hidden bytes you never see (the demo above), and boxed in the combined board.Universal.
Clipboard hijack (OSC 52)A viewed file or a program's output silently overwrites your clipboard, so your next paste inserts attacker text.Terminal-dependent - we measured it: konsole, alacritty and kitty write it by default; xterm/urxvt/st and VTE (gnome/xfce4/mate) refuse; secure-terminal refuses too.
Title / tab hijack (OSC 0/2)Any output renames your window or tab to anything - a fake "production" label, a spoofed context.Most terminals - shown live in the combined board (konsole and kitty are partial exceptions).

secure-terminal closes all five by design: non-ASCII becomes an inert, risk-coloured box (or a revealed <U+XXXX>), the clipboard is never written from output, and the title is never touched - proven against each payload by the corpus's adversarial harness.