The OpenCode plugin performs a default background global update from npm, with only an opt-out setting and no per-update confirmation. Because it fetches this package from its own registry rather than an unrelated source, this is a warning-level staged payload risk, not a block-level attack.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
The first chat.message event after the OpenCode plugin starts.
Impact
A remote package release is installed globally and can run in subsequent CLI use; the user is notified after the update.
Mechanism
Checks npm for the latest package version and runs npm install -g for that version unless autoUpgrade is set to false.
Evidence
plugins/opencode/index.ts~/.xp-gate/xp-gate-version-check.jsonglobal npm installation of @boyingliu01/xp-gate
Network endpoints1
registry.npmjs.org/-/package/%40boyingliu01%2Fxp-gate/dist-tags