The global-install hook automatically adds the package's own skill and plugin to agent directories, an agent extension lifecycle risk. The hook is gated and the reviewed setup uses bundled local files, so this warrants a warning rather than a publish block.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
npm postinstall on a global, non-CI install, unless DIA_NO_POSTINSTALL=1.
Impact
Agent tooling is modified and the skill's session instructions become available automatically; this matches the warning-only agent extension lifecycle risk.
Mechanism
The hook invokes the CLI's postinstall command, which force-installs the bundled dia-msg kit and links its skill and plugin into agent directories.
Evidence
package.jsonscripts/postinstall.mjsbin/dia.jsdist/cli.jskits/dia-msg/dia.jsonkits/dia-msg/skills/dia-msg/SKILL.md~/.config/opencode/skill/dia-msg~/.agents/skills/dia-msg~/.dsh/skills/dia-msg~/.config/opencode/plugins/dia-inbox/server.ts