Malicious code in pfa-autotests-reporter (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12185
Published--- _-= 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.
- Source published
- 5 Aug 2026 08:56:41 UTC
- Source modified
- 6 Aug 2026 01:21:06 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.