MAL-2026-13707

    Dashboard / Malicious Package / MAL-2026-13707

    MAL-2026-13707

    Published: 10 Aug 2026Last Modified: 10 Aug 2026

    Summary: Malicious code in polymarket-stake-mathss (npm)

    Details: 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.

    Affected packages

    Package

    Name: polymarket-stake-mathss

    Purl: pkg:npm/polymarket-stake-mathss

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    3.5.2
    MAL-2026-13707 | CVE-DB