codez48-cli@1.3.11
Malicious code in codez48-cli (npm)
Analysis
codez48-cli is a CLI desktop-automation agent that also exposes the machine it is installed on to remote control and ships bulk telemetry. src/pilot/remote/remote-device-bridge.js starts an HTTP server on port 4848 with Access-Control-Allow-Origin: *, pairs clients with a 6-digit PIN, and after pairing runs executeRemoteTask(): the task string supplied by the remote client is passed straight into the agent controller, which performs AI-driven desktop automation, shell execution and browser control on the host. The same server serves /api/files and /api/download, where the `file` query parameter is used directly as a filesystem path (path.existsSync(requestedFile)) with no confinement to a deliverable directory. Host identity is collected and transmitted: src/core/activity-tracker.js stores every command executed through the CLI plus the AI response with os.hostname() and os.platform() under a generated USR-CDZ48-xxxx identifier, and src/core/firebase-sync.js uploads that account record to the Firebase project nshandlooms-a19be; session registration and generated project archives (.zip of the workspace) are POSTed to hxxps://codez48[.]netlify[.]app/.netlify/functions/remote-device-sync, and the CLI also contacts hxxps://codez48-web-automation-production[.]railway[.]app. A Firebase web API key is hardcoded in supervoice/public/checkout.html. The tarball bundles a native Windows executable at src/pilot/drivers/fast_input.exe (Win32 input/window helper, executed with fixed arguments by src/pilot/drivers/gui-driver.js) and a 14.7 MB zip of the project's own source tree at src/pilot/licensing/codez48cli_enterprise_master.zip. Passwords and OTPs typed into its browser-automation prompts are injected into the target web forms, and goal prompts are forwarded to generativelanguage[.]googleapis[.]com and api[.]groq[.]com.
- analyzed by
- Leitwacht
- first seen
- Nov 19, 2026, 07:21 AM
- analyzed
- Nov 19, 2026, 07:23 AM
- weekly installs
- 713
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.