Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in wormgpt-cli (npm)

0
Critical
Published: 08/06/2026 (08/06/2026, 19:10:40 UTC)
Source: GCVE Database
Product: wormgpt-cli

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (534ea1156519b64249657c1495faacdb3cc5d8e250a00e0dc2f8fd4e991af61c) The package's bin entries (`wormgpt-cli`, `wormgpt`, `deepholegpt`, `wgpt`) map to `bin/victim.js`, which silently spawns a detached implant on any invocation (including `--help`/`--version`). The implant connects to a hardcoded C2 at http://13.60.13.215:7771 over an AES-256-GCM/HMAC-signed protocol with pool failover and a DNS TXT dead-drop channel (`protocol.js` `pollDnsDeaddrop`) that rotates the C2 URL and shared secret at runtime. On beacon, `implant.js` `gatherInfo()` collects hostname, user, OS, architecture, PID, cwd, home, LAN IP, admin flag, and a persistent victim_id, and accepts opcodes for shell/PowerShell execution, interactive PTY reverse shell, file up/download, keylogging (`GetAsyncKeyState` PowerShell loop), clipboard capture, screenshots, LAN lateral-movement scanning, privilege-escalation checks, and anti-forensics wipe. `stealers/browser.js` reads Chrome/Edge/Brave/Opera/Vivaldi Login Data SQLite databases, decrypts DPAPI-protected passwords via PowerShell with an AMSI bypass stub (`AMSI_BYPASS_B64` base64 blob run through `powershell -EncodedCommand`), parses Firefox `logins.json`, and regex-scans Discord/Chrome LevelDB for auth tokens (`/[\w-]{24}\.[\w-]{6}\.[\w-]{27}|mfa\.[\w-]{84}/g`), exfiltrating results via C2 opcode OP_BROWSER_DATA. `persist.js` installs persistence across six autostart layers per OS: Windows HKCU/HKLM Run keys, Startup.lnk, WMI __EventFilter/CommandLineEventConsumer permanent subscription, scheduled tasks, and hidden `Windows Helper` directories via `attrib +H +S`; Linux XDG autostart, systemd --user units, `@reboot` crontab, shell RC injection (`.bashrc`/`.zshrc`/`.profile`/`.xinitrc`), and `/etc/rc.local`; macOS LaunchAgent plist with KeepAlive and Login Items via osascript. `loader.js` runs a watchdog sibling process (poll every 20s, `MAX_REVIVES = 50`) plus `uncaughtException` respawn to keep the implant alive.

Affected software

npmghsa
wormgpt-cli
Affected versions
=1.0.0=1.0.3=1.0.8=1.0.4=1.0.7=1.0.2=1.0.5=1.0.1=1.0.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/07/2026, 09:01:28 UTC

Technical Analysis

The wormgpt-cli npm package's executable entries map to a script that silently installs a detached implant on execution. This implant connects to a hardcoded C2 server at http://13.60.13.215:7771 using an AES-256-GCM/HMAC-signed protocol with failover and DNS TXT dead-drop channels for dynamic C2 rotation. The implant collects detailed system information and supports commands for shell execution, interactive reverse shells, file transfer, keylogging via PowerShell with AMSI bypass, clipboard capture, screenshots, LAN scanning, privilege escalation checks, and anti-forensics wiping. It steals browser login data from Chrome-based browsers and Firefox, decrypting DPAPI-protected passwords and extracting Discord and Chrome authentication tokens. Persistence is achieved through multiple autostart mechanisms on Windows (registry run keys, startup shortcuts, WMI event subscriptions, scheduled tasks, hidden directories), Linux (XDG autostart, systemd user units, crontab, shell RC injections, rc.local), and macOS (LaunchAgent plist, Login Items). A watchdog process monitors and respawns the implant to maintain persistence. The affected versions explicitly include 1.0.0 through 1.0.8.

Potential Impact

This malicious package enables attackers to gain persistent remote access to infected systems, execute arbitrary commands, capture sensitive user input and credentials, steal browser-stored passwords and authentication tokens, perform lateral movement within local networks, and evade forensic analysis through wiping techniques. The implant's persistence across multiple OS autostart mechanisms makes removal difficult. The compromise of authentication tokens and passwords can lead to further account takeovers and data breaches.

Mitigation Recommendations

No official patch or remediation guidance is provided in the source data. Users should immediately uninstall the wormgpt-cli package versions 1.0.0 through 1.0.8 and avoid installing or running this package. Investigate and remove any persistent implant components if the package was previously installed. Monitor for suspicious network connections to the indicated C2 IP and domain. Since this is a malicious package, remediation involves removal and system cleanup rather than patching. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-13466
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a757399bf8831d539d91a0c

Added to database: 08/07/2026, 05:56:41 UTC

Last enriched: 08/07/2026, 09:01:28 UTC

Last updated: 08/07/2026, 17:48:04 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses