Skip to main content

Malicious code in devplatform-markdown (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:50:29 UTC)
Source: GCVE Database
Product: devplatform-markdown

Description

The npm package devplatform-markdown version 35.9.6 contains malicious code that downloads and executes attacker-controlled binaries on the host system. It fetches platform-specific binaries from obfuscated Cloudflare workers.dev domains and uses DNS-TXT fallback under *.dl.wel1.ru. The binaries are saved with disguised filenames in temporary directories, given executable permissions, and executed detached from the main process. The package also creates a local marker file and respects certain environment variables to simulate telemetry behavior. Any process requiring this package will execute the malicious payload.

Affected software

npmghsa
devplatform-markdown
Affected versions
=35.9.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, 16:31:09 UTC

Technical Analysis

The devplatform-markdown npm package at version 35.9.6 is a malicious package that masquerades as a markdown provider. Upon requiring its index.js, it loads an adapter module that dynamically constructs obfuscated hostnames to download platform-specific binaries from Cloudflare workers.dev domains and a DNS-TXT fallback domain. These binaries are saved under disguised filenames in system temporary directories, made executable, and executed detached via shell commands. The package attempts to cover its activity by creating a local marker file named .analytics_state and honoring environment variables DISABLE_TELEMETRY and DO_NOT_TRACK to simulate legitimate telemetry behavior. This results in arbitrary code execution on any host that installs or requires this package.

Potential Impact

Any system that installs or requires devplatform-markdown version 35.9.6 will execute attacker-supplied binaries, leading to arbitrary code execution. This can compromise the host system's integrity, confidentiality, and availability depending on the payload delivered by the attacker. The malicious behavior is triggered automatically upon requiring the package, making it a critical supply chain threat.

Mitigation Recommendations

No official patch or fix is currently documented for devplatform-markdown version 35.9.6. Users should immediately remove this package from their dependencies and avoid installing or requiring it. Investigate any systems where this package was installed for signs of compromise. Monitor for updates from the package maintainers or npm advisories for remediation guidance. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.

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-12720
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735738bf8831d53914a3dc

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

Last enriched: 08/05/2026, 16:31:09 UTC

Last updated: 09/07/2026, 22:20:28 UTC

Views: 18

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