The launcher enables a background updater by default, and the updater silently installs a newer global release. This appears to update the package itself, but automatic replacement of the CLI without an explicit request is a meaningful risk.
Static reason
One or more suspicious static signals were detected.
Trigger
Starting the `ocr` command, unless `OCR_NO_UPDATE` is set and subject to the update-check cooldown.
Impact
A newer package release and its binary may be installed automatically, changing the global CLI without the user explicitly requesting an update.
Mechanism
The launcher starts a detached update script, which checks the npm registry and runs a global npm install when it finds a newer version. Installation then downloads the platform binary from the configured GitHub release and verifies its checksum.
Evidence
bin/ocr.jsscripts/update.jsscripts/install.jspackage.json~/.opencodereview/last-update-check~/.opencodereview/update.lock~/.opencodereview/update-availableglobal npm installation of @alibaba-group/open-code-reviewbin/opencodereview