Closed ibash closed 2 years ago
On macOS 10.15 and later, an app needs accessibility permission to read window titles.
Yep, I noticed this via my time tracking app, so the issue title makes it seem worse than it is (since I've explicitly given permission to that app).
I know this has been open for a while, but I kinda don't see the point being made. Yes, the entire command is visible in the window title, but passwords should not be passed as command line parameters anyway since other programs such as ps and top can see all arguments of any process, even without sudo or a suid binary.
Am I missing something, or should this be closed?
A good solution might be don't paste passwords into commands :p
This is the solution.
General information
System report (output of
prompt_pure_system_report
):Problem description
Pure sets the current command as the window title, but if you ever type a password in plain text (e.g. paste in a psql command) that password is now set into the title. Any app can then read that.
Reproduction steps
My
.zshrc
:Mostly wanted to open this issue up for discussion on what a good solution is. A good solution might be don't paste passwords into commands :p