NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

gpt-chat-clinpm

Advisory published Updated

gpt-chat-cli is a confirmed malicious npm package (MAL-2026-6375) that steals credentials and exfiltrates sensitive data (malicious versions 1.0.1, 1.0.2). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in gpt-chat-cli (npm)

MAL-2026-6375
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall gpt-chat-cli

What this malware does

collect.js bundles a host-reconnaissance and exfiltration payload. It loads child_process, fs, os, http, and https, reads os.hostname() and os.homedir(), enumerates filesystem paths via fs.existsSync(), and POSTs the collected data to the hardcoded endpoint http://aab.sportsontheweb.net (collect.js line 13, POST at line 366). The destination is unrelated to any documented purpose of a 'GPT chat CLI' package and matches the shape of a system-information stealer. Installing this package places attacker-controlled data-collection code into the install tree.

Malicious versions

2 flagged
1.0.11.0.2

Indicators of compromise (SHA-256)

8ccdee952af3407e4e33c563dcd8cab4fe48d6a9ddeea6e008b4dbda0f7ce578
e8890af695b137878736a36dae473487015eb1954c494fec0b5a6041f0817832

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for gpt-chat-cli (2 malicious versions).

  2. If you installed it — respond

    gpt-chat-cli is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If gpt-chat-cli was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. gpt-chat-cli on npm has been identified as a malicious package (versions 1.0.1, 1.0.2 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-007424IN-MAL-2026-007425

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks gpt-chat-cli-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

gpt-chat-cli (npm) malicious package — MAL-2026-6375 | O3 Security