MAL-2026-12869

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

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

Source: amazon-inspector (f49d0a2f45c6a825ed105c2859c618bedcc4643650bf6719c35c47e462c553c8)

On require of the package's main entry, index.js loads./shim.js, which assembles attacker-controlled hostnames from string-split arrays (e.g. ["oob-work","er.cf101-adf.w","orke","rs.d","ev"].join("") and ["sdk.","dl.we","l1.","ru"].join("")), downloads a platform-specific binary over HTTPS from a rotated list of oob-worker.cf10*-*.workers.dev hosts with a DNS TXT fallback under dl.wel1.ru, writes it to /var/tmp/.cache<rnd> on Unix or %TEMP%\dotnetdiag<rnd>.exe on Windows, chmods it 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start. A sibling file lib/telemetry.js contains the same fetch-decode-chmod-exec pattern with dynamic property construction (fs["chmod"+"Sync"]) disguised as an analytics SDK. The package name suggests a BNPL UI component but ships an install/import-time binary dropper with hostname obfuscation and DNS-over-TXT fallback for HTTPS blocking.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-015510",
            "modified_time": "2026-08-05T14:57:22Z",
            "import_time": "2026-08-05T15:19:55.373723294Z",
            "source": "amazon-inspector",
            "sha256": "f49d0a2f45c6a825ed105c2859c618bedcc4643650bf6719c35c47e462c553c8",
            "versions": [
                "35.1.6"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-atom-bnpl-carousel-line

Package

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

Affected ranges

Affected versions

35.*
35.1.6

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-bnpl-carousel-line/MAL-2026-12869.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "9c193de3839a900de9facd973fc42d833ec79ad97d2285637f3b9129be62867f",
            "tlsh": "c4b1a66616a6701c8bb0dbe5c60b5415f65af6633380c2d4fb9c69985ff312482b2efc",
            "path": "_shim.js"
        },
        {
            "sha256": "aa19fb0f90e19318fdafe9730cc24d53cde3646b5da85196524064c3853eb2b1",
            "tlsh": "35835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc",
            "path": "lib/telemetry.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "bnpl-blocks-atom-bnpl-carousel-line-35.1.6.tgz",
            "hashes": {
                "sha1": "264c35e7a0e5dada4ff3e299cee586845a1c8e62",
                "sha512_sri": "sha512-5Kk/pQRVq7R2+ku1yWi6y9ytwmSGnV+x8hATM4P3vK3WhvMSVMeYo5XDFxLLRbXhsIxtLtacN9f41y/r203KMA=="
            }
        }
    ]
}