The package’s postinstall can initiate onboarding during a global install, and successful authorization leads to background startup that attempts Windows desktop integration and login autostart. The user must confirm device binding, and the code does not show credential theft or unrelated account actions; the automatic persistence warrants a warning.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
Global npm install or update with lifecycle scripts enabled, followed by browser login and explicit device authorization.
Impact
The package may persist across logins and alter the Windows Codex CLI launcher setting without a separate explicit request for those setup actions. No credential theft or unrelated account action was identified.
Mechanism
The postinstall hook launches a detached onboarding process. Once authorized, the default background startup attempts to install desktop integration and enable login autostart on Windows.
Evidence
package.jsonscripts/postinstall.mjslib/onboarding.mjscli.mjslib/desktop-integration.mjslib/autostart.mjs