Skip to main content

Malicious code in platform-ui-colors (npm)

0
Critical
Published: 08/07/2026 (08/07/2026, 12:31:00 UTC)
Source: GCVE Database
Product: platform-ui-colors

Description

The platform-ui-colors npm package version 35.8.1 contains malicious code that, when required, fetches and executes an opaque binary from attacker-controlled Cloudflare Workers hosts. This binary is written to a temporary location on disk, made executable, and launched detached from the main process, resulting in arbitrary code execution on the host under the installer's user context. The malicious code uses obfuscation techniques to evade static analysis and does not verify the integrity of the fetched binary. This leads to a persistent staged binary on the affected system.

Affected software

npmghsa
platform-ui-colors
Affected versions
=35.8.1

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:33:26 UTC

Technical Analysis

The platform-ui-colors package (npm ecosystem) version 35.8.1 includes malicious code that, upon being required, reconstructs sensitive API names and destination hosts from split string literals to evade detection. It fetches an opaque binary from multiple attacker-controlled Cloudflare Workers domains with a DNS-TXT fallback, writes this binary to a temporary file path, sets executable permissions, and spawns it detached from the main process using a shell command. This results in arbitrary code execution on the installer's host with persistence via the staged binary. No cryptographic verification of the fetched binary is performed, increasing the risk of compromise.

Potential Impact

Arbitrary code execution occurs on the host system under the privileges of the user installing or requiring the package. This can lead to full compromise of the user's environment, persistence through a staged binary, and potential further malicious activity. The threat is significant due to the ability to execute attacker-controlled code without user consent or verification.

Mitigation Recommendations

No official patch or remediation is currently documented for this malicious package version. Users should avoid installing or requiring platform-ui-colors version 35.8.1. Remove any existing installations of this package and perform a thorough system inspection for the presence of the staged binary in temporary directories. Use trusted package sources and verify package integrity before installation. Monitor for updates or advisories from the package maintainers or security vendors for 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-13603
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a75f70fbf8831d53984fa10

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

Last enriched: 08/07/2026, 15:33:26 UTC

Last updated: 09/22/2026, 01:57:14 UTC

Views: 22

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