Please don't open a public issue for a security problem.
Report it at Security → Report a vulnerability, which is private. Expect a reply within a day.
Worth knowing when judging whether something is a security problem:
- It reads executable names and process metrics with
ps, working directories withlsof, and asks Ghostty for tab names and folder paths through macOS Automation. It never changes Ghostty or the observed programs. Timed-out query commands are stopped, including descendants in their own process group. - It saves history to
~/Library/Application Support/ghostty-top/. That stays on your Mac. Nothing is ever uploaded. - It deliberately does not save what you type, what your terminal prints, environment variables, or command arguments, because those often contain passwords and API keys. It keeps program names and paths only.
A change that starts recording any of those, or that sends anything off the machine, is a security problem, not a feature.