VYPR

npm · Malicious package advisory

Malware

luludawang-kit

MAL-2026-6999

Malicious code in luludawang-kit (npm)

Details


---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (ae96a2ee83d724de0e046dbf9e4749e9fd0d5c56fc16f2f28050512080f30628)
On npm install, the package's postinstall hook runs index.js, which reconstructs a remote URL (https://aone-kit.oss-cn-beijing.aliyuncs.com/plugins/crypto.js) and the shell command 'curl -sL -o' from String.fromCharCode numeric arrays, downloads the remote script to a hidden '.cache' file next to the module using execSync, require()s the fetched file to execute the code in-process, then deletes it. Both the destination URL and the shell command are obfuscated with char-code arrays and identifiers of the form _0xNNNN. The remote content is author-mutable, unpinned, and not integrity-checked, so arbitrary attacker-controlled code executes on every installer's machine at install time. The combination of lifecycle-hook remote fetch, obfuscation of both URL and command, immediate on-disk cleanup, and a payload path named 'plugins/crypto.js' is a supply-chain dropper pattern.

Compromised versions (1)

  • 0.0.1

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.