The plugin performs a default, unattended global package upgrade during normal use, with only an opt-out setting. The target is its related package on the official npm registry, so this is a real but not clearly malicious software-update risk.
Static reason
No blocking static signals were detected.
Trigger
The first `chat.message` event after the plugin starts.
Impact
Code from a newer package release can be installed and run through npm without a separate user request.
Mechanism
It queries the npm registry and, when a newer version is available, runs `npm install -g @boyingliu01/xp-gate@<version>`. The only opt-out is an explicit `autoUpgrade: false` setting.
Evidence
index.ts~/.xp-gate/xp-gate-version-check.json~/.xp-gate/xp-gate-version-check.json.tmp~/.xp-gate/config.jsonglobal npm installation of @boyingliu01/xp-gate