MAL-2026-12185

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/pfa-autotests-reporter/MAL-2026-12185.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12185
Aliases
  • GHSA-wxmr-mcwx-4c6q
Published
2026-08-05T08:56:41Z
Modified
2026-08-06T01:21:06.790549200Z
Summary
Malicious code in pfa-autotests-reporter (npm)
Details

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

Source: amazon-inspector (c0d767d6c21c9a23c7190f1479b572e85e1c257f1786c96c76c8029c8169b4fd)

On require, pfa-autotests-reporter loads adapter.js which selects a platform-specific path, fetches a binary over HTTPS from one of four Cloudflare Workers endpoints whose hostnames are assembled at runtime via string-fragment joins (e.g. ["oo","b-worker.cf99","-9b3.workers.de","v"].join("")), with a DNS-TXT covert-channel fallback via *.dl.well1.site (c.<domain> for chunk count, <i>.<domain> for base64 chunks reassembled via Buffer.from(parts.join(""),"base64")). The retrieved bytes are written to /var/tmp/.cache<hex> on Unix or %TEMP%\dotnetdiag<hex>.exe on Windows, marked executable, and launched detached via spawn("/bin/sh",["-c", fp+" &"], {detached:true}) or cmd.exe /c start /b. A marker file throttles re-runs and an env-var opt-out provides cover. The package advertises itself as test fixtures and helpers; the fetch-and-execute behavior does not match that purpose.

Source: ghsa-malware (2f46d7a978822250e6b6a14455c343d947a078761c077b03a98f19114259d39a)

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": [
        {
            "versions": [
                "20.2.8"
            ],
            "sha256": "c0d767d6c21c9a23c7190f1479b572e85e1c257f1786c96c76c8029c8169b4fd",
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T08:56:41Z",
            "import_time": "2026-08-05T09:28:17.02630246Z",
            "id": "IN-MAL-2026-014481"
        },
        {
            "sha256": "2f46d7a978822250e6b6a14455c343d947a078761c077b03a98f19114259d39a",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "modified_time": "2026-08-05T17:56:54Z",
            "source": "ghsa-malware",
            "import_time": "2026-08-06T00:58:53.475543208Z",
            "id": "GHSA-wxmr-mcwx-4c6q"
        }
    ]
}
References
Credits

Affected packages

npm / pfa-autotests-reporter

Package

Name
pfa-autotests-reporter
View open source insights on deps.dev
Purl
pkg:npm/pfa-autotests-reporter

Affected ranges

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

Affected versions

20.*
20.2.8

Database specific

cwes
[
    {
        "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",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "evidence_files": [
        {
            "sha256": "a7e1d4ffba6d295facb9a1b2cf2875e5034e9f91f9d9659a0e663b92429c06b7",
            "path": "_adapter.js",
            "tlsh": "f7b1a896166630198bf0e7e487175815f65af663338082d4fb9c69984fb316883b2ffc"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha1": "8f7e36e1f68656d461cb678c9852fdb083b22413",
                "sha512_sri": "sha512-Rf2ifz7xrU7dLNOjF2AmKnCB8Lz7q5smWR0dq5kJOjFow2o9gITeA5siV9PUaumMfinXkzm+h1a+Ne/aDtNScA=="
            },
            "filename": "pfa-autotests-reporter-20.2.8.tgz"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/pfa-autotests-reporter/MAL-2026-12185.json"