---
id: "GHSA-mmrr-333g-gr76"
page: "https://infrastack.ai/live/GHSA-mmrr-333g-gr76"
kind: "package"
aliases: ["GHSA-mmrr-333g-gr76", "MAL-2026-13707"]
title: "Malicious code in polymarket-stake-mathss (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "polymarket-stake-mathss", "note": "all versions", "fixed": [], "affected": "", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-08-10T12:45:51+00:00"
first_seen_at: "2026-11-10T00:26:21+00:00"
updated_at: "2026-11-10T00:27:33+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-13707", "first_seen_at": "2026-11-10T00:26:21+00:00"}]
exploit_sources: []
---

# Malicious code in polymarket-stake-mathss (npm)

Link for people: https://infrastack.ai/live/GHSA-mmrr-333g-gr76 (this .md is for agents)

## Affected

- npm:polymarket-stake-mathss affected range not listed fixed no fixed version listed

## Timeline

- 2026-11-10T00:26:21+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-13707

## From the sources

---
_-= 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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
