MAL-2026-11508

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/beaver-ui-header/MAL-2026-11508.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11508
Aliases
  • GHSA-qm7r-x5cp-5wc2
Published
2026-08-03T15:46:52Z
Modified
2026-08-04T22:04:56.654466001Z
Summary
Malicious code in beaver-ui-header (npm)
Details

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

Source: amazon-inspector (758137caa2a9c3d1dffb2fcffabc810c9b47696f78f20d412151d351d425faa0)

beaver-ui-header@12.3.9 advertises itself as a UI header library but ships a setup.js that runs on npm postinstall and again on require via index.js. It reconstructs network destinations at runtime by joining arrays of substrings (e.g. ['oob-wor','ker.cf','99-9b3.wor','kers','.dev']) to hide Cloudflare Workers hosts of the form oob-worker.cfNN-*.workers.dev, with a DNS-TXT fallback channel that reassembles a base64 payload from numbered TXT records under *.dl.well1.site (c.<domain>, 0.<domain>, 1.<domain>,...). A platform-specific binary is downloaded, staged under /var/tmp or the Windows TEMP directory with a disguised name (dotnetdiag<tag>.exe on Windows,.cache<tag> on Unix), chmodded 0755, and launched detached/unref'd via execFile with stdio ignored. Setup.js also invokes execSync('powershell...') on Windows. Variable and env-var names (analyticsstate, DISABLETELEMETRY, ANALYTICSOPTOUT) and the dotnetdiag_ filename frame the flow as telemetry, but the package's stated purpose (UI header component) has no need for platform-specific native binaries, and the destinations are not the publisher's infrastructure. There is no version pin, hash, or signature verification on the downloaded binary.

Source: ghsa-malware (16b97a60edb5f178da1f1d6f0a672954c9593941bacb970c4ebee657fb766bfe)

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.369012373Z",
            "sha256": "16b97a60edb5f178da1f1d6f0a672954c9593941bacb970c4ebee657fb766bfe",
            "modified_time": "2026-08-03T15:46:52Z",
            "id": "GHSA-qm7r-x5cp-5wc2",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ]
        },
        {
            "import_time": "2026-08-04T21:33:15.457584252Z",
            "modified_time": "2026-08-04T21:26:44Z",
            "sha256": "758137caa2a9c3d1dffb2fcffabc810c9b47696f78f20d412151d351d425faa0",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-011060",
            "versions": [
                "12.3.9"
            ]
        },
        {
            "modified_time": "2026-08-04T21:26:35Z",
            "source": "amazon-inspector",
            "sha256": "11d7dd0c521119b2dfb0f691a78a054bdb84f893692e6e9f640fb1cc282941ee",
            "import_time": "2026-08-04T21:33:15.4331985Z",
            "id": "IN-MAL-2026-011059",
            "versions": [
                "34.6.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / beaver-ui-header

Package

Affected ranges

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

Affected versions

12.*
12.3.9
34.*
34.6.3

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": "17b1a4550afa71384392a1e8d92b5816b09fe5533284e990f34cb6985f97268c3b39fc",
            "sha256": "8f0408a8a36dac6c84b61ce497abe4e97fbec7aa75120b387894e005dff29ac7",
            "path": "setup.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/beaver-ui-header/MAL-2026-11508.json"