Malicious code in beaver-ui-search-dropdown (npm)
The npm package 'beaver-ui-search-dropdown' version 35.4.5 is a malicious package masquerading as a UI dropdown library. Upon requiring the package, it executes a hidden script that downloads and runs an attacker-controlled binary payload specific to the host platform. This payload is saved under disguised filenames in temporary directories and executed detached from the main process. The package uses obfuscation techniques such as fragmented hostnames and misleading filenames to evade detection. Installing or importing this package results in arbitrary code execution on the host system.
AI Analysis
Technical Summary
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.
Malicious code in beaver-ui-search-dropdown (npm)
Description
The npm package 'beaver-ui-search-dropdown' version 35.4.5 is a malicious package masquerading as a UI dropdown library. Upon requiring the package, it executes a hidden script that downloads and runs an attacker-controlled binary payload specific to the host platform. This payload is saved under disguised filenames in temporary directories and executed detached from the main process. The package uses obfuscation techniques such as fragmented hostnames and misleading filenames to evade detection. Installing or importing this package results in arbitrary code execution on the host system.
Affected software
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
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.
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/05/2026, 23:35:49 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.