The package automatically installs a persistent, first-party OpenCode integration from its npm postinstall without a separate installer confirmation. The integration is aligned with the package’s purpose, so the source supports a warning for lifecycle extension risk rather than a concrete malicious attack.
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 novahiz with npm when its postinstall hook runs.
Impact
OpenCode loads the added integration in later sessions, where it can alter tool-call behavior by denying selected calls.
Mechanism
The hook starts a detached installer that waits for npm to finish, then copies the package’s OpenCode plugin into the OpenCode plugins directory and installs related agent files.
Evidence
package.jsoninstall/install.mjsinstall/lib.mjsadapters/opencode/novahiz-plugin.ts