The default first-message path can install and execute a later version of the publisher’s related XP-Gate package globally, with only an opt-out setting. The target and registry match the plugin’s stated purpose, so this is a warning about an automatic update capability rather than evidence of malicious code.
Static reason
No blocking static signals were detected.; source matched previously finalized malicious package; routed for review; source fingerprint signature matched known malicious package; routed for review
Trigger
The first chat.message event after the OpenCode plugin is loaded.
Impact
A publisher-controlled package update can execute with the user’s account privileges without a separate update request.
Mechanism
It checks the npm registry for the latest XP-Gate version and, unless autoUpgrade is set to false, runs npm install -g for that version when the installed copy is outdated.
Evidence
index.ts~/.xp-gate/xp-gate-version-check.json~/.xp-gate/config.json