MAL-2026-11013
Malicious code in encryptstringadmincore (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (6fb9468e3d6f153d718527bb4350b6593d64b67cf16b5b81cdf56e4781d1b483) The package's main module core.js is heavily obfuscated (obfuscator.io-style string-array with self-defending anti-debug and control-flow flattening) and contains a fetch-to-Function() pipeline that retrieves remote payloads and executes them in-process. Network sinks include api.jsonbin.io (accessed with X-Bin-Name headers and /config/ paths) and PubNub's ps.pndsn.com using hardcoded publish key pub-c-a17b9eb1-6275-474c-89fa-24e2f36632c3 and a sec-c-... secret key, forming both publish and subscribe URLs. Retrieved strings are passed to the JavaScript Function() constructor, giving whoever controls the referenced jsonbin bin or the PubNub channel arbitrary code execution on any host that require()s this package. The obfuscation exists to conceal the C2 endpoints and the network-to-exec dataflow; the stated 'encrypt string' purpose does not justify a remote code loader.
## Source: ghsa-malware (bee41f6acdd1724509277844381ea72ee9e814432afa535d4c382787d0cd5161) 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0 No fixed version published yet for encryptstringadmincore (npm). Pin to a known-safe version or switch to an alternative.