The CLI automatically stages updates from its own npm scope on ordinary command paths, which meets the warning-only self-update rule. Its documented off-switch, archive validation, and integrity checks weigh against treating this as malicious.
Static reason
No blocking static signals were detected.
Trigger
A normal CLI command schedules an update check when no plugin hook is active; checks occur opportunistically every 3–6 hours unless disabled.
Impact
A newer publisher release can replace the CLI code used on a subsequent invocation; OPENCRAWL_NO_UPDATE=1 disables automatic updates.
Mechanism
Fetches the latest release metadata and CLI/platform packages from the npm registry, verifies archive integrity and contents, and stores the release for a later invocation.
Evidence
runtime/opencrawl.js<XDG_CACHE_HOME>/opencrawl/update.json<XDG_CACHE_HOME>/opencrawl/releases/<version>/
Network endpoints3
registry.npmjs.orgraw.githubusercontent.comgithub.com