Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedcritical

Malicious code in beaver-ui-form-modal (npm)

The npm package beaver-ui-form-modal contained malicious code that downloads and executes platform-specific binaries from attacker-controlled infrastructure upon require(). The package was identified by Amazon Inspector and credited to OpenSSF's malicious-packages repository.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any application that installed beaver-ui-form-modal
Ecosystems
Attack vectors
Affected entities
  • beaver-ui-form-modalnpm package containing malicious code

The npm package beaver-ui-form-modal was found to contain malicious code that executes on module import. When the package is required, index.js loads shim.js which initiates downloads of platform-specific binaries from attacker-controlled Cloudflare Worker subdomains (oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev) with DNS-TXT chunked-base64 fallback to Russian domains (sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru).\n\nThe downloaded binary is written to a hidden temporary path with names mimicking legitimate system utilities ('dotnet_diag', '.cache'), given execute permissions (0755), and spawned detached via shell invocation. Hostnames and API identifiers are obfuscated at runtime using array.join('') to evade static analysis. The fetched binary is unpinned, unverified, and unrelated to any UI form modal functionality.\n\nAdditionally, lib/telemetry.js contains a dormant sibling dropper mechanism framed as an 'analytics SDK' that could spawn further malicious processes. The malicious package was identified by Amazon Inspector and credited to the OpenSSF malicious-packages project.

Indicators of compromise

Packages
  • beaver-ui-form-modal
Domains
  • oob-worker.cf99-9b3.workers.dev
  • oob-worker.cf102-baf.workers.dev
  • oob-worker.cf100-416.workers.dev
  • oob-worker.cf103-070.workers.dev
  • sdk.dl.wel1.ru
  • ext.dl.wel1.ru
  • pkg.dl.wel1.ru
  • net.dl.wel1.ru

Remediation

  • Immediately remove beaver-ui-form-modal from all projects and dependencies
  • Audit npm install logs and package-lock.json to identify all installations of beaver-ui-form-modal
  • Review process execution logs on affected systems for spawned shell processes with detached stdio
  • Block outbound connections to the identified malicious domains at network perimeter
  • Regenerate any credentials or secrets that may have been exposed on affected systems
  • Consider the affected systems as potentially compromised and perform forensic analysis
  • Update dependency scanning tools to detect and block this package

Sources

  1. GitHub Advisory GHSA-694p-cpwm-9w6r · GitHub Advisory Database

Cite this entry

"Malicious code in beaver-ui-form-modal (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 5, 2026; last updated August 5, 2026. https://supplychainattack.org/incident/malicious-code-in-beaver-ui-form-modal-npm-95n4gt

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. containedcritical

    Malicious code in gunzip-js (npm)

    The npm package gunzip-js version 99.9.1 was identified as malicious by the OpenSSF Package Analysis project. The malicious version communicates with a domain associated with malicious activity.

    npmCompromised package
  2. containedcritical

    Malicious code in akamaijs-sensor (npm)

    The npm package akamaijs-sensor contained malicious code that executed arbitrary JavaScript via hidden Unicode-encoded bytes and established a command-and-control channel through a Google Calendar dead-drop. The package was designed to run attacker-authored code in the consumer's Node process when the sensor() API was called.

    npmCompromised packageMalicious commit
  3. resolvedcritical

    Malicious code in akamai-sensor (npm)

    A malicious npm package named akamai-sensor impersonated Akamai's legitimate sensor_data anti-bot SDK. The package contained hidden JavaScript code concealed using invisible Unicode characters and implemented a dynamic command-and-control channel via a Google Calendar dead-drop, enabling arbitrary code execution on installation.

    npmCompromised packageTyposquatting
  4. resolvedcritical

    Malicious code in upload-to-gcp (npm)

    upload-to-gcp@3.2.1 (npm) contains malicious code in its postinstall script that exfiltrates host identifiers to an attacker-controlled endpoint. The package masquerades as a Google Cloud Platform utility but performs unauthorized telemetry collection at install time.

    npmCompromised package