Advisory

MAL-2026-12185

Also known as: GHSA-wxmr-mcwx-4c6q

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

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

Severity

Not rated by the source.

Dates

Published
2026-08-05 08:56 UTC
Modified
2026-08-06 01:21 UTC

Affected packages and fixes

pfa-autotests-reporter

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences