The plugin performs a background check and can automatically replace the globally installed package with a newer registry version on first chat message. This is an automatic self-update from the package’s own registry, so it warrants a warning rather than a malicious verdict.
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 event after the OpenCode plugin starts.
Impact
A newer package release is installed and can replace the globally installed CLI and plugin code without a user-requested upgrade.
Mechanism
Checks the latest version at registry.npmjs.org and, when newer, runs npm install -g for this package. The check has an autoUpgrade opt-out.
Evidence
plugins/opencode/index.ts~/.xp-gate/xp-gate-version-check.jsonThe globally installed @boyingliu01/xp-gate package