chatcc-agent (npm) · Malicious Code
Affects chatcc-agentSource GCVE Database
Malicious package : remove chatcc-agent and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 23:00 UTC
Malicious package
Published to npm · OSV MAL-2026-13259
What to do
Remove chatcc-agent 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
| Product | Affected | Fixed in |
|---|---|---|
| npmchatcc-agent | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The chatcc-agent npm package runs a daemon that connects to Tencent Cloud IM and accepts remote commands via WebSocket messages. These commands can spawn or write to a local shell or PTY on the host machine, effectively providing a remote shell access channel. Access is controlled by JWT and paired-client authentication, but the design inherently exposes a remote command execution surface. The npm install script only performs local native builds and does not fetch remote content. Version 0.8.24 is affected.