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.
sim 에디터 프로젝트가 쓴, 에디터 보안에 대한 출처를 밝힌 장문의 글입니다. 지금은 영어와 일본어로 작성되어 있습니다.
이 글들은 아직 이 언어로 번역되지 않았습니다. 영어로 열립니다.
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.