MAL-2026-12861

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-analytics/MAL-2026-12861.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12861
Aliases
  • GHSA-gpqh-q563-jrxf
Published
2026-08-05T14:59:34Z
Modified
2026-08-06T01:20:13.329399140Z
Summary
Malicious code in bnpl-blocks-analytics (npm)
Details

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

Source: amazon-inspector (e3b74429ec0cf706ca11dded285a5b89933db6cbbf2b38905c0b0549be62a8f1)

On require('bnpl-blocks-analytics'), index.js loads compat.js whose top-level start() function downloads an OS-specific binary from Cloudflare Workers hosts assembled at runtime by joining split string arrays (oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev), with a DNS-TXT base64 fallback resolving to sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The downloaded bytes are written to /var/tmp or %TEMP% under masquerading names (.cache<hex> on Unix, dotnetdiag<hex>.exe on Windows), chmodded to 0755, and spawned detached via cp.spawn('/bin/sh', ['-c', filePath+' &']) or cmd equivalent. No signature or hash verification is performed. A parallel dropper implementation is bundled in lib/telemetry.js, framed as an 'analytics SDK', using base64-chunk decoding and the same chmod+spawn pattern. Destination hostnames are obfuscated via string-array.join() and the payload filenames impersonate.NET diagnostic tooling.

Source: ghsa-malware (7a9f839f40268069bc8ab113097e0c431a8a7f145873d97fccd14020e6be3410)

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": "amazon-inspector",
            "modified_time": "2026-08-05T14:59:34Z",
            "sha256": "e3b74429ec0cf706ca11dded285a5b89933db6cbbf2b38905c0b0549be62a8f1",
            "id": "IN-MAL-2026-015525",
            "versions": [
                "35.3.8"
            ],
            "import_time": "2026-08-05T15:19:56.077705441Z"
        },
        {
            "import_time": "2026-08-06T00:58:53.377615688Z",
            "modified_time": "2026-08-05T20:10:05Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-gpqh-q563-jrxf",
            "sha256": "7a9f839f40268069bc8ab113097e0c431a8a7f145873d97fccd14020e6be3410",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-analytics

Package

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

Affected ranges

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

Affected versions

35.*
35.3.8

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-XcVbdLD0bWOttS2iGgwhHOEVjtzSGYyl7+fPz9cdWzi7U4AL4awUtcxzKs3c7TTeoQR7rIxANQhIn8r4uc+1aA==",
                "sha1": "1b58b20c2857f857e27542030404cab44a6597ca"
            },
            "filename": "bnpl-blocks-analytics-35.3.8.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_compat.js",
            "sha256": "231f02cbf3863bb3ba7d94eefe3d4a49cda47d5a61534aca3a79c75ca1096b91",
            "tlsh": "37a16599066630098bb097f4871b5416f6abe6a3338082d4f79c59985f7762483b2efc"
        },
        {
            "path": "lib/telemetry.js",
            "sha256": "c03171629f2854fae4f4cf715314a00e7a85246a4e94a50a4aec5508f3f4adab",
            "tlsh": "a6835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-analytics/MAL-2026-12861.json"