The postinstall hook automatically installs optional third-party image-preview tools through system package managers, including non-interactive installation paths. The action serves a named feature and is announced by the installer, but it still makes system-level changes without an explicit user request, so this is a dangerous capability that warrants blocking.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
npm postinstall, after the main binary is installed; the bin launchers can also invoke install.js when the binary is missing.
Mechanism
ensureAux runs chafa and ueberzugpp setup by default. If those tools are absent, the installer attempts non-interactive installation through available system package managers.
Attack narrative
On postinstall, the package automatically attempts to install optional image-preview tools such as chafa and ueberzugpp through the host's package managers. This can make system-level changes and run those packages' install scripts without an explicit user command.
Evidence
package.jsoninstall.jsREADME.mdbin/os.tmpdir()/dx-chafa.zipos.tmpdir()/dx-video-player.zip~/Dx/bin/dx-tui~/Library/Application Support/DX/Video/