Malicious code in nebula-sdk (npm)
The npm package nebula-sdk versions 1.0.0 and 1.0.1 contains malicious code embedded in its preinstall lifecycle script. This script decodes and decompresses a hidden Windows executable, which is then written to the local app data directory masquerading as a legitimate system binary and executed without user interaction. The payload is linked to a remote access trojan (RAT) tool, enabling attacker-controlled native code execution on the affected Windows machine. Installation of this package results in a full compromise of the host system.
AI Analysis
Technical Summary
The nebula-sdk npm package (versions 1.0.0 and 1.0.1) includes a preinstall.cjs lifecycle script that embeds a base64-encoded, zlib-compressed Windows PE executable (~257KB). Upon npm install, this script decodes and decompresses the payload, writes it as conhost.exe under %LOCALAPPDATA%\Microsoft\Conhost\, and executes it detached with hidden windows and no stdio, effectively running attacker-controlled native code on the Windows host without user interaction. The payload references a known RAT tool repository and an IP address associated with malicious activity. The package's advertised AI SDK functionality is unrelated to this hidden malicious payload, which is delivered through multi-layer obfuscation.
Potential Impact
Any Windows system that installs nebula-sdk versions 1.0.0 or 1.0.1 is fully compromised, as the malicious payload executes native code with no user interaction. This can lead to complete attacker control over the system, including access to secrets and keys stored on the machine. Removal of the package does not guarantee removal of all malicious components or persistence mechanisms installed by the payload.
Mitigation Recommendations
Immediate removal of the nebula-sdk package versions 1.0.0 and 1.0.1 is recommended. All secrets, credentials, and keys stored on the affected machine should be considered compromised and rotated from a separate, trusted system. Due to the nature of the compromise, a full system reinstallation or forensic analysis is advised to ensure complete eradication of the malicious payload and any persistence mechanisms. No official patch or fix is available; users must avoid installing these versions.
Malicious code in nebula-sdk (npm)
Description
The npm package nebula-sdk versions 1.0.0 and 1.0.1 contains malicious code embedded in its preinstall lifecycle script. This script decodes and decompresses a hidden Windows executable, which is then written to the local app data directory masquerading as a legitimate system binary and executed without user interaction. The payload is linked to a remote access trojan (RAT) tool, enabling attacker-controlled native code execution on the affected Windows machine. Installation of this package results in a full compromise of the host system.
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 nebula-sdk npm package (versions 1.0.0 and 1.0.1) includes a preinstall.cjs lifecycle script that embeds a base64-encoded, zlib-compressed Windows PE executable (~257KB). Upon npm install, this script decodes and decompresses the payload, writes it as conhost.exe under %LOCALAPPDATA%\Microsoft\Conhost\, and executes it detached with hidden windows and no stdio, effectively running attacker-controlled native code on the Windows host without user interaction. The payload references a known RAT tool repository and an IP address associated with malicious activity. The package's advertised AI SDK functionality is unrelated to this hidden malicious payload, which is delivered through multi-layer obfuscation.
Potential Impact
Any Windows system that installs nebula-sdk versions 1.0.0 or 1.0.1 is fully compromised, as the malicious payload executes native code with no user interaction. This can lead to complete attacker control over the system, including access to secrets and keys stored on the machine. Removal of the package does not guarantee removal of all malicious components or persistence mechanisms installed by the payload.
Defensive Guidance
Immediate removal of the nebula-sdk package versions 1.0.0 and 1.0.1 is recommended. All secrets, credentials, and keys stored on the affected machine should be considered compromised and rotated from a separate, trusted system. Due to the nature of the compromise, a full system reinstallation or forensic analysis is advised to ensure complete eradication of the malicious payload and any persistence mechanisms. No official patch or fix is available; users must avoid installing these versions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17219
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-fm5g-6rr8-p9vq"]
- Ecosystems
- ["npm"]
Threat ID: 6abb41a5f7a7c54106cc3919
Added to database: 09/29/2026, 04:42:13 UTC
Last enriched: 09/29/2026, 04:58:11 UTC
Last updated: 09/29/2026, 18:00:15 UTC
Views: 13
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.