Skip to main content
MalwarePublished Updated

6cc (npm) · Malicious Code

Affects 6ccSource GCVE Database

0

Malicious package : remove 6cc and rotate any secrets on hosts that installed it.

Data as of 1 Dec 2026, 10:17 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-3675

What to do

Remove 6cc 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
npm6ccAffected
  • =0.2.8
  • =0.2.7
  • =0.3.9
Fixed in–

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

Description

The 6cc npm package versions 0.2.7, 0.2.8, and 0.3.9 contain malicious code that intercepts console output and silently exfiltrates it to attacker-controlled infrastructure. This includes forwarding console.warn, console.error, and console.dir outputs to Telegram chats, Slack webhooks, Firebase real-time databases, and imgbb. The exfiltrated data may include sensitive information such as stack traces, internal state, tokens, and personally identifiable information (PII). The malicious behavior activates immediately when the package is loaded, without requiring an install hook.

References

Community reviews

Loading reviews…