VDB
KO

MAL-2026-12185

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%\dotnet_diag_<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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / pfa-autotests-reporter
Introduced in: 0

No fixed version published yet for pfa-autotests-reporter (npm). Pin to a known-safe version or switch to an alternative.

References