This is not clearly malicious: the install hook is limited to global installs and sets up the package’s own dsh profile. Because it automatically writes profile configuration and runs a package install, it presents an agent extension lifecycle risk and merits a warning.
Static reason
One or more suspicious static signals were detected.
Trigger
npm install -g, which runs the postinstall hook.
Impact
This changes dsh profile settings and installs dependencies without a separate setup command; the behavior is limited to the package’s own profile setup.
Mechanism
The hook invokes scripts/install-profile.mjs, which writes profile configuration with a provider and default model, then runs pnpm install or npx pnpm.
Evidence
package.jsonscripts/postinstall.mjsscripts/install-profile.mjs~/.dsh/profiles/dsh-opentui/package.json~/.dsh/profiles/dsh-opentui/cordis.yml~/.dsh/profiles/dsh-opentui/cordis.patch.yml~/.dsh/profiles/dsh-opentui/pnpm-workspace.yaml~/.dsh/profiles/dsh-opentui/node_modules/solid-js/package.json