The plugin automatically installs newer versions of its related CLI globally on the first chat message, with only an opt-out and no disclosure in the README. This is a real user-visible software-change risk, but the update comes from the official npm registry and serves the package's stated purpose.
Static reason
No blocking static signals were detected.
Trigger
The first chat.message after plugin startup, when a newer XP-Gate version is available and autoUpgrade is not false.
Impact
Changes the user's global CLI installation and may install and run package lifecycle scripts; the behavior is related to the plugin's purpose but is automatic and requires opting out.
Mechanism
Checks the npm registry and runs npm install -g @boyingliu01/xp-gate@<latest-version> without an explicit update request.
Evidence
index.ts~/.xp-gate/xp-gate-version-check.json~/.xp-gate/opencode-plugin-version-check.json~/.xp-gate/upgrade-notice.jsonGlobal npm installation of @boyingliu01/xp-gate
Network endpoints1
registry.npmjs.org/-/package/@boyingliu01%2Fxp-gate/dist-tags