MAL-2026-12456

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/statist-statist-core/MAL-2026-12456.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12456
Aliases
  • GHSA-j362-x54r-m764
Published
2026-08-05T12:34:33Z
Modified
2026-08-07T00:04:52.162684339Z
Summary
Malicious code in statist-statist-core (npm)
Details

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

Source: amazon-inspector (192fac66540fb5d3f4c376673ddd67a4e43053342e745e538f7ddcc08b0a9042)

index.js requires./setup on module load. setup.js assembles obfuscated destination hostnames from split string arrays, selects a platform-specific endpoint from four hardcoded Cloudflare Workers hosts (oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev), downloads an opaque binary via https.get, writes it to /tmp or %TEMP% under a disguised name (dotnetdiag<suffix>.exe on Windows,.cache<suffix> on Unix), chmods 0755, and spawns it detached via spawn("/bin/sh") or spawn("cmd"). When HTTPS fetch fails, setup.js falls back to a DNS TXT-record channel under *.dl.well1.site (tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, win.dl.well1.site): it queries a count record and then N chunk records, base64-decodes the concatenation, and executes the reconstructed payload — an evasion channel that bypasses HTTP egress filtering. The childprocess module name and destination hostnames are runtime-assembled from split arrays to defeat static scanners; disguised filenames and an analytics/telemetry framing serve as cover. The fetch-and-execute path fires automatically whenever any consumer requires this package.

Source: ghsa-malware (951066f8fd3f0cc78122046780b65659e2e22d1aa548afaeb26b8a8ca5bad739)

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-08-05T12:34:33Z",
            "id": "IN-MAL-2026-014712",
            "import_time": "2026-08-05T13:08:39.919010831Z",
            "versions": [
                "20.9.9"
            ],
            "source": "amazon-inspector",
            "sha256": "192fac66540fb5d3f4c376673ddd67a4e43053342e745e538f7ddcc08b0a9042"
        },
        {
            "modified_time": "2026-08-06T16:48:29Z",
            "id": "GHSA-j362-x54r-m764",
            "import_time": "2026-08-06T23:53:00.683280494Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "sha256": "951066f8fd3f0cc78122046780b65659e2e22d1aa548afaeb26b8a8ca5bad739"
        }
    ]
}
References
Credits

Affected packages

npm / statist-statist-core

Package

Name
statist-statist-core
View open source insights on deps.dev
Purl
pkg:npm/statist-statist-core

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

20.*
20.9.9

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "statist-statist-core-20.9.9.tgz",
            "hashes": {
                "sha512_sri": "sha512-9+o41gb3AM0zNQW6ybsPd5gmvX53qky9HBA/vQifbeilQ6RrakvQttN6kFYmxBV1TZX7qhEhqqFqbXWfozAqAA==",
                "sha1": "4526284450b2761579d061239081cf29861de624"
            }
        }
    ],
    "evidence_files": [
        {
            "path": "setup.js",
            "tlsh": "1aa1a5961669311d8bb0ebe4cb17441af55bf26333808194fb9c69981fb352483b2efc",
            "sha256": "31e7c651c29d35c053368f379a0519551dde9893ae83a4de64329ae02fd957f1"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/statist-statist-core/MAL-2026-12456.json"