Omarchy’s plugin system got a real security fix. On November 24, DHH merged PR #19961 into the quattro branch, “Harden plugin manifest scan framing and fix plugin lifecycle races,” and it’s coming in the next version.
Per Omarchy Central’s write-up of the PR, the plugin registry’s rescan printed each manifest.json body between plain text markers, and nothing stopped a manifest from containing those markers itself. A crafted third-party manifest with a fake first-party header line could claim to be one of Omarchy’s own plugins, grab omarchy.* IDs and inherit trusted capabilities. The PR doesn’t mention any exploitation.
The fix frames each manifest by its exact line count (read with mapfile -t), adds a first-party directory containment check and a NUL-delimited find, and rejects control characters, backslashes and prototype-polluting plugin IDs. The same PR fixes load races in shell.qml so overlapping rescans can’t create duplicate services or hold a revoked API. It landed alongside a wider hardening batch, including removing eval from launchers.
My take
This is classic in-band delimiter injection, the same bug family that’s bitten log parsers and email for decades, and it’s nice to see it caught before the plugin ecosystem really takes off. Until the update lands, only install plugins from people you trust.
God Bless, and Happy hacking!