Malicious code in pfa-autotests-reporter (npm)
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.
AI Analysis
Technical Summary
The pfa-autotests-reporter npm package version 20.2.8 loads a platform-specific adapter script that fetches a binary payload over HTTPS from obfuscated Cloudflare Workers URLs, with a DNS-TXT covert channel fallback. The payload is saved to a temporary file location on the host system, marked executable, and launched detached from the main process using shell commands. This behavior is inconsistent with the package's advertised purpose and indicates malicious intent. The package effectively grants full control of the host to an external actor, compromising all secrets and keys stored on the system.
Potential Impact
Any system with pfa-autotests-reporter version 20.2.8 installed or running is considered fully compromised. The malicious payload grants attackers full control over the affected computer, potentially exposing all stored secrets and keys. Removal of the package does not guarantee elimination of all malicious software or backdoors introduced by the attacker.
Mitigation Recommendations
Immediate removal of the pfa-autotests-reporter package version 20.2.8 is recommended. All secrets and keys stored on the compromised system should be rotated from a separate, trusted machine. Due to the high likelihood of full system compromise, a full forensic investigation and system rebuild may be necessary. Patch status is not applicable as this is a malicious package rather than a vulnerability with an official fix.
Malicious code in pfa-autotests-reporter (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The pfa-autotests-reporter npm package version 20.2.8 loads a platform-specific adapter script that fetches a binary payload over HTTPS from obfuscated Cloudflare Workers URLs, with a DNS-TXT covert channel fallback. The payload is saved to a temporary file location on the host system, marked executable, and launched detached from the main process using shell commands. This behavior is inconsistent with the package's advertised purpose and indicates malicious intent. The package effectively grants full control of the host to an external actor, compromising all secrets and keys stored on the system.
Potential Impact
Any system with pfa-autotests-reporter version 20.2.8 installed or running is considered fully compromised. The malicious payload grants attackers full control over the affected computer, potentially exposing all stored secrets and keys. Removal of the package does not guarantee elimination of all malicious software or backdoors introduced by the attacker.
Defensive Guidance
Immediate removal of the pfa-autotests-reporter package version 20.2.8 is recommended. All secrets and keys stored on the compromised system should be rotated from a separate, trusted machine. Due to the high likelihood of full system compromise, a full forensic investigation and system rebuild may be necessary. Patch status is not applicable as this is a malicious package rather than a vulnerability with an official fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12185
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-wxmr-mcwx-4c6q"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a74cfadbf8831d5391b22c4
Added to database: 08/06/2026, 18:17:17 UTC
Last enriched: 08/06/2026, 19:28:03 UTC
Last updated: 08/06/2026, 19:28:03 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.