MAL-2026-6682: Malicious code in confluent-kafka-javascript (npm)
The confluent-kafka-javascript npm package contains malicious code that compromises any computer on which it is installed or running. The presence of this package indicates a full system compromise, necessitating immediate rotation of all secrets and keys from a separate, secure machine. Simply removing the package does not guarantee removal of all malicious software introduced by it.
AI Analysis
Technical Summary
The confluent-kafka-javascript package distributed via npm has been identified as containing malicious code. Installation or execution of this package results in a full compromise of the affected system, potentially allowing an attacker complete control. Due to the severity of the compromise, all secrets and keys stored on the system must be rotated immediately from a different, uncompromised device. Removal of the package alone is insufficient to ensure system integrity, as additional malicious software may persist.
Potential Impact
Any system with this package installed or running should be considered fully compromised. Attackers may have gained complete control over the system, risking exposure and theft of all stored secrets and keys. This can lead to further unauthorized access, data breaches, and persistent malicious presence.
Mitigation Recommendations
Remove the confluent-kafka-javascript package immediately. Rotate all secrets and keys from a separate, secure computer to prevent further unauthorized access. Because the system is likely fully compromised, consider rebuilding or restoring the system from a known good backup to ensure removal of all malicious components.
MAL-2026-6682: Malicious code in confluent-kafka-javascript (npm)
Description
The confluent-kafka-javascript npm package contains malicious code that compromises any computer on which it is installed or running. The presence of this package indicates a full system compromise, necessitating immediate rotation of all secrets and keys from a separate, secure machine. Simply removing the package does not guarantee removal of all malicious software introduced by it.
Affected software
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
Technical Analysis
The confluent-kafka-javascript package distributed via npm has been identified as containing malicious code. Installation or execution of this package results in a full compromise of the affected system, potentially allowing an attacker complete control. Due to the severity of the compromise, all secrets and keys stored on the system must be rotated immediately from a different, uncompromised device. Removal of the package alone is insufficient to ensure system integrity, as additional malicious software may persist.
Potential Impact
Any system with this package installed or running should be considered fully compromised. Attackers may have gained complete control over the system, risking exposure and theft of all stored secrets and keys. This can lead to further unauthorized access, data breaches, and persistent malicious presence.
Mitigation Recommendations
Remove the confluent-kafka-javascript package immediately. Rotate all secrets and keys from a separate, secure computer to prevent further unauthorized access. Because the system is likely fully compromised, consider rebuilding or restoring the system from a known good backup to ensure removal of all malicious components.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6682
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-j28m-58xp-3wgh"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a44530127e9c79719916aee
Added to database: 06/30/2026, 23:36:33 UTC
Last enriched: 07/01/2026, 00:00:57 UTC
Last updated: 07/01/2026, 00:56:01 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.