MAL-2026-11506

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/beaver-ui-date-range-picker/MAL-2026-11506.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11506
Aliases
  • GHSA-x5q8-8mg7-8jvg
Published
2026-08-03T15:46:51Z
Modified
2026-08-04T22:04:55.129230669Z
Summary
Malicious code in beaver-ui-date-range-picker (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (744905f86e776fde6075a23e40274b0d4798bbb835114506926e0799430c24ba)

beaver-ui-date-range-picker@12.5.3 declares a postinstall hook (node setup.js) and additionally triggers the same script from index.js via try { require('./setup'); } catch (_) {}, so the dropper fires both at npm install and when a consumer requires the package (bypassing --ignore-scripts). setup.js reconstructs a set of Cloudflare Worker hostnames at runtime by joining fragmented string arrays (e.g. oob-worker.cf99-9b3.workers.dev through oob-worker.cf103-070.workers.dev), selects a platform-specific payload path, downloads a binary via https.get, writes it to /tmp or %TEMP% under decoy names such as .cache_<hex> or dotnet_diag_<hex>.exe, chmods 0755 on POSIX, and launches it detached with .unref(). A DNS-TXT covert channel resolves numbered subdomains under *.dl.well1.site and reassembles a base64-encoded payload as an out-of-band fallback delivery path. On Windows the script invokes execSync('powershell...'). The cover story presents the behavior as analytics_state/telemetry, but the package's advertised purpose (a UI date-range picker) has no legitimate need to fetch and execute a native binary from obfuscated non-publisher hosts. Hostname obfuscation, unpinned mutable URLs, absent hash/signature verification, decoy filenames, detached background execution, and a DNS-TXT fallback channel are the fingerprint of a supply-chain dropper.

Source: ghsa-malware (2478c242068e826d05e3864e3901a1419a0a8552cd987c08999483acf3940df9)

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": [
        {
            "source": "ghsa-malware",
            "import_time": "2026-08-04T00:15:24.37129942Z",
            "sha256": "2478c242068e826d05e3864e3901a1419a0a8552cd987c08999483acf3940df9",
            "modified_time": "2026-08-03T15:46:52Z",
            "id": "GHSA-x5q8-8mg7-8jvg",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ]
        },
        {
            "import_time": "2026-08-04T21:33:12.461153252Z",
            "modified_time": "2026-08-04T21:15:45Z",
            "sha256": "130e18ac7fee09b5b9c954e7b1b9ad8cbad19cf2d551f44ec32ebbc29c8e3a05",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-010986",
            "versions": [
                "34.5.9"
            ]
        },
        {
            "import_time": "2026-08-04T21:33:12.949191383Z",
            "modified_time": "2026-08-04T21:17:32Z",
            "sha256": "744905f86e776fde6075a23e40274b0d4798bbb835114506926e0799430c24ba",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-010998",
            "versions": [
                "12.5.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / beaver-ui-date-range-picker

Package

Name
beaver-ui-date-range-picker
View open source insights on deps.dev
Purl
pkg:npm/beaver-ui-date-range-picker

Affected ranges

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

Affected versions

12.*
12.5.3
34.*
34.5.9

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."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "evidence_files": [
        {
            "tlsh": "04a1756a16a670088bb0d7e4c6175415f65af56373809298fb9c65981ff222482f3efc",
            "sha256": "bfd256a24532c19bef60f6cd37bfd861f207b07ec149e8a8c8abe36b6c475d5d",
            "path": "_platform.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/beaver-ui-date-range-picker/MAL-2026-11506.json"