The OpenCode plugin performs a global self-update on first chat use without prompting, unless the user has configured an opt-out. The update comes from the package's own npm release, so this is a warning about an unexpected automatic update rather than a clear malicious attack.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
On the first chat.message handled by the OpenCode plugin, when a newer version is found and autoUpgrade is not false.
Impact
Replaces the user's global xp-gate installation with the registry version; this is an automatic code update that users may not expect.
Mechanism
Checks the npm registry and runs npm install -g @boyingliu01/xp-gate@<version> without prompting.
Evidence
plugins/opencode/index.tspackage.json~/.xp-gate/xp-gate-version-check.json~/.xp-gate/opencode-plugin-version-check.jsonglobal npm installation of @boyingliu01/xp-gate