[Bug] IDE detection uses unanchored substring matching on ps aux output
Open 💬 0 comments Opened Jun 19, 2026 by StFS
Bug Description
/ide mis-detects phantom IDEs via unanchored substring match on ps aux.
v2.1.183, macOS. It reports "Installed plugin to AppCode" but AppCode isn't
installed (discontinued 2022) and no plugin is actually written. Cause: the
detection regex substring-matches IDE names against the full command line.
"AppCode" matches Spotify's Chromium flag MacAppCodeSignClone; "Aqua" matches
the macOS process UserEventAgent (Aqua). Repro: ps aux | grep -v grep |. Fix: anchor on executable path/basename or bundle id,
grep -oE "AppCode|Aqua"
not a substring of the whole command line.
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.183
- Feedback ID: 59e157cd-291c-4fcd-9048-2934a018144e
Errors
[]