MAL-2026-12876

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-bnpl-image/MAL-2026-12876.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12876
Aliases
  • GHSA-j6xp-jc33-qf8j
Published
2026-08-05T14:55:40Z
Modified
2026-08-06T01:20:19.417492751Z
Summary
Malicious code in bnpl-blocks-atom-bnpl-image (npm)
Details

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

Source: amazon-inspector (65c88f06629de21bc094c8b6767cfe524db6b348eb0c7a32b4f54ef1447376f2)

On require() of the package, index.js loads runtime.js which downloads a platform-specific executable from attacker-controlled hosts whose names are reconstructed at runtime via split-string concatenation (oob-worker.cf1{01,02,03}*.workers.dev and {sdk,ext,pkg,net}.dl.wel1.ru), writes the payload to a temp directory under a disguised name (dotnetdiag<hex>.exe on Windows, hidden.cache<hex> on Unix), chmods 0755 on Unix, and spawns it detached via /bin/sh -c or cmd.exe /c start /b. A DNS-TXT-over-base64 fallback channel is present. Env-var kill switches (DISABLETELEMETRY, ANALYTICSOPTOUT, DONOTTRACK) and a /tmp/.analyticsstate stamp implement session dedup and evasion. A second file lib/telemetry.js (not currently referenced from index.js) ships the same drop-and-exec primitive with split require("child_"+"process") obfuscation and base64-reconstructed payload chunks.

Source: ghsa-malware (ec873568774b1987f074b3f3af3af477b29eb01c832b5d7b55d111157b08da40)

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": [
        {
            "id": "IN-MAL-2026-015499",
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T14:55:40Z",
            "sha256": "65c88f06629de21bc094c8b6767cfe524db6b348eb0c7a32b4f54ef1447376f2",
            "versions": [
                "35.2.9"
            ],
            "import_time": "2026-08-05T15:19:54.738865239Z"
        },
        {
            "source": "ghsa-malware",
            "modified_time": "2026-08-05T20:04:49Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "sha256": "ec873568774b1987f074b3f3af3af477b29eb01c832b5d7b55d111157b08da40",
            "id": "GHSA-j6xp-jc33-qf8j",
            "import_time": "2026-08-06T00:58:53.398726465Z"
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-atom-bnpl-image

Package

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

Affected ranges

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

Affected versions

35.*
35.2.9

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",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-bnpl-image/MAL-2026-12876.json"
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha1": "f4e3aa2a7a86e9596353830c79b0384290e7b563",
                "sha512_sri": "sha512-wSJRiuOYeKxZECTxv10JuGD8CHyAhIcPkAzHoOXEODXI4pkbK/hG58qhMcaeK3JMuMWxq5RSI9LH1IV+0bpAwg=="
            },
            "filename": "bnpl-blocks-atom-bnpl-image-35.2.9.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_runtime.js",
            "tlsh": "a2a1b76a156670188770dbe4c7175416f62af6633781c5d8f79c99880fb262482b3efc",
            "sha256": "6724ff8a155771b874a24586eab1849e3f43589afc2d4950a2045e74baae8c16"
        },
        {
            "path": "lib/telemetry.js",
            "tlsh": "03835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc",
            "sha256": "38f2bfd46cda8690d7dffcaacc8a97e3ffc64b3fe8576a2acbfb06b79100ab45"
        }
    ]
}