Hidden and bidirectional characters in editors
A right-to-left override can make code read one way and run another. How Vim, Neovim, Helix and sim draw U+202E and other hidden characters.
Des articles de fond, sourcés, sur la sécurité des éditeurs, par le projet sim editor. Ils sont pour l’instant rédigés en anglais et en japonais.
Ces articles ne sont pas encore traduits dans cette langue. Ils s’ouvrent en anglais.
A right-to-left override can make code read one way and run another. How Vim, Neovim, Helix and sim draw U+202E and other hidden characters.
Opening a repository should not run it. Six ways a repo can run code through an editor, what Vim, Neovim and Helix do about each, and what sim refuses.
How sim saves a file so nothing is lost: atomic writes, a compare-and-swap against outside changes, snapshots after a crash, and what it means for secrets.