Sources
- Harden desktop launchers, installers, protocol handlers, and temp files
- review-comment by greptile-apps[bot]
- review-comment by
dhh
- review-comment by greptile-apps[bot]
- review-comment by
dhh
- review-comment by greptile-apps[bot]
- review-comment by
dhh
- issue-comment by
omarchybot
- issue-comment by greptile-apps[bot]
dhh opened omacom/omarchy#19965 at 22:07 UTC, and it was still open when checked. It targets shell injection, path traversal and temp-file races across the desktop CLI helpers. Launchers forward arguments directly instead of using eval. Desktop-entry installers reject traversal names and escape Exec values. The Zoom and HEY protocol handlers validate and encode their input, and fixed /tmp paths are replaced with private temp files.
greptile-apps[bot] found that the change would break the menu example that passes a whole command string to omarchy-launch-or-focus-tui (omacom/omarchy#19965:discussion_r4672713339). dhh added a quote-aware splitter that does not use eval, along with tests (omacom/omarchy#19965:discussion_r4672887837). He also made icon downloads replace an installed icon only after the new one validates (omacom/omarchy#19965:discussion_r4672713350, omacom/omarchy#19965:discussion_r4672888131). Another finding was that overlapping omarchy-debug runs could share one report.
dhh's fix keeps each run on its own private file and publishes a separate copy at the documented path (omacom/omarchy#19965:discussion_r4672915454, omacom/omarchy#19965:discussion_r4672928933). Greptile's summary, last edited at 22:36, rates the latest head safe to merge (omacom/omarchy#19965:issuecomment-7115445117).
omarchybot reported that its model reviewers split on whether the change is a bug fix or an enhancement. It ran no worker tests and is waiting on the maintainer to settle the classification (omacom/omarchy#19965:issuecomment-7115568903).
