The plugin can automatically update the publisher's global XP-Gate CLI on its default chat-start path, with only a configuration opt-out. The inspected code sends no user data, so this is suspicious rather than malicious.
Static reason
No blocking static signals were detected.
Trigger
The first chat.message after plugin initialization, when a global XP-Gate CLI is installed and outdated.
Impact
The global CLI is updated from downloaded package content; the package's contents and any resulting install-time behavior were not inspected.
Mechanism
It checks the npm registry's latest tag and runs npm install -g for the publisher's XP-Gate package unless autoUpgrade:false is set in ~/.xp-gate/config.json.
Evidence
index.ts~/.xp-gate/xp-gate-version-check.json~/.xp-gate/opencode-plugin-version-check.json~/.xp-gate/upgrade-notice.jsonglobal @boyingliu01/xp-gate installation
Network endpoints2
registry.npmjs.org/-/package/@boyingliu01/xp-gate/dist-tags