Skip to content
OpenAdvisories
Malicious MAL-2026-11013 GHSA-hgfq-c4x3-jx2r

encryptstringadmincore

npm package · versions 1.0.1, 1.1.0

Reported Jul 22, 2026 · Updated Aug 5, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

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.