npm · Malicious package advisory
Malwarexnder-sdk-js
MAL-2026-6906
Malicious code in xnder-sdk-js (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (0aeeac149a5afa4797eea935b2a54b66fcf2cfd939fce855655208245ba9e5a7) The package's index.js is heavily obfuscated (string-array shift/rotate pattern with hex-encoded indices and a `while(!![])` decoder loop). Obfuscation of the main module hides intent and prevents automated tracing of behavior at require time. No concrete installer-harm mechanism (exfiltration endpoint, dropper, credential read, lifecycle script) was identified in the available evidence, so the obfuscation alone is not sufficient to confirm an attack, but it is also inconsistent with the typical shape of a legitimate SDK that is shipped readable or as a standard minified bundle with source maps. Manual de-obfuscation of index.js is required before installer trust can be granted. ## Source: ghsa-malware (c6567b629ffa139dd85841adb50d445999ca9c8ee606902c148083e6b0c234ab) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Compromised versions (1)
- 0.1.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.