The automatic postinstall installs and configures a first-party OpenCode extension without a separate setup action, which warrants a warning under the agent extension lifecycle policy. Inspection did not establish credential theft, destructive behavior, or another concrete attack that would support blocking publication.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
Installing the package with npm, which runs its postinstall hook.
Impact
A package install can add Novahiz extensions and generated settings to the user’s OpenCode profile without a separate setup command.
Mechanism
The hook invokes the installer with confirmation bypassed and core mode enabled; the installer defers OpenCode writes until npm exits, then installs the package-owned integration.
Evidence
package.jsoninstall/install.mjsinstall/lib.mjsadapters/opencode/novahiz-plugin.tsOpenCode configDir/plugins/novahiz-plugin.tsOpenCode configDir/agent/novahiz.mdOpenCode configDir/opencode.jsonc