The global-install hook automatically installs the package's own agent skill and plugin into user agent directories, which is an agent extension lifecycle risk. The behavior is scoped to the package's bundled extension, so it warrants a warning rather than a block.
Static reason
One or more suspicious static signals were detected.
Trigger
npm postinstall on a global install outside CI, unless DIA_NO_POSTINSTALL=1 is set.
Impact
Adds the package's own agent extension to supported agent environments without a separate explicit setup command.
Mechanism
The hook runs dia postinstall, which forces installation of the dia-msg kit and creates links or a plugin file in user agent directories.
Evidence
package.jsonscripts/postinstall.mjsdist/cli.jskits/dia-msg/dia.json~/.config/opencode/skill/dia-msg~/.agents/skills/dia-msg~/.dsh/skills/dia-msg~/.config/opencode/plugins/dia-inbox/server.ts