來源
- 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 於 UTC 22:07 開啟 omacom/omarchy#19965,截至查核時仍未合併。這項變更針對桌面 CLI 輔助工具中的 shell 注入、路徑穿越與暫存檔競態問題。啟動器改為直接轉送參數,不再使用 eval。桌面項目安裝程式會拒絕含路徑穿越的名稱,並對 Exec 值進行跳脫處理。Zoom 與 HEY 協定處理程式會驗證並編碼輸入內容,原本固定的 /tmp 路徑也改用私有暫存檔。
greptile-apps[bot] 發現,這項變更會讓選單中將整串指令傳給 omarchy-launch-or-focus-tui 的範例失效(omacom/omarchy#19965:discussion_r4672713339)。dhh 因此加入一個能辨識引號、且不使用 eval 的切分器,並附上測試(omacom/omarchy#19965:discussion_r4672887837)。他也讓圖示下載必須在新圖示通過驗證後,才會取代已安裝的圖示(omacom/omarchy#19965:discussion_r4672713350、omacom/omarchy#19965:discussion_r4672888131)。另一項發現是,同時執行多個 omarchy-debug 時可能共用同一份報告。
dhh 的修正讓每次執行各自使用私有檔案,再另外發布一份副本到文件所記載的路徑(omacom/omarchy#19965:discussion_r4672915454、omacom/omarchy#19965:discussion_r4672928933)。Greptile 最後一次於 22:36 編輯的摘要,將最新的 head 評為可安全合併(omacom/omarchy#19965:issuecomment-7115445117)。
omarchybot 回報,其模型審查者對這項變更應歸類為錯誤修正還是功能強化意見分歧。它沒有執行任何 worker 測試,正等待維護者決定分類(omacom/omarchy#19965:issuecomment-7115568903)。
