The plugin silently performs a global install of its companion CLI on the default first-message path when an update is available. Because this is related vendor software and an opt-out exists, this is a warning-level risk rather than evidence of a malicious attack.
Static reason
No blocking static signals were detected.
Trigger
The first `chat.message` after plugin setup, when the global XP-Gate CLI is outdated and automatic upgrades have not been disabled in config.
Impact
Installs executable code globally without an explicit update request; the installed release’s contents are not part of this package snapshot.
Mechanism
Fetches the latest version from npm and invokes `npm install -g @boyingliu01/xp-gate@<version>` with a shell.
Evidence
index.ts~/.xp-gate/xp-gate-version-check.jsonglobal npm installation of @boyingliu01/xp-gate
Network endpoints1
registry.npmjs.org/-/package/@boyingliu01/xp-gate/dist-tags