The package silently replaces its global installation when a newer version is available, triggered by ordinary CLI startup. This is an unrequested automatic action worth warning users about; the reviewed installer otherwise downloads the CLI binary and verifies its checksum.
Static reason
One or more suspicious static signals were detected.
Trigger
Running the CLI when its update-check cooldown has elapsed; disabled with OCR_NO_UPDATE.
Impact
The installed global package can be replaced automatically, and the new package’s install behavior can run without a separate update request.
Mechanism
The launcher starts a detached checker, which compares the installed binary version with the latest npm release and runs npm install -g if a newer version exists.
Evidence
bin/ocr.jsscripts/update.js~/.opencodereview/last-update-check~/.opencodereview/update.lock~/.opencodereview/update-availableglobal npm package installation
Network endpoints2
registry.npmjs.org/alibaba/open-code-review/releases