The flagged subprocess is an npm helper for checking and installing this CLI's updates, and its captured output is used as a version string. The API-key references are part of user-selected setup that writes a CodeFlow key into the selected client's local configuration; no transfer to an unrelated host was found.
Static reason
One or more suspicious static signals were detected.
Trigger
Running the CLI starts its interface; configuration writes follow the user's client selection, while updates use the explicit update command or version check.
Impact
No unauthorized credential transfer, command-output exfiltration, or unrelated execution was identified.
Mechanism
The CLI stores the selected CodeFlow key in the chosen client's local configuration. npm output is used to obtain the CLI version for update handling.
Evidence
dist/cli.jsOpenCode local auth.json and configuration files for other supported clients