Skip to main content

Malicious code in devplatform-http-client (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:51:07 UTC)
Source: GCVE Database
Product: devplatform-http-client

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (0232efebd49d07216da6eabd594c614076a3d1b414417d0d1be86d547a9c1adc) On require() of devplatform-http-client, index.js loads _vendor.js which unconditionally invokes init(). The routine selects a platform-specific payload path and fetches a native binary from Cloudflare Workers subdomains whose hostnames are reconstructed from split string fragments (e.g. ["oob-worker.cf102-baf.workers.","de","v"].join("")). If the HTTPS fetch fails, it falls back to a DNS TXT covert channel against *.dl.wel1.ru: it resolves c.<domain> for a chunk count, batches TXT lookups against 0..N.<domain>, concatenates the responses, and base64-decodes them into an executable buffer. The fetched bytes are written to /tmp or %TEMP% under a disguised filename (.cache_<hex> on POSIX, dotnet_diag_<hex>.exe on Windows), chmodded 0755, and spawned detached via cmd.exe start /b or /bin/sh -c. The package is presented as an HTTP client wrapper, a purpose that requires no native-binary download and no DNS TXT smuggling; the destinations are anonymous infrastructure (workers.dev subdomains and an unrelated.ru domain), string-split to defeat static string scanning, and the dropped filenames impersonate telemetry/diagnostic tooling. Installing or loading this package yields remote code execution on the installer machine. ## Source: ghsa-malware (702822e9a922be125f008345b8c764d1848f224840ca61abdce2779b87830873) 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-http-client
Affected versions
=35.8.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:30:22 UTC

Technical Analysis

The devplatform-http-client package (npm ecosystem) at version 35.8.6 includes malicious functionality triggered on require(). It loads a vendor script that calls an init() routine which fetches a platform-specific native binary payload from obfuscated Cloudflare Workers subdomains. If the HTTPS fetch fails, it falls back to a covert DNS TXT channel from *.dl.wel1.ru domains, reconstructing the payload from multiple TXT records. The binary is saved to temporary directories with disguised filenames mimicking telemetry or diagnostic tools, permissions are set to executable, and it is spawned detached via platform-specific shell commands. This results in remote code execution on the machine installing or loading the package. The package's legitimate functionality does not require such native binary downloads or DNS covert channels, indicating malicious intent.

Potential Impact

Installing or loading devplatform-http-client version 35.8.6 results in remote code execution on the installer machine. This allows an attacker to execute arbitrary native code with the privileges of the user running the installation or requiring the package. The malicious payload is fetched from anonymous infrastructure and a suspicious domain, bypassing static detection by obfuscation techniques. This compromises the security and integrity of the affected system.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing or loading devplatform-http-client version 35.8.6. Verify package integrity and source before installation. Consider removing this package from existing environments. Monitor for updates or advisories from the package maintainers or security vendors for any official fixes or further guidance. Patch status is not yet confirmed — check the vendor advisory 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-12712
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735737bf8831d539149694

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

Last enriched: 08/05/2026, 16:30:22 UTC

Last updated: 09/16/2026, 07:36:43 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