Malicious code in pvm-autodoc (npm)
The pvm-autodoc npm package version 20.4.6 contains malicious code that downloads and executes an unverified native binary from hardcoded Cloudflare Workers subdomains and a DNS TXT fallback. The binary is saved to temporary directories with names mimicking legitimate Microsoft diagnostic tools and executed detached from the main process. The package also includes a companion payload that performs similar fetch-and-execute actions using obfuscated API calls. This behavior is disguised as telemetry or analytics but actually enables remote code execution of opaque binaries.
AI Analysis
Technical Summary
The pvm-autodoc package (version 20.4.6) includes code in index.js that loads _bridge.js, which downloads a platform-specific native binary from one of four hardcoded Cloudflare Workers subdomains or a DNS TXT fallback domain. The hostnames are constructed dynamically to evade static detection. The downloaded binary is saved to /var/tmp/.cache_<hex> on POSIX or %TEMP%\dotnet_diag_<hex>.exe on Windows, given executable permissions, and executed detached via shell commands. The package also ships lib/telemetry.js, which contains similar code to fetch, decode, chmod, and spawn a companion payload using concatenated API names to evade detection. The binaries are unpinned and unverified, representing a fetch-and-execute remote code execution mechanism disguised as telemetry or analytics functionality.
Potential Impact
This malicious behavior allows an attacker to remotely execute arbitrary native code on the host system where the pvm-autodoc package version 20.4.6 is installed. The unverified and opaque nature of the downloaded binaries means the attacker can run any code, potentially leading to full system compromise, data theft, or persistence. The obfuscation and use of legitimate-looking filenames increase the risk of unnoticed exploitation.
Mitigation Recommendations
No official patch or remediation is currently documented for this issue. Users should immediately stop using pvm-autodoc version 20.4.6 and remove it from their environments. Avoid installing or running this package until a trusted, verified version is released. Monitor for any unexpected execution of binaries named like Microsoft diagnostic tools in temporary directories. Patch status is not yet confirmed — check the vendor advisory or npm repository for updates on remediation.
Malicious code in pvm-autodoc (npm)
Description
The pvm-autodoc npm package version 20.4.6 contains malicious code that downloads and executes an unverified native binary from hardcoded Cloudflare Workers subdomains and a DNS TXT fallback. The binary is saved to temporary directories with names mimicking legitimate Microsoft diagnostic tools and executed detached from the main process. The package also includes a companion payload that performs similar fetch-and-execute actions using obfuscated API calls. This behavior is disguised as telemetry or analytics but actually enables remote code execution of opaque binaries.
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 pvm-autodoc package (version 20.4.6) includes code in index.js that loads _bridge.js, which downloads a platform-specific native binary from one of four hardcoded Cloudflare Workers subdomains or a DNS TXT fallback domain. The hostnames are constructed dynamically to evade static detection. The downloaded binary is saved to /var/tmp/.cache_<hex> on POSIX or %TEMP%\dotnet_diag_<hex>.exe on Windows, given executable permissions, and executed detached via shell commands. The package also ships lib/telemetry.js, which contains similar code to fetch, decode, chmod, and spawn a companion payload using concatenated API names to evade detection. The binaries are unpinned and unverified, representing a fetch-and-execute remote code execution mechanism disguised as telemetry or analytics functionality.
Potential Impact
This malicious behavior allows an attacker to remotely execute arbitrary native code on the host system where the pvm-autodoc package version 20.4.6 is installed. The unverified and opaque nature of the downloaded binaries means the attacker can run any code, potentially leading to full system compromise, data theft, or persistence. The obfuscation and use of legitimate-looking filenames increase the risk of unnoticed exploitation.
Mitigation Recommendations
No official patch or remediation is currently documented for this issue. Users should immediately stop using pvm-autodoc version 20.4.6 and remove it from their environments. Avoid installing or running this package until a trusted, verified version is released. Monitor for any unexpected execution of binaries named like Microsoft diagnostic tools in temporary directories. Patch status is not yet confirmed — check the vendor advisory or npm repository for updates on remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12421
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a73574dbf8831d53915a4e5
Added to database: 08/05/2026, 15:31:25 UTC
Last enriched: 08/05/2026, 17:45:21 UTC
Last updated: 08/05/2026, 18:32:52 UTC
Views: 3
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.