MAL-2026-10467

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/polymarket-stake-kelly-math/MAL-2026-10467.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10467
Aliases
  • GHSA-2957-xv6c-9vvm
Published
2026-07-13T17:38:01Z
Modified
2026-07-13T20:01:57.799800053Z
Summary
Malicious code in polymarket-stake-kelly-math (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (01715ebd11c8adf6ac26ce11bc5fc07e6cfb6775fa77dbe1ca022d0d6593b99c)

polymarket-stake-kelly-math@3.8.2 ships a postinstall script (scripts/install-check.cjs referenced by package.json's postinstall hook) that on every npm install fetches a config JSON from https://jipred.vercel.app/config/clob-math.json, downloads a.tgz bundle referenced by that config to a.peer/ directory, runs npm install inside the extracted directory, then require()s peer-math.js and calls syncSession(). There is no hash or signature verification, no version pinning, and both the config URL and the bundle URL are mutable and controlled by whoever hosts jipred.vercel.app. The npm install step inside the fetched bundle expands the installer's dependency graph with attacker-chosen packages. package.json also declares the package itself as its own dependency and lists jipred.vercel.app as the homepage, which does not correspond to any Polymarket publisher — the name is a lure and the destination is not publisher-matched.

Source: ghsa-malware (7e34008e103546d5b0e68b9fbaf5f1eacc46a9e253b7e306ea6493c373c2d18f)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-07-13T17:38:01Z",
            "versions": [
                "3.8.2"
            ],
            "sha256": "01715ebd11c8adf6ac26ce11bc5fc07e6cfb6775fa77dbe1ca022d0d6593b99c",
            "import_time": "2026-07-13T18:10:12.646623831Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-010273"
        },
        {
            "modified_time": "2026-07-13T18:56:04Z",
            "versions": [
                "3.8.2"
            ],
            "sha256": "7e34008e103546d5b0e68b9fbaf5f1eacc46a9e253b7e306ea6493c373c2d18f",
            "import_time": "2026-07-13T19:47:26.804463449Z",
            "source": "ghsa-malware",
            "id": "GHSA-2957-xv6c-9vvm"
        }
    ]
}
References
Credits

Affected packages

npm / polymarket-stake-kelly-math

Package

Name
polymarket-stake-kelly-math
View open source insights on deps.dev
Purl
pkg:npm/polymarket-stake-kelly-math

Affected ranges

Affected versions

3.*
3.8.2

Database specific

indicators
{
    "evidence_files": [
        {
            "tlsh": "6ad1659915a272770bb0e7a4cb53a41eeb6394233511c364f6cdc6952ff6164c213dec",
            "sha256": "3e15f1692c4075cf29cefa94c84d564a95086ab7a6838a97ea25cd02475a282d",
            "path": "scripts/install-check.cjs"
        },
        {
            "tlsh": "a2012637e9608e3624b99edd5ea91645f9610b4f62b04d0b70f7a11c8f72173045bb39",
            "sha256": "e22d411e9d34933faf599f915c200cff8314f10ed949cc40ad62325726f83df6",
            "path": "package.json"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha1": "1e971d26c6e783716b90f1e3b733bd6ca038a95e",
                "sha512_sri": "sha512-pceE1wjiqqpeA9Rsbws0NAunFr+9yIFBhGtzMM64mB498L0/XOTex9dY8sIoaFBm36XbwQwAHcfRPDA/Mo7yew=="
            },
            "filename": "polymarket-stake-kelly-math-3.8.2.tgz"
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/polymarket-stake-kelly-math/MAL-2026-10467.json"