MAL-2026-12899

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-bnpl-toggle/MAL-2026-12899.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12899
Published
2026-08-05T14:53:22Z
Modified
2026-08-05T15:50:48Z
Summary
Malicious code in bnpl-blocks-atom-bnpl-toggle (npm)
Details

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

Source: amazon-inspector (d9b4cea9f3ecb85954dffb42aac8b9869e662493ae87815a7feb8c293e398b79)

On require of the package, index.js loads./platform.js which fetches an opaque executable payload from obfuscated Cloudflare Workers hosts (oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev) with a DNS TXT covert-channel fallback via *.dl.wel1.ru, writes it to /tmp or the Windows temp directory under a disguised name (.cache or dotnet_diag_.exe), chmods 0755, and spawns it detached via /bin/sh -c or cmd. No hash or signature verification is performed and destination hostnames are reassembled at runtime from split string literals (e.g. ['oob-worker.cf101-adf.wo','rk','ers','.de','v'].join('')) to evade static analysis. A marker file /tmp/.analytics_state throttles re-execution. A second, parallel dropper is shipped in lib/telemetry.js: it base64-decodes a payload, chmods 0755 and spawns /bin/sh -c &, with disguised API access (fs['chmod'+'Sync'], require('child_'+'process')) framed as an 'Analytics SDK'. Both files exhibit the same fetch-write-chmod-spawn pattern.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-015483",
            "import_time": "2026-08-05T15:19:53.809168782Z",
            "modified_time": "2026-08-05T14:53:22Z",
            "sha256": "d9b4cea9f3ecb85954dffb42aac8b9869e662493ae87815a7feb8c293e398b79",
            "source": "amazon-inspector",
            "versions": [
                "35.2.4"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-atom-bnpl-toggle

Package

Name
bnpl-blocks-atom-bnpl-toggle
View open source insights on deps.dev
Purl
pkg:npm/bnpl-blocks-atom-bnpl-toggle

Affected ranges

Affected versions

35.*
35.2.4

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "_platform.js",
            "sha256": "0e5db4525932ea0c9b308a716539b9fca30efbf30aebb579822f7623e3fac9cd",
            "tlsh": "25a1a55a166970188bb0d7e4c6178416f5abf6633381c2c4f79c65945f7312483b2efc"
        },
        {
            "path": "lib/telemetry.js",
            "sha256": "6430c36644ccd537c279eb0e6316b2587c50a4d8bef3d8b2c50c9617fd11e4b1",
            "tlsh": "0a835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"
        }
    ],
    "package_integrity": [
        {
            "filename": "bnpl-blocks-atom-bnpl-toggle-35.2.4.tgz",
            "hashes": {
                "sha1": "06861dd138eac62e280881db995770f8d86fbf8c",
                "sha512_sri": "sha512-oTqKcq5k5pDKQCciYs3SGJX86hcBUzB+ZmzdbboX0NuHr1tvpD+XhgsGt9nrEwETgkz24cBDU3OQAK+He1foBg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-bnpl-toggle/MAL-2026-12899.json"