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 devplatform-prettier-config (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:46:43 UTC)
Source: GCVE Database
Product: devplatform-prettier-config

Description

The npm package devplatform-prettier-config version 35.1.3 contains malicious code that downloads and executes a platform-specific binary from obfuscated Cloudflare Workers subdomains or, if that fails, via covert DNS TXT-record channels. The payload is saved to deceptive filenames on the local system and executed without hash or signature verification. This behavior is unrelated to the legitimate prettier or JavaScript tooling ecosystem and is designed to evade detection by suppressing repeated runs via a lock file.

Affected software

npmghsa
devplatform-prettier-config
Affected versions
=35.1.3

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:37:01 UTC

Technical Analysis

The devplatform-prettier-config npm package (version 35.1.3) masquerades as a prettier configuration manager but includes malicious code in its index.js. Upon module load, it requires a compatibility script that downloads a platform-specific binary from obfuscated Cloudflare Workers subdomains assembled at runtime. If the HTTPS fetch fails, it falls back to a covert channel using DNS TXT records from suspicious domains to reassemble and execute the payload. The binary is saved to /var/tmp/.cache_<rand> on Linux or TEMP\dotnet_diag_<rand>.exe on Windows with deceptive filenames and permissions set to executable. The payload is then spawned detached via shell or command prompt without any integrity verification. A lock file suppresses repeated execution. The destinations and methods are unrelated to any legitimate prettier or JavaScript tooling publisher, indicating malicious intent.

Potential Impact

This malicious package can execute arbitrary code on the host system by downloading and running an unverified binary, potentially leading to full system compromise or unauthorized actions. The use of obfuscated domains and fallback covert DNS channels indicates attempts to evade detection and maintain persistence. The lack of signature verification increases the risk of executing tampered or malicious payloads.

Mitigation Recommendations

No official patch or remediation is currently documented for this malicious package. Users should immediately remove devplatform-prettier-config version 35.1.3 from their environments and avoid installing or using this package. Employing trusted package sources and verifying package integrity before installation is recommended. Monitor for any unexpected binaries or processes spawned from npm packages. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.

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-12734
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735739bf8831d53914d787

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

Last enriched: 08/05/2026, 16:37:01 UTC

Last updated: 08/05/2026, 16:37:01 UTC

Views: 2

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