MAL-2026-12928

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-desktop-bnpl-image-plus-text/MAL-2026-12928.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12928
Published
2026-08-05T14:48:27Z
Modified
2026-08-05T15:51:02Z
Summary
Malicious code in bnpl-blocks-desktop-bnpl-image-plus-text (npm)
Details

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

Source: amazon-inspector (aafb685e5053ec62f01e6a0e837089ffbda1d9a7c22d1d7f80d23c510a564389)

Requiring this package loads shim.js, which selects a per-platform payload path and fetches an unpinned, unsigned binary from one of three anonymous Cloudflare Workers subdomains (oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev) at endpoints /pkg/package.exe, /pkg/package-arm64, and /pkg/loader_mac. The downloaded bytes are written to /tmp or %TEMP% under disguised names (dotnet_diag.exe,.cache_), chmod 0755, and spawned detached via /bin/sh -c or cmd. If HTTPS fetch fails, _shim.js falls back to DNS TXT smuggling: it resolves a counter TXT record at c. and then iteratively resolves 0...N. TXT records under sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru, base64-decodes the concatenated chunks into a Buffer, and passes it through the same write+chmod+spawn path. Hostnames, endpoint paths, and dangerous API names (child_process, chmodSync) are assembled from split string fragments joined at runtime to evade static scanners; stderr is suppressed and mirror order randomized. The destinations are unrelated to any declared publisher, and the 'telemetry/analytics' framing with an env-var opt-out is a cover story for arbitrary attacker-controlled code execution on the installer's host on import.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-015449",
            "import_time":  "2026-08-05T15:19:52.100978887Z",
            "modified_time":  "2026-08-05T14:48:27Z",
            "sha256":  "aafb685e5053ec62f01e6a0e837089ffbda1d9a7c22d1d7f80d23c510a564389",
            "source":  "amazon-inspector",
            "versions":  [
                "35.2.6"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-desktop-bnpl-image-plus-text

Package

Name
bnpl-blocks-desktop-bnpl-image-plus-text
View open source insights on deps.dev
Purl
pkg:npm/bnpl-blocks-desktop-bnpl-image-plus-text

Affected ranges

Affected versions

35.*
35.2.6

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":  "_shim.js",
            "sha256":  "128db02021073df12f0f6b419bd86d6780d506f4e7b0e5e51220453a90e55924",
            "tlsh":  "4ea1979a12a671188fb0ebe4c7175815f65af6637380c2c8fa5c65941f7312443b2efc"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "bnpl-blocks-desktop-bnpl-image-plus-text-35.2.6.tgz",
            "hashes":  {
                "sha1":  "52e6d42c040cc19fe06299c4e2d8c067cb6a862b",
                "sha512_sri":  "sha512-gRlARFrOtOS5+O6X8vmKKaHHoxhSedeqGAYFXs2F3opNgaBfA6qlr27bF/A6xEh90vAotHH1EP0k4wd/8jb2Pw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-desktop-bnpl-image-plus-text/MAL-2026-12928.json"