Source inspection confirms automatic first-party OpenCode plugin setup through the npm postinstall path, with a hook that can affect agent tool calls. This warrants a warning for agent-extension lifecycle risk, but the inspected source does not establish a concrete malicious attack.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
Installing the package with npm triggers postinstall; the installer’s deferred phase applies OpenCode configuration after npm exits.
Impact
The package gains an automatically installed extension point that can affect agent tool use without a separate affirmative setup command.
Mechanism
The installer copies the package’s OpenCode plugin into the harness plugin directory, where OpenCode loads plugins automatically. The plugin hooks tool execution and may deny calls.
Evidence
package.jsoninstall/install.mjsadapters/opencode/novahiz-plugin.tssrc/commands/second-memory.tsdist/commands/second-memory.js