The plugin performs a default background global update of its companion CLI, with only an opt-out configuration setting. The update uses the related package's npm registry and does not show data theft or unrelated code execution, so this warrants a warning rather than a malicious verdict.
Static reason
No blocking static signals were detected.
Trigger
The first chat.message event after the plugin starts, when xp-gate is already installed globally and a newer version is available.
Impact
This can replace the user's global CLI and run the installed package's code without an explicit update request.
Mechanism
The plugin checks npm registry version metadata, then runs npm install -g for @boyingliu01/xp-gate unless ~/.xp-gate/config.json sets autoUpgrade to false.
Evidence
index.tsREADME.md~/.xp-gate/config.json~/.xp-gate/xp-gate-version-check.json$(npm root -g)/@boyingliu01/xp-gate
Network endpoints1
registry.npmjs.org/-/package/%40boyingliu01%2Fxp-gate/dist-tags