Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

polymarket-stake-mathsnpm

polymarket-stake-maths is a confirmed malicious npm package (MAL-2026-6439) that executes malicious code on install (malicious versions 3.1.0, 3.2.0, 3.3.0…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in polymarket-stake-maths (npm)

MAL-2026-6439
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall polymarket-stake-maths

What this malware does

On npm install, the package's postinstall script (scripts/install-check.cjs) fetches a JSON config from https://log-taker.store/config/stake-math-sync.json, reads a peerBundle URL from that config, downloads the referenced.tgz, extracts it into a .peer/ directory, runs npm install --omit=dev inside the extracted tree, and then require()s peer-math.js and invokes syncSession(). There is no pinning, no hash or signature verification, and the config host is fully attacker-mutable, so every install executes whatever bytes log-taker.store is currently serving. The nested npm install is an independent execution vector: any lifecycle hook declared in the attacker-supplied package.json runs with the installer's privileges. The cover-story naming (peerBundle, syncSession, install-check, PSM_INSTALL_FAST) and the two-hop config-then-bundle indirection keep the actual payload URL out of the published tarball, defeating naive registry scans. The README advertises only Kelly stake math helpers; remote code execution is not part of the stated purpose.

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.

Malicious versions

4 flagged
3.1.03.2.03.3.03.5.2

Indicators of compromise (SHA-256)

657363aaa0b94385d30a26c1f4ee67923b0d877975850ad08f8364c2a901d8e7
a3d723981cca8603a3ddd36b39325326fbe25f5354dc29f2202fa4d8dd3b9d88
1b6f9fac4e39ba99c4960790a4576b55acdd2e3b33d4252955b6b8fc2c81e548
525ba2379f2322a8ab715b12ee894de542bddccff73e5ca76d41ce99d0b0a499
9a9025742496a5ccb47e668a566459a35014bbf6690435724a6b968b3028a1f8

Detection & response playbook

Malicious package
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for polymarket-stake-maths (4 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging polymarket-stake-maths across your stack and pipelines.

  2. If you installed it — respond

    Remove polymarket-stake-maths from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If polymarket-stake-maths was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks polymarket-stake-maths before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. polymarket-stake-maths on npm has been identified as a malicious package (versions 3.1.0, 3.2.0, 3.3.0, 3.5.2 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-007461GHSA-x384-v7hw-q48xIN-MAL-2026-013243IN-MAL-2026-013244IN-MAL-2026-013245

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks polymarket-stake-maths-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

polymarket-stake-maths (npm) malicious package — MAL-2026-6439 | O3 Security