The global-install hook automatically installs the package's own agent skill and OpenCode plugin, which meets the warning criterion for agent-extension lifecycle risk. The inspected changes serve the package's messaging feature, and I found no evidence of permission weakening, unrelated extensions, or data exfiltration.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Package postinstall on a global, non-CI install unless DIA_NO_POSTINSTALL=1; the bundled CLI postinstall command can also be run explicitly.
Impact
The package changes agent extension directories during installation, creating an agent-extension lifecycle risk; no broader agent control changes were identified.
Mechanism
The lifecycle script invokes the CLI, whose forced kit installation links dia-msg into agent skill directories and installs its inbox plugin.
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