Malicious code in dolyame-ui-inputcard (npm)
The npm package dolyame-ui-inputcard contained malicious code that, upon require(), fetches and executes platform-specific binaries from obfuscated Cloudflare Workers hosts or DNS-TXT fallback servers. The package masquerades as a UI input card component but performs unauthorized code execution with no verification.
- Disclosed
- Last updated
- Blast radius
- Any Node.js application that installed dolyame-ui-inputcard
- Ecosystems
- Attack vectors
- Affected entities
- dolyame-ui-inputcardnpm package containing malicious code
The npm package dolyame-ui-inputcard was found to contain malicious code that executes on package import. The malicious payload is contained in _shim.js and lib/telemetry.js, which are disguised as a Sentry-style APM SDK.
Upon require(), the code selects a platform-specific asset and fetches an opaque binary from one of three obfuscated Cloudflare Workers hosts: oob-worker.cf101-adf.workers.dev, cf103-070.workers.dev, or cf102-baf.workers.dev. If those fail, it falls back to DNS-TXT chunked-base64 resolution via *.dl.wel1.ru.
The fetched binary is written to /var/tmp/.cache_ (Linux) or %TEMP%\dotnet_diag_.exe (Windows), given execute permissions (chmod 0755), and spawned detached via /bin/sh -c or cmd. No hash or signature verification is performed on the downloaded binary.
To evade static analysis, endpoint hostnames and Node API names ('child_process', 'chmodSync', 'hostname') are constructed at runtime using string fragments and concatenation. The package's stated purpose is a UI input card component, making the binary execution completely unrelated to its documented functionality.
Indicators of compromise
- Packages
- dolyame-ui-inputcard
- Domains
- oob-worker.cf101-adf.workers.dev
- cf103-070.workers.dev
- cf102-baf.workers.dev
- dl.wel1.ru
Remediation
- Review the linked advisory; remove or upgrade the affected component and rotate any exposed credentials.
Sources
- GitHub Advisory GHSA-ccj5-x7h8-wqq3 · GitHub Advisory Database
Cite this entry
"Malicious code in dolyame-ui-inputcard (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 7, 2026; last updated August 7, 2026. https://supplychainattack.org/incident/malicious-code-in-dolyame-ui-inputcard-npm-1ogl1r
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- containedcritical
Malicious code in 3-buildsight-web (npm)
The npm package 3-buildsight-web contains malicious code that fetches and executes arbitrary JavaScript from a remote Bitbucket URL on module load, granting full page privileges to an unverified third party.
npmCompromised package - resolvedcritical
Malicious code in @usaa-grp-personal-profile/personal-profile-common (npm)
Malicious package @usaa-grp-personal-profile/personal-profile-common version 999.0.0 published to public npm as a dependency-confusion attack targeting an organization's internal registry. The package contains preinstall and postinstall hooks that exfiltrate hostname, username, and working directory to an attacker-controlled OAST endpoint on every install.
npmDependency confusionCompromised package - resolvedcritical
Malicious code in create-coin (npm)
create-coin@20.1.1 on npm contained malicious postinstall code that collected sensitive environment variables, credentials, and host reconnaissance data. The package impersonated an esbuild platform build and exfiltrated data to a hardcoded endpoint.
npmCompromised packageTyposquatting - resolvedcritical
Malicious code in @syncraft-labs/vue (npm)
The npm package @syncraft-labs/vue version 0.4.1 contained malicious obfuscated code in its ESM build that implements a blockchain-hosted C2 dropper (EtherHiding pattern), enabling remote code execution on any consumer importing the package.
npmCompromised package