The plugin has no install hook, but it silently auto-updates its related global CLI on the first chat message unless the user has set an opt-out. That unrequested global install is a meaningful capability risk, so this version should be warned on rather than blocked.
Static reason
No blocking static signals were detected.
Trigger
The first chat.message event, when XP-Gate is installed, a newer version is available, and autoUpgrade has not been disabled.
Impact
The update runs without a per-update user request and may execute the installed package’s lifecycle code or change the global CLI.
Mechanism
It checks the npm registry and runs npm install -g @boyingliu01/xp-gate@<version>.
Evidence
index.tspackage.json~/.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 endpoints2
registry.npmjs.org/-/package/${encodeURIComponent(XP_GATE_NPM_PKG)}/dist-tags