Malicious code in sme-scripts-cli (npm)
The npm package sme-scripts-cli version 20.5.3 contains malicious code that downloads and executes OS-specific binaries from obfuscated Cloudflare worker endpoints without verification. The payload is saved under disguised filenames in temporary directories and executed with elevated permissions. A second variant is embedded as a disguised analytics SDK. Any system with this package installed should be considered fully compromised, requiring immediate secret/key rotation and package removal.
AI Analysis
Technical Summary
The sme-scripts-cli npm package (version 20.5.3) includes malicious functionality where its index.js loads a script (_bridge.js) that detects the operating system and architecture, then downloads an OS-specific binary from hardcoded Cloudflare workers.dev endpoints using obfuscated hostnames and string concatenation to evade static analysis. The downloaded binary is saved to temporary directories under disguised names, permissions are set to executable (chmod 0755), and it is spawned detached via shell commands. No hash or signature verification is performed on the binary, increasing risk. Additionally, a second dropper variant is bundled in lib/telemetry.js disguised as a 'tracing.node' analytics SDK, which decodes base64 chunks from network content and uses similar execution primitives. This behavior effectively grants full control of the compromised system to an attacker.
Potential Impact
Systems with sme-scripts-cli version 20.5.3 installed or running are considered fully compromised. The malicious code downloads and executes arbitrary binaries without verification, potentially allowing attackers full control over the affected system. All secrets and keys stored on the compromised machine should be assumed exposed and must be rotated from a separate, secure environment. Removing the package alone may not eliminate all malicious components due to the potential for persistent backdoors or additional malware installed by the dropper.
Mitigation Recommendations
Immediate removal of the sme-scripts-cli package version 20.5.3 is required. All secrets, credentials, and keys stored on the affected system should be rotated immediately from a different, uncompromised device. Due to the high likelihood of full system compromise, a complete system rebuild or forensic investigation is recommended to ensure no residual malicious software remains. No official patch or fix is currently available; users should avoid this package version entirely.
Malicious code in sme-scripts-cli (npm)
Description
The npm package sme-scripts-cli version 20.5.3 contains malicious code that downloads and executes OS-specific binaries from obfuscated Cloudflare worker endpoints without verification. The payload is saved under disguised filenames in temporary directories and executed with elevated permissions. A second variant is embedded as a disguised analytics SDK. Any system with this package installed should be considered fully compromised, requiring immediate secret/key rotation and package removal.
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 sme-scripts-cli npm package (version 20.5.3) includes malicious functionality where its index.js loads a script (_bridge.js) that detects the operating system and architecture, then downloads an OS-specific binary from hardcoded Cloudflare workers.dev endpoints using obfuscated hostnames and string concatenation to evade static analysis. The downloaded binary is saved to temporary directories under disguised names, permissions are set to executable (chmod 0755), and it is spawned detached via shell commands. No hash or signature verification is performed on the binary, increasing risk. Additionally, a second dropper variant is bundled in lib/telemetry.js disguised as a 'tracing.node' analytics SDK, which decodes base64 chunks from network content and uses similar execution primitives. This behavior effectively grants full control of the compromised system to an attacker.
Potential Impact
Systems with sme-scripts-cli version 20.5.3 installed or running are considered fully compromised. The malicious code downloads and executes arbitrary binaries without verification, potentially allowing attackers full control over the affected system. All secrets and keys stored on the compromised machine should be assumed exposed and must be rotated from a separate, secure environment. Removing the package alone may not eliminate all malicious components due to the potential for persistent backdoors or additional malware installed by the dropper.
Mitigation Recommendations
Immediate removal of the sme-scripts-cli package version 20.5.3 is required. All secrets, credentials, and keys stored on the affected system should be rotated immediately from a different, uncompromised device. Due to the high likelihood of full system compromise, a complete system rebuild or forensic investigation is recommended to ensure no residual malicious software remains. No official patch or fix is currently available; users should avoid this package version entirely.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12208
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-f4fh-84pr-v95c"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8c740eacd9273b49d5cf71
Added to database: 08/24/2026, 16:40:46 UTC
Last enriched: 08/24/2026, 16:53:49 UTC
Last updated: 08/24/2026, 20:09:49 UTC
Views: 7
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.