OpenSSF/OSV advisory MAL-2026-6906 confirms this npm version as malicious. 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...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in xnder-sdk-js (npm)
Details
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.
Decision reason
OpenSSF Malicious Packages via OSV confirms xnder-sdk-js@0.1.0 as malicious (MAL-2026-6906): Malicious code in xnder-sdk-js (npm)