MAL-2026-12822

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/beaver-ui-search-dropdown/MAL-2026-12822.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12822
Aliases
  • GHSA-7rpr-87f4-37w9
Published
2026-08-05T15:05:35Z
Modified
2026-08-06T01:20:10.433051993Z
Summary
Malicious code in beaver-ui-search-dropdown (npm)
Details

-= 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.

Database specific
{
    "malicious-packages-origins": [
        {
            "versions": [
                "35.4.5"
            ],
            "id": "IN-MAL-2026-015564",
            "import_time": "2026-08-05T15:19:58.149320555Z",
            "modified_time": "2026-08-05T15:05:35Z",
            "source": "amazon-inspector",
            "sha256": "117b4f6c7e9e402d92085e427c4b40874e9b6838e16c15562408a0bda241f9ae"
        },
        {
            "modified_time": "2026-08-05T17:59:10Z",
            "id": "GHSA-7rpr-87f4-37w9",
            "import_time": "2026-08-06T00:58:53.31784083Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "sha256": "5aa96551428ffa96321135f6a2df75bfddc6d1a28627a94dc3d689940e13e377"
        }
    ]
}
References
Credits

Affected packages

npm / beaver-ui-search-dropdown

Package

Name
beaver-ui-search-dropdown
View open source insights on deps.dev
Purl
pkg:npm/beaver-ui-search-dropdown

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

35.*
35.4.5

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-51oJhV/L0tvRQ8rS54+GRbV4nMKnF0zXPHjpJQWEd9xeBcZajS+o0T39+ccKHGN0lBdxBSqClYxdgalaKyk1Ig==",
                "sha1": "b3d8ad96077cd6177daed45525f01bf659c27361"
            },
            "filename": "beaver-ui-search-dropdown-35.4.5.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_init.js",
            "tlsh": "7ba1635a16aa71184b709be4c717541af66af6633380c2d4f79c69885f72134c3b2efc",
            "sha256": "40ed5fdbcbe092e91511a5c4beaedaf61ca352442e10a04c116eb50033811b03"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/beaver-ui-search-dropdown/MAL-2026-12822.json"