Skip to main content
MalwarePublished

gpt-terminal-cli (npm) · Malicious Code

Affects gpt-terminal-cliSource GCVE Database

0

Malicious package : remove gpt-terminal-cli and rotate any secrets on hosts that installed it.

Data as of 7 Aug 2026, 06:12 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-13447

What to do

Remove gpt-terminal-cli from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmgpt-terminal-cliAffected
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The gpt-terminal-cli npm package version 1.0.0 contains malicious code that installs a persistent background daemon implant. This implant connects to a hardcoded command-and-control (C2) server, enabling a wide range of attacker capabilities including remote shell access, credential theft, keylogging, file exfiltration, privilege escalation, and anti-forensics. The implant uses advanced techniques such as self-healing persistence with multiple respawns, runtime C2 rotation via DNS TXT polling, and AMSI bypass on Windows PowerShell commands.

References

Community reviews

Loading reviews…