The postinstall hook configures a dedicated dsh-opentui profile on global installs and runs a package-manager install as part of that setup. The changes appear limited to this package's own profile, so this warrants a warning for install-time extension setup rather than a malicious verdict.
Static reason
One or more suspicious static signals were detected.
Trigger
The npm postinstall hook runs when the package is installed globally.
Impact
Installation changes agent profile files and installs profile dependencies without a separate user command; the setup is confined to this package's dedicated profile.
Mechanism
It creates or updates ~/.dsh/profiles/dsh-opentui, configures a default model and plugin, then runs pnpm install (or downloads pnpm through npx).
Evidence
package.jsonscripts/postinstall.mjsscripts/install-profile.mjs$DSH_HOME/profiles/dsh-opentui/package.json$DSH_HOME/profiles/dsh-opentui/cordis.yml$DSH_HOME/profiles/dsh-opentui/pnpm-workspace.yaml$DSH_HOME/profiles/dsh-opentui/cordis.patch.yml$DSH_HOME/profiles/dsh-opentui/node_modules/solid-js/package.json