The plugin performs a global package update automatically on a default startup path, with only a config opt-out. The target is its associated product and no theft or unrelated behavior is evident, but the updated release and any install-time behavior are not inspectable here; warn about this automatic update capability.
Static reason
No blocking static signals were detected.
Trigger
The first chat.message event after the plugin starts, if XP-Gate is installed globally, is outdated, and auto-upgrade has not been disabled.
Impact
This can replace the globally installed CLI without a prior user request; any install-time behavior in the downloaded release is outside the reviewed source.
Mechanism
The plugin checks the npm registry for the latest version and runs npm install -g for that version. The package source does not include the updated XP-Gate code for inspection.
Evidence
index.tspackage.json~/.xp-gate/xp-gate-version-check.json~/.xp-gate/xp-gate-version-check.json.tmpglobal npm installation of @boyingliu01/xp-gate