Ran the quit test plus several lock/unlock cycles. Transition log excerpts
below, from a watcher running as a LaunchAgent so it survives Cursor exiting.
Two findings: the hold outlives the process, and Cursor reclaims it within
seconds of any release.
1. Quitting Cursor does not release the hold
13:42:28 holder=46980 Cursor alive frontmost=Cursor cursor_running=46980
13:56:55 holder=46980 Cursor alive frontmost=Slack cursor_running=46980
13:57:47 holder=46980 Cursor alive frontmost=Slack cursor_running=46980
13:59:47 holder=46980 DEAD-PID DEAD frontmost=WinBox cursor_running=NO
14:14:26 holder=none none n/a frontmost=loginwindow cursor_running=13456
At 13:59:47 I quit Cursor (Cmd+Q) and upgraded to 3.17.19. PID 46980 was
confirmed gone via ps. The hold persisted anyway for 14.7 minutes, naming a
dead PID the entire time, and it did not transfer to the newly launched
instance (13456).
This was not merely a stale ioreg key — input taps stayed genuinely blocked
throughout, verified independently by my Logitech gestures remaining dead
with a freshly launched Cursor.
It cleared only at 14:14:26, on screen lock/unlock. So quit-and-relaunch is
not a usable workaround; lock/unlock remains my only recovery.
2. Cursor reclaims the hold within 3 seconds of being released
14:25:46 holder=none none n/a frontmost=loginwindow cursor_running=13456
14:26:34 holder=13456 Cursor alive frontmost=Cursor cursor_running=13456
...
15:42:26 holder=none none n/a frontmost=Cursor cursor_running=13456
15:42:29 holder=13456 Cursor alive frontmost=Notion Calendar cursor_running=13456
15:42:35 holder=621 loginwindow alive frontmost=loginwindow cursor_running=13456
15:42:45 holder=none none n/a frontmost=loginwindow cursor_running=13456
15:42:48 holder=13456 Cursor alive frontmost=Cursor cursor_running=13456
Freed at 14:25:46, retaken 48 seconds later. Then freed at 15:42:26 and
retaken after 3 seconds, and again at 15:42:45 → 15:42:48, another 3 seconds.
In practice Cursor holds secure event input continuously while I work, and
lock/unlock buys me only seconds before it is reclaimed.
For completeness on attribution: at 15:42:29 Cursor acquired the hold while a
different application was frontmost. Per OpenRadar 48953777, a background
caller of EnableSecureEventInput can be misattributed to whatever is frontmost
— that is not what is happening here. The key names Cursor specifically, even
when Cursor is not the front application.
3. There is no credential involved anywhere — this is the answer to your
earlier question
To answer the masked-field question directly, which I left open last time:
there is no masked field. I am not entering credentials of any kind.
In Cursor specifically: no Git or SCM sign-in, no proxy credential, no SSH
passphrase, no API key entry, no MCP authorization prompt, no sudo in the
integrated terminal, no agent secret. My entire interaction with Cursor is
typing into the agent prompt input field — an ordinary text box — and that is
enough to reproduce this.
Nor am I entering credentials in any other application during these sessions.
There is no password manager unlock, no login prompt, nothing masked anywhere
on the machine.
Combined with the 3-second reclaim above, I think the credential-prompt theory
can be closed out. Nobody types a password every three seconds, and I am not
typing one at all. Whatever calls EnableSecureEventInput here is doing so
during ordinary editing, not in response to a secret being entered.
4. Environment
Cursor 3.17.19 (upgraded mid-session today), macOS 26.5.2 (25F84),
Mac Studio M3 Ultra. Reproduced on 3.14.27, 3.17.8 and 3.17.19.
What would settle this fastest
Mozilla fixed the identical defect — bug 2050794, “macOS Secure Event Input
can be left enabled, locking out other apps (Logitech Options, TextExpander,
1Password)”. Their root cause was a process-global refcount left non-zero when
a focused widget or window is torn down without a preceding resign-key/blur,
via paths that never drained it. They instrumented it by logging the running
refcount on every Enable/DisableSecureEventInput call.
If Cursor can ship or point me at an equivalent debug flag, I will run it and
send you the trace. Given that the hold now demonstrably outlives the process,
is reclaimed within 3 seconds of release, and occurs with no masked field
anywhere in the session, I would expect the leak to sit in window/widget
teardown rather than in password-field focus handling.