encryptstringadmincore
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-hgfq-c4x3-jx2r
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in encryptstringadmincore (npm)
---
_-= 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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0