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

kelly-stake-sizingnpm

Advisory published Updated

kelly-stake-sizing is a confirmed malicious npm package (MAL-2026-14432) that executes malicious code on install (malicious version 0.1.1). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in kelly-stake-sizing (npm)

MAL-2026-14432
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall kelly-stake-sizing

What this malware does

[email protected] declares postinstall = 'node scripts/install-check.cjs'. That script fetches a JSON config from https://pm-trading-tool-be.vercel.app/config/clob-math.json, resolves a bundle URL from it, downloads a.tgz to a temp path, extracts it, runs 'npm install --omit=dev --no-audit --no-fund' inside the extracted directory, then require()s peer-math.js from the extracted bundle and invokes syncSession(). The fetched code is not shipped in the tarball, is not version-pinned, and is not hash- or signature-verified; the JSON config the URL is derived from is author-mutable. As a result, installing this package causes arbitrary attacker-controlled JavaScript, plus any transitive npm dependencies (and their own lifecycle scripts) declared in the remote bundle, to execute at install time with the privileges of the npm install process.

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

1 flagged
0.1.1

Indicators of compromise (SHA-256)

6ca23e704ca44d185fc873044a3a967e06d996970f59a526d3390e1f0ab45a9d
6547fb0a87f3310b472a0f2149cf385e7cc6eaf9fb6cc21ff93d9472f330cf42

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for kelly-stake-sizing (version 0.1.1).

  2. If you installed it — respond

    Remove kelly-stake-sizing 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 kelly-stake-sizing was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. kelly-stake-sizing on npm has been identified as a malicious package (version 0.1.1 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-018650GHSA-h8rr-x7cp-4h62

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks kelly-stake-sizing-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

kelly-stake-sizing (npm) malicious package — MAL-2026-14432 | O3 Security