The plugin performs a default-path global install of a newer xp-gate release, with only a config opt-out, and the release source is unavailable here. Because the updater is explicit and targets the related CLI from the publisher's npm registry, this is a warning for an uninspectable staged payload rather than a confirmed attack.
Static reason
No blocking static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
On the first chat.message event after plugin startup, if xp-gate is globally installed, a newer version is available, and autoUpgrade is not explicitly false.
Impact
Replaces the global CLI with code absent from this package snapshot; npm may also run lifecycle scripts from the downloaded release.
Mechanism
Fetches the latest version from registry.npmjs.org and invokes npm install -g for that version without asking the user.
Evidence
index.tspackage.json~/.xp-gate/xp-gate-version-check.json