Skip to main content

Malicious code in devplatform-humanize-network-error (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:48:10 UTC)
Source: GCVE Database
Product: devplatform-humanize-network-error

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (3d18ba9f3689dbc03127a3d82ffe0a6a2a15edf3e7f58b7ca9322499b2b68197) [email protected] advertises itself as a network-error humanizing utility, but on `require()` its index.js unconditionally loads _adapter.js, which fetches a platform-specific native binary over HTTPS from Cloudflare Workers hosts assembled at runtime from string fragments (oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev), writes it to /tmp/.cache_<hex> on Unix or %TEMP%\dotnet_diag_<hex>.exe on Windows, chmods it 0755, and spawns it detached via `/bin/sh -c` or `cmd.exe`. No hash or signature verification is performed and the payload is unrelated to the package's stated purpose. If the HTTPS fetch returns less than 1000 bytes, a fallback DNS-TXT covert channel reassembles a base64-encoded payload from TXT records under sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru (queried as c.<domain> plus per-index sub-labels) and executes it identically. Destination hostnames are reconstructed from `.join("")` fragments and dropped artifacts are named to masquerade as telemetry/diagnostic files (.analytics_state,.cache_<hex>, dotnet_diag_<hex>.exe), with comments framing the drop as analytics. A sibling lib/telemetry.js (~80 KB) shipped in the same tarball replicates the same HTTPS+DNS discovery, detached shell spawn, chmod 0755, and base64 chunk reassembly primitives but is not currently referenced by the entry graph. ## Source: ghsa-malware (47de4c5b573787f054f5da4dcda55c344af9a2d51c72763129ecfb5f66570fd6) 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-humanize-network-error
Affected versions
=35.3.8

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:34:38 UTC

Technical Analysis

The devplatform-humanize-network-error package version 35.3.8 advertises itself as a utility for humanizing network errors but contains malicious behavior. When required, its index.js loads an adapter module that fetches a native binary over HTTPS from dynamically constructed Cloudflare Workers domains. This binary is saved to temporary directories with names resembling telemetry files, permissioned to be executable, and then spawned detached via shell commands. No hash or signature verification is performed on the downloaded payload. If the HTTPS fetch returns less than 1000 bytes, the package falls back to a covert DNS-TXT channel that reconstructs a base64-encoded payload from TXT records under specific domains and executes it similarly. Additionally, a sibling telemetry.js file with similar download and execution logic is included in the package but is not currently referenced in the main execution path.

Potential Impact

This malicious package can execute arbitrary native code on the host system without user consent or verification, potentially leading to full system compromise, data theft, or persistence. The use of covert DNS channels and masquerading filenames increases stealth and evasion capabilities. The lack of integrity checks on downloaded binaries significantly raises the risk of supply chain attacks and remote code execution.

Mitigation Recommendations

No official patch or remediation is currently available for this malicious package version. Users should immediately remove devplatform-humanize-network-error version 35.3.8 from their environments and avoid using this package. Audit dependencies for this package and replace it with trusted alternatives. Monitor for any suspicious activity related to the described file paths and network domains. Since this is a malicious package, the best mitigation is to avoid installation and usage altogether.

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

Threat ID: 6a735738bf8831d53914c38c

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

Last enriched: 08/05/2026, 16:34:38 UTC

Last updated: 09/07/2026, 22:29:34 UTC

Views: 19

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