Skip to main content

Malicious code in devplatform-stylelint-config (npm)

0
Critical
Published: 08/07/2026 (08/07/2026, 12:33:19 UTC)
Source: GCVE Database
Product: devplatform-stylelint-config

Description

The npm package 'devplatform-stylelint-config' version 35.7.4 contains malicious code that executes upon library load. It downloads a platform-specific binary from obfuscated Cloudflare Workers and other domains, writes it to a hidden temporary location, sets executable permissions, and runs it detached without verifying its integrity. The package uses misleading naming and description to conceal its true behavior.

Affected software

npmghsa
devplatform-stylelint-config
Affected versions
=35.7.4

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/07/2026, 15:28:15 UTC

Technical Analysis

The 'devplatform-stylelint-config' npm package (version 35.7.4) includes a malicious payload embedded in its setup.js file, which is executed when the library loads. This setup script constructs obfuscated hostnames to download a platform-specific binary via HTTPS, stores it in a hidden temporary directory, modifies its permissions to be executable, and launches it detached from the main process. The binary download and execution occur without any hash or signature verification, increasing the risk of arbitrary code execution. The package's description and naming are deceptive, masking the malicious activity under the guise of an 'environment config reader' and 'analytics_state' telemetry gate.

Potential Impact

This malicious package can lead to arbitrary code execution on the host system where it is installed. The downloaded binary runs with the permissions of the user executing the package, potentially enabling unauthorized actions, persistence, or further compromise. The lack of integrity checks on the downloaded binary increases the risk of executing tampered or malicious payloads.

Mitigation Recommendations

Users should immediately remove the 'devplatform-stylelint-config' package version 35.7.4 from their environments. Avoid installing or using this package until a trusted, verified version is available. Since no patch or fix is currently indicated, users should verify the integrity and source of any dependencies. Monitor for any unexpected binaries or processes spawned from npm packages. Consider using package integrity verification tools and restrict execution of untrusted binaries.

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

Threat ID: 6a75f70cbf8831d53984f543

Added to database: 08/07/2026, 15:17:32 UTC

Last enriched: 08/07/2026, 15:28:15 UTC

Last updated: 09/22/2026, 00:11:02 UTC

Views: 25

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