pfa-errors (npm) · Malicious Code
Affects pfa-errorsSource GCVE Database
Malicious package : remove pfa-errors and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:15 UTC
Malicious package
Published to npm · OSV MAL-2026-12406
What to do
Remove pfa-errors 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-errors | 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 pfa-errors npm package version 20.4.9 contains malicious code that downloads and executes a platform-specific binary from hardcoded Cloudflare workers.dev endpoints. The binary is saved with a decoy filename and executed detached from the main process. If HTTPS is unavailable, the binary is reconstructed via a DNS-TXT covert channel. The code uses obfuscation techniques to evade detection. A second similar dropper exists in the package but is not invoked from the main entry point.