Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in beaver-ui-search-dropdown (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 15:05:35 UTC)
Source: GCVE Database
Product: beaver-ui-search-dropdown

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (117b4f6c7e9e402d92085e427c4b40874e9b6838e16c15562408a0bda241f9ae) The package presents itself as a UI dropdown library but on require executes _init.js, which selects a platform-specific asset (linux/darwin/win32), fetches an opaque binary over HTTPS from string-fragmented `*.workers.dev` hosts (assembled via `.join('')` to hide the hostname from static scanners) with a DNS-TXT chunked-base64 fallback to `*.dl.wel1.ru`, writes the payload to /var/tmp or %TEMP% under a disguised name (`dotnet_diag_<hex>.exe` on Windows, `.cache_<hex>` on Unix), chmods it 0755, and spawns it detached via `/bin/sh -c "<file> &"` or `cmd.exe /c start /b`. The `require("child_"+"process")` split, the fragmented CDN host arrays, the.NET-diagnostics filename masquerade, and an `analytics_state` marker file provide cover-story framing. There is no pinning, hash verification, publisher-matched origin, or relation to a UI dropdown component. Installing or importing the package results in arbitrary attacker-controlled code executing on the installer's host. ## Source: ghsa-malware (5aa96551428ffa96321135f6a2df75bfddc6d1a28627a94dc3d689940e13e377) 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
beaver-ui-search-dropdown
Affected versions
=35.4.5

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, 18:59:18 UTC

Technical Analysis

The 'beaver-ui-search-dropdown' npm package (version 35.4.5) is a malicious package that, instead of providing legitimate UI dropdown functionality, executes a hidden initialization script (_init.js) upon being required. This script selects a platform-specific binary payload hosted on obfuscated CDN domains, downloads it over HTTPS, and writes it to a temporary directory under a disguised filename (e.g., 'dotnet_diag_<hex>.exe' on Windows). The payload is then made executable and launched detached from the main process using shell commands. The package employs multiple obfuscation techniques including fragmented hostnames, split require calls, and misleading filenames to avoid detection and analysis. There is no legitimate relation to UI dropdown functionality, and no integrity verification is performed on the downloaded payload. This results in arbitrary attacker-controlled code execution on any system that installs or imports this package.

Potential Impact

Arbitrary code execution on the host system occurs immediately upon installing or importing the affected package version. This allows attackers to run any code with the privileges of the user installing the package, potentially leading to full system compromise, data theft, or persistence. The malicious payload is downloaded dynamically from attacker-controlled servers, enabling flexible and evolving attacks. The obfuscation and masquerading techniques hinder detection and analysis.

Mitigation Recommendations

Do not install or use the 'beaver-ui-search-dropdown' package version 35.4.5. Since no patch or remediation is indicated, remove this package from any projects and replace it with a trusted alternative. Audit your environment for installations of this package and investigate any suspicious activity. Use trusted sources and verify package integrity before installation. Monitor for updates from the npm registry or security advisories for any official fixes or further 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-12822
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a738536bf8831d5394f0be1

Added to database: 08/05/2026, 18:47:18 UTC

Last enriched: 08/05/2026, 18:59:18 UTC

Last updated: 08/16/2026, 15:46:29 UTC

Views: 24

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