The plugin silently updates its related global CLI on a default startup path, with only an opt-out setting, so users may receive new executable code without requesting an update. The update serves the plugin’s stated purpose and uses npm metadata, so this warrants a warning rather than a malicious verdict.
Static reason
No blocking static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
On the first chat.message handled by the plugin.
Impact
A normal plugin session can replace the globally installed CLI with newly downloaded code without an explicit update request.
Mechanism
It checks npm for a newer CLI version and, by default, spawns `npm install -g` for that version; an explicit config setting disables this behavior.
Evidence
index.ts~/.xp-gate/xp-gate-version-check.json~/.xp-gate/opencode-plugin-version-check.json~/.xp-gate/upgrade-notice.json