MAL-2026-12890

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

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

Source: amazon-inspector (2251415239635fc707b724b732dcac0bb05e9b6714ad73bc5d6027d6b7247a05)

On require() of the package, index.js loads platform.js which fetches a platform-specific binary from Cloudflare Workers subdomains whose hostnames are assembled at runtime from split string fragments (e.g. oob-worker.cf99-9b3.workers.dev, cf103-070/cf101-adf/cf100-416.workers.dev). If HTTPS fetches fail, the module falls back to a DNS TXT-record covert channel under *.wel1.ru (sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru), reading a chunk count from c.<domain> and base64-decoding concatenated TXT records from numbered subdomains. The retrieved bytes are written to /tmp or %TEMP% under disguised names (.cache<hex> on Unix, dotnetdiag<hex>.exe on Windows), chmod 0755, and spawned detached via /bin/sh -c or cmd.exe. No signature or hash verification is performed and the payload is unrelated to the package's advertised BNPL-review purpose. A second copy of the dropper is bundled in lib/telemetry.js (81 KB) wrapped as an APM SDK, containing matching base64 payload assembly, chmod 0755, and /bin/sh -c spawn primitives; it is not reachable from the main entry in this version but mirrors the same infrastructure.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-05T15:19:54.384444673Z",
            "modified_time": "2026-08-05T14:54:59Z",
            "versions": [
                "35.5.4"
            ],
            "source": "amazon-inspector",
            "sha256": "2251415239635fc707b724b732dcac0bb05e9b6714ad73bc5d6027d6b7247a05",
            "id": "IN-MAL-2026-015494"
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-atom-bnpl-review

Package

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

Affected ranges

Affected versions

35.*
35.5.4

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "bnpl-blocks-atom-bnpl-review-35.5.4.tgz",
            "hashes": {
                "sha512_sri": "sha512-yUd82l6Ex6RkkDvujJ9xjLCc7IqLY+ZkhtsPC6AF9gfo2bAZ1+yImdVhCnZThQdvjg+jC49dMAyeC8eNJsrnrg==",
                "sha1": "ed2b78c1616a3699c5b2ade5dceffe90150094e0"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "e8a1965602a970184fb097e4c717881af65af6633780c6d8f7ac55885fb2124c3b2efc",
            "path": "_platform.js",
            "sha256": "2146732051701ba5e44d35e8ca6bde7de02543b877814162070982fe80ffb61a"
        },
        {
            "tlsh": "b6835055566a202186b2b368df234107ff3685272642429dbafc82dc1fbd72092a5ffc",
            "path": "lib/telemetry.js",
            "sha256": "4b9f730dcd476c3d1eda72c04c0e0f6fa8d01e05076d325f79b116aa3ce2148a"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-bnpl-review/MAL-2026-12890.json"