polymarket-stake-mathss
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-mmrr-333g-gr76
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in polymarket-stake-mathss (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (ef71354e27f0e5798fee884366776d5b76ba0df0122148d1f4f7aeeef42b45cc)
Typosquat of polymarket-stake-math (double s). The postinstall script (install-check.cjs) resolves a bundle URL from the package.json homepage field (https://log-taker.store/config/stake-math-sync.json), downloads a tarball via fetchToFile, extracts it with tar -xzf, runs npm install inside the extracted directory, then require()s .peer/peer-math.js and invokes syncSession(). The fetch is unpinned, unsigned, and points at an author-controlled domain unrelated to any Polymarket infrastructure. The install-time code path is wrapped in benign-sounding identifiers (resolvePeerBundleUrl, runPeerSync, extractPeerBundle, PSM_INSTALL_FAST) that imitate a legitimate peer-dependency check. Installing the package causes arbitrary attacker-controlled code from log-taker.store to execute on the installer's machine.
Source: ghsa-malware (6e416dea8ae1d53c3bfa4f4c78eb7cc8c623d262188672697c25b3e48c4194e5)
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