The postinstall can install a first-party OpenCode plugin that hooks tool execution, so residual agent extension lifecycle risk remains. The inspected behavior supports a warning, not a finding of concrete malicious activity.
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 on a system where OpenCode is selected or detected by the installer.
Impact
The plugin can gate or deny OpenCode tool calls after installation.
Mechanism
The postinstall invokes the installer in automatic core mode; its deferred phase copies the plugin into OpenCode’s plugin directory, where OpenCode loads it.
Evidence
package.jsoninstall/install.mjsadapters/opencode/novahiz-plugin.ts