Skip to main content

Malicious code in devplatform-select-fields (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:45:02 UTC)
Source: GCVE Database
Product: devplatform-select-fields

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (25bec256fbaf68018dbca1fad82b3616a04cf8d932b67e30b5164ee74dfc4882) [email protected] executes a binary dropper on any require() of the package. index.js loads _shim.js, which reconstructs C2 hostnames from split string fragments (Cloudflare Workers hosts of the form oob-worker.cf*-*.workers.dev, plus *.dl.wel1.ru), downloads a platform-specific payload over HTTPS, and falls back to a covert DNS TXT channel (reads a count from c.<domain> and reassembles a base64 payload from numbered TXT records). The payload is written to /var/tmp or %TEMP% under cover-story names (.cache_<rand>, dotnet_diag_<rand>.exe), chmod 0755'd, and spawned detached via spawn("/bin/sh", ["-c", fp + " &"]) or spawn("cmd",...). No hash or signature verification is performed. A setup() gate honors DISABLE_TELEMETRY/ANALYTICS_OPT_OUT/DO_NOT_TRACK and writes an.analytics_state cool-down stamp (22583s) to suppress re-execution, framing the dropper as telemetry. Hostname string-splitting and the DNS-TXT reassembly path are anti-analysis measures. The package name resembles unrelated legitimate packages but the shipped code performs no advertised functionality. ## Source: ghsa-malware (65ad66039e3b7f7982e6539751ee90ae748d1de73569af1765aa15b4d1e0879a) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Affected software

npmghsa
devplatform-select-fields
Affected versions
=35.2.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:39:44 UTC

Technical Analysis

The devplatform-select-fields npm package at version 35.2.6 includes a malicious binary dropper triggered on require(). It reconstructs C2 hostnames from split string fragments, targeting Cloudflare Workers and other domains, to download a payload over HTTPS. If that fails, it uses a covert DNS TXT record channel to reassemble a base64-encoded payload. The payload is saved to /var/tmp or %TEMP% with deceptive filenames, permissions are set to executable, and it is spawned detached via shell commands. The dropper respects environment variables to suppress repeated execution, framing itself as telemetry. Anti-analysis techniques include hostname string splitting and DNS TXT reassembly. The package name mimics legitimate packages but contains no legitimate functionality. No official patch or fix is indicated.

Potential Impact

This malicious package can execute arbitrary code on any system that installs and requires it, potentially leading to unauthorized remote code execution and system compromise. The payload is delivered covertly and executed with minimal detection, posing a significant risk to affected environments. There is no indication of active exploitation in the wild yet.

Mitigation Recommendations

No official patch or remediation is currently available. Users should avoid installing or using devplatform-select-fields version 35.2.6. Remove the package from any environments where it is present. Monitor for any unexpected processes or files matching the described behavior. Verify package integrity before installation and prefer trusted sources. 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-12751
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735739bf8831d53914f730

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

Last enriched: 08/05/2026, 16:39:44 UTC

Last updated: 09/08/2026, 00:12:32 UTC

Views: 16

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