Skip to main content

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 npm package 'pvm-autodoc' version 20.4.6 contains malicious code that downloads and executes an unverified native binary from hardcoded Cloudflare Workers subdomains or a DNS TXT fallback. This binary is saved to temporary directories with names mimicking legitimate diagnostic tools and executed without user consent. The package also includes a companion payload performing similar fetch-and-execute actions. Systems with this package installed should be considered fully compromised, and all secrets and keys on those systems must be rotated immediately. Removal of the package alone does not guarantee elimination of all malicious components.

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/21/2026, 16:59:03 UTC

Technical Analysis

The 'pvm-autodoc' npm package (version 20.4.6) contains embedded malicious code that dynamically constructs hostnames to download a platform-specific native binary from multiple hardcoded Cloudflare Workers subdomains or a DNS TXT base64 chunked fallback domain. The downloaded binary is saved to temporary file locations on POSIX or Windows systems, given executable permissions, and executed detached from the parent process. The package disguises this behavior under the guise of 'analytics' or 'telemetry' but actually performs fetch-and-execute of an opaque, unpinned native binary. Additionally, a companion JavaScript payload in the package uses similar obfuscated methods to fetch, decode, and spawn processes. This behavior results in full system compromise upon installation or execution of the package.

Potential Impact

Any system with 'pvm-autodoc' version 20.4.6 installed or running is considered fully compromised. The malicious code grants full control to an external entity by executing unverified native binaries, potentially allowing attackers to access all stored secrets and keys. Immediate rotation of all credentials from a separate, uncompromised system is necessary. Simply removing the package does not guarantee removal of all malicious artifacts or backdoors introduced by the payload.

Defensive Guidance

No official patch or fix is currently documented. Users should immediately remove the 'pvm-autodoc' package version 20.4.6 from all systems. All secrets, keys, and credentials stored on affected systems must be rotated from a secure, uncompromised environment. Due to the high likelihood of full system compromise, consider rebuilding affected systems from known good backups or reinstalling the operating system to ensure complete 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
Ecosystems
["npm"]

Threat ID: 6a73574dbf8831d53915a4e5

Added to database: 08/05/2026, 15:31:25 UTC

Last enriched: 08/21/2026, 16:59:03 UTC

Last updated: 09/10/2026, 22:22:26 UTC

Views: 19

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