Skip to content
Opensource internals
  • Posts

Security

tmux Sanitises Window Names Against Injection

Oct 2, 2026 8 min read Jay Hubbert

clean_name() is tmux’s one defence against name-based injection, and it works by encoding rather than filtering: it stores names in a form where the dangerous characters…

TmuxSecurityInternalsSanitisation

Read more →

tmux Control Mode Is an Unauthenticated Command Channel

Sep 19, 2026 8 min read Jay Hubbert

tmux -C gives you a scriptable protocol with zero authentication — anything that can open the socket can run run-shell.

TmuxSecurityControl modeInternals

Read more →

tmux Secures its UNIX Socket

Aug 4, 2026 9 min read Jay Hubbert

There is no password, no token, no challenge-response in tmux.

TmuxSecurityInternalsUnix

Read more →

tmux Format Expansion Runs Shell Commands: A Template Language With a Footgun

Jul 27, 2026 7 min read Jay Hubbert

tmux formats are code, and they execute where they’re expanded.

TmuxSecurityInternalsFormats

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·