Malicious code in xnder-sdk (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-5491
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (7d6bc17ad9fb1a8705ba5311c309bd7a54178d893f44c0c5ea2b19172171eb58) The package ships scripts/script.js containing heavy obfuscation patterns (string-array shift rotation, hex-encoded numeric literals, while(!![]) control-flow flattening). Obfuscated code in install-time scripts is uncharacteristic of legitimate SDK distributions, which typically ship readable JavaScript or, at most, minified bundles. The obfuscation prevents straightforward verification of what the script does on installer machines. Without de-obfuscating the script and confirming whether it performs network I/O, credential reads, or code execution at install or require time, the specific installer-side behavior cannot be characterized. ## Source: ghsa-malware (4dfcb759dd36ce1ba707484f0a2735cafb5b97844e860ffc8646f93be9731b90) 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.
- Source published
- 10 Jun 2026 06:43:00 UTC
- Source modified
- 8 Jul 2026 20:47:14 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.