pfa-autotests-reporter (npm) · Malicious Code
Affects pfa-autotests-reporterSource GCVE Database
Malicious package : remove pfa-autotests-reporter and rotate any secrets on hosts that installed it.
Data as of 6 Aug 2026, 19:28 UTC
Malicious package
Published to npm · OSV MAL-2026-12185
What to do
Remove pfa-autotests-reporter from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmpfa-autotests-reporter | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package pfa-autotests-reporter version 20.2.8 contains malicious code that, upon being required, downloads and executes a binary from dynamically constructed Cloudflare Workers endpoints. This behavior is concealed behind a package that claims to provide test fixtures and helpers, but instead performs unauthorized code execution on the host system. The malicious binary is saved to temporary directories and executed detached from the main process. The package includes mechanisms to throttle repeated execution and an environment variable to opt out. Systems with this package installed should be considered fully compromised.