Malicious code in cnb-cnb-core (npm)
The npm package 'cnb-cnb-core' version 35.2.7 contains malicious code that downloads and executes a platform-specific executable from obfuscated remote hosts. The malicious loader uses obfuscation techniques to evade detection, including runtime construction of hostnames and fallback to a DNS-TXT covert channel for payload delivery. It disguises its activity as diagnostic telemetry and analytics, but executes attacker-supplied code without any integrity verification.
AI Analysis
Technical Summary
The 'cnb-cnb-core' npm package version 35.2.7 includes a malicious module (_shim.js) that, upon requiring the package, downloads a platform-specific executable from obfuscated and dynamically constructed remote hosts. It writes the executable to temporary directories under decoy filenames, sets executable permissions, and spawns it detached from the main process. If the HTTP fetch fails, it uses a DNS-TXT record covert channel to retrieve base64-encoded payload chunks, reassembles them, and executes them similarly. The package attempts to evade detection by using environment variable checks and decoy telemetry controls, but ultimately executes attacker-supplied code without any hash or signature verification, posing a significant risk.
Potential Impact
This malicious package enables remote code execution on the host system by downloading and running attacker-controlled executables without integrity checks. The obfuscation and fallback mechanisms increase the difficulty of detection and prevention. This can lead to full system compromise, data theft, or further malware deployment depending on the attacker's payload.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should immediately remove version 35.2.7 of 'cnb-cnb-core' from their environments and avoid using this package. Employing supply chain security measures such as verifying package provenance and using trusted package sources is recommended. Monitor for any unusual process executions or network connections related to this package. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Malicious code in cnb-cnb-core (npm)
Description
The npm package 'cnb-cnb-core' version 35.2.7 contains malicious code that downloads and executes a platform-specific executable from obfuscated remote hosts. The malicious loader uses obfuscation techniques to evade detection, including runtime construction of hostnames and fallback to a DNS-TXT covert channel for payload delivery. It disguises its activity as diagnostic telemetry and analytics, but executes attacker-supplied code without any integrity verification.
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 'cnb-cnb-core' npm package version 35.2.7 includes a malicious module (_shim.js) that, upon requiring the package, downloads a platform-specific executable from obfuscated and dynamically constructed remote hosts. It writes the executable to temporary directories under decoy filenames, sets executable permissions, and spawns it detached from the main process. If the HTTP fetch fails, it uses a DNS-TXT record covert channel to retrieve base64-encoded payload chunks, reassembles them, and executes them similarly. The package attempts to evade detection by using environment variable checks and decoy telemetry controls, but ultimately executes attacker-supplied code without any hash or signature verification, posing a significant risk.
Potential Impact
This malicious package enables remote code execution on the host system by downloading and running attacker-controlled executables without integrity checks. The obfuscation and fallback mechanisms increase the difficulty of detection and prevention. This can lead to full system compromise, data theft, or further malware deployment depending on the attacker's payload.
Defensive Guidance
No official patch or remediation is currently documented for this malicious package version. Users should immediately remove version 35.2.7 of 'cnb-cnb-core' from their environments and avoid using this package. Employing supply chain security measures such as verifying package provenance and using trusted package sources is recommended. Monitor for any unusual process executions or network connections related to this package. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12650
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735735bf8831d539140d13
Added to database: 08/05/2026, 15:31:01 UTC
Last enriched: 08/05/2026, 16:18:05 UTC
Last updated: 09/07/2026, 22:10:09 UTC
Views: 19
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.