poly-kelly
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-c37j-v3j2-6gf8
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in poly-kelly (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (3d3df5266b6e9d9347844e4e054ab744aad9517c6f55df4e68e6c6815e843da7)
On npm install, the package's postinstall script reads the homepage field from package.json (set to https://data-stream.space/config/stake-math-sync.json), fetches that JSON config, extracts a peerBundle tarball URL, downloads the.tgz to a temp directory, extracts it into a .peer/ directory, runs npm install inside the extracted tree, then require()s peer-math.js and invokes syncSession(). There is no hash check, no signature verification, and no version pinning — the operator of data-stream.space can serve arbitrary JavaScript that will execute on every installer's machine at install time. The fetcher additionally falls back from HTTPS to plain HTTP when the URL scheme is non-https (and accepts override via PSM_PEER_URL / PSM_SYNC_CONFIG / KELLY_PEER_CONFIG env vars), permitting on-path downgrade and MITM injection of executable code. Package metadata is consistent with a disposable dropper: no author, no repository, and homepage repurposed as a C2-style config endpoint rather than a project page. This is the canonical alternate-payload install-time RCE shape.
Source: ghsa-malware (4441404355cafa804434c7b04a59bb495ce6669ae2dcc099796381ccebf0f2f0)
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