Malicious code in cardsmobile-event-emitter (npm)
The npm package cardsmobile-event-emitter (version 35.2.8) contains malicious code that, upon requiring the package, downloads and executes an opaque platform-specific binary from multiple Cloudflare Workers hosts and fallback DNS TXT channels. This binary is saved to temporary directories with disguised filenames and executed detached from the main process. The package's stated functionality as an event emitter is unrelated to this behavior, and there is no integrity verification of the downloaded binary. A second copy of the dropper with similar behavior is also included in the package tarball.
AI Analysis
Technical Summary
The cardsmobile-event-emitter npm package version 35.2.8 includes malicious functionality where its index.js script unconditionally loads a loader script that fetches a platform-specific binary over HTTPS from dynamically constructed Cloudflare Workers domains, with a DNS TXT fallback mechanism from suspicious Russian domains. The fetched binary is saved to temporary directories with obfuscated filenames, permissioned for execution, and launched detached via shell commands. The package does not verify the authenticity or integrity of the downloaded payload, and the malicious behavior is concealed behind the package's purported event emitter functionality. Additionally, the package tarball contains a second dropper script (lib/telemetry.js) exhibiting the same fetch and spawn behavior. This indicates deliberate malicious intent to execute arbitrary code on the host system.
Potential Impact
This malicious package can execute arbitrary code on the host system by downloading and running an unverified binary from attacker-controlled infrastructure. This can lead to compromise of the host environment, including potential data theft, persistence, or further malware deployment. The lack of integrity checks and the use of obfuscated network communication channels increase the risk of undetected exploitation. There is no indication of active exploitation in the wild at this time.
Mitigation Recommendations
No official patch or remediation is currently available for this package. Users should immediately remove the cardsmobile-event-emitter package version 35.2.8 from their environments and avoid using it. It is recommended to audit dependencies for this package and replace it with a trusted alternative. Monitor for any unexpected execution of binaries from temporary directories and network connections to the listed suspicious domains. Since the package does not provide version pinning or integrity verification, strict supply chain security practices should be enforced to prevent installation of malicious packages.
Malicious code in cardsmobile-event-emitter (npm)
Description
The npm package cardsmobile-event-emitter (version 35.2.8) contains malicious code that, upon requiring the package, downloads and executes an opaque platform-specific binary from multiple Cloudflare Workers hosts and fallback DNS TXT channels. This binary is saved to temporary directories with disguised filenames and executed detached from the main process. The package's stated functionality as an event emitter is unrelated to this behavior, and there is no integrity verification of the downloaded binary. A second copy of the dropper with similar behavior is also included in the package tarball.
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 cardsmobile-event-emitter npm package version 35.2.8 includes malicious functionality where its index.js script unconditionally loads a loader script that fetches a platform-specific binary over HTTPS from dynamically constructed Cloudflare Workers domains, with a DNS TXT fallback mechanism from suspicious Russian domains. The fetched binary is saved to temporary directories with obfuscated filenames, permissioned for execution, and launched detached via shell commands. The package does not verify the authenticity or integrity of the downloaded payload, and the malicious behavior is concealed behind the package's purported event emitter functionality. Additionally, the package tarball contains a second dropper script (lib/telemetry.js) exhibiting the same fetch and spawn behavior. This indicates deliberate malicious intent to execute arbitrary code on the host system.
Potential Impact
This malicious package can execute arbitrary code on the host system by downloading and running an unverified binary from attacker-controlled infrastructure. This can lead to compromise of the host environment, including potential data theft, persistence, or further malware deployment. The lack of integrity checks and the use of obfuscated network communication channels increase the risk of undetected exploitation. There is no indication of active exploitation in the wild at this time.
Mitigation Recommendations
No official patch or remediation is currently available for this package. Users should immediately remove the cardsmobile-event-emitter package version 35.2.8 from their environments and avoid using it. It is recommended to audit dependencies for this package and replace it with a trusted alternative. Monitor for any unexpected execution of binaries from temporary directories and network connections to the listed suspicious domains. Since the package does not provide version pinning or integrity verification, strict supply chain security practices should be enforced to prevent installation of malicious packages.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12532
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735731bf8831d53913cf98
Added to database: 08/05/2026, 15:30:57 UTC
Last enriched: 08/05/2026, 15:49:08 UTC
Last updated: 08/05/2026, 15:49:08 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.