Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in pvm-autodoc (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 12:31:04 UTC)
Source: GCVE Database
Product: pvm-autodoc

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

npmghsa
pvm-autodoc
Affected versions
=20.4.6

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

AILast updated: 08/05/2026, 17:45:21 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses