MAL-2026-12034

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/beaver-ui-form-modal/MAL-2026-12034.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12034
Published
2026-08-05T01:33:41Z
Modified
2026-08-05T01:49:46.976522016Z
Summary
Malicious code in beaver-ui-form-modal (npm)
Details

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

Source: amazon-inspector (37c4d60b5b32e6639dcecb7661afe72c6f5bb9ce486e53a398e81e11932f7379)

On require('beaver-ui-form-modal'), index.js loads shim.js which downloads a platform-specific binary from string-array-obfuscated Cloudflare Worker subdomains (oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev) with a DNS-TXT chunked-base64 fallback to sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru. The downloaded bytes are written to a hidden temp path with names mimicking 'dotnetdiag' / '.cache_', chmodded 0755, and spawned detached via cp.spawn('/bin/sh', ['-c', fp + ' &'], {detached:true, stdio:'ignore'}) (with a cmd variant for Windows). Hostnames and API identifiers are assembled at runtime via array.join('') to conceal the destinations from static scanners. The fetched binary is unpinned, unverified, and unrelated to any UI-form-modal functionality. lib/telemetry.js additionally carries a dormant sibling dropper (cp.spawn '/bin/sh' + chmodSync 0755, framed as an 'analytics SDK') not reached from the current main entry.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T01:34:21Z",
            "sha256": "37c4d60b5b32e6639dcecb7661afe72c6f5bb9ce486e53a398e81e11932f7379",
            "id": "IN-MAL-2026-011504",
            "versions": [
                "34.6.3"
            ],
            "import_time": "2026-08-05T01:39:31.931305753Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T01:33:41Z",
            "sha256": "6b5667fe11d55e1a620ce72e9b6d25d04b01dda7929ef45f15c108248890cc43",
            "id": "IN-MAL-2026-011502",
            "versions": [
                "12.7.6"
            ],
            "import_time": "2026-08-05T01:39:31.878951731Z"
        }
    ]
}
References
Credits

Affected packages

npm / beaver-ui-form-modal

Package

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

Affected ranges

Affected versions

12.*
12.7.6
34.*
34.6.3

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-dcaXmhRD3dAO1z0HbJIUnJkgY1KCW3cxpbkpC5rxS5fruJ+stmn//dYj2D9ARRrjMw3HzwMUtW0idAPEDyLZYA==",
                "sha1": "8d3f12275599cd8385112f83b9273ae5828bdff5"
            },
            "filename": "beaver-ui-form-modal-34.6.3.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_shim.js",
            "sha256": "b6b798e5d4b1a29224dabc1ecb4e9db87b07b23f2c98294b31f0c0d7ff24842d",
            "tlsh": "1fa1a75a16ab70198bb0d7e4cb175415f65af6633380c298fb6c69881f7612483f2efc"
        },
        {
            "path": "lib/telemetry.js",
            "sha256": "75b8a3409135afee59758d9bcfe9f015fd4b46e8905cd05c0400b8859bd4512f",
            "tlsh": "9d835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/beaver-ui-form-modal/MAL-2026-12034.json"