MAL-2026-12865

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-bnpl-base-popup/MAL-2026-12865.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12865
Aliases
  • GHSA-jcq8-g68g-q43c
Published
2026-08-05T14:56:33Z
Modified
2026-08-06T01:20:14.698362176Z
Summary
Malicious code in bnpl-blocks-atom-bnpl-base-popup (npm)
Details

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

Source: amazon-inspector (a7ff15e65896892e348d28080e20d974d32a0f8cd2bb5b523e63b9b3d35395e3)

On require() of the package, index.js loads polyfill.js, which assembles Cloudflare Workers hostnames (oob-worker.cf100-416.workers.dev, cf102-baf/cf99-9b3/cf101-adf.workers.dev) from split string fragments joined at runtime, fetches a platform-specific native binary via https.get, writes it to /var/tmp/.cache<hex> on Unix or %TEMP%\dotnetdiag<hex>.exe on Windows, chmod 755s it, and spawns it detached via /bin/sh -c '<file> &' or cmd /c start. DNS-TXT-chunked base64 fallback resolution is provided via reconstructed hostnames under dl.wel1.ru. Execution is gated by a /tmp/.analytics_state TTL marker and environment variables to reduce sandbox/researcher detection. A second file, lib/telemetry.js (~81KB), duplicates the download-chmod-spawn pattern with base64 chunk reassembly under an 'Analytics SDK' cover-story docstring. The main entry unconditionally requires _polyfill.js, so import of the package triggers download-and-execute of an opaque author-controlled binary on the installer's machine.

Source: ghsa-malware (edb84ae040e9239e4db9bcee8733232e0a82b9bc9eece05a542936c7c0ac9b4d)

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": [
        {
            "modified_time": "2026-08-05T14:56:33Z",
            "id": "IN-MAL-2026-015505",
            "import_time": "2026-08-05T15:19:55.048169945Z",
            "versions": [
                "35.2.9"
            ],
            "source": "amazon-inspector",
            "sha256": "a7ff15e65896892e348d28080e20d974d32a0f8cd2bb5b523e63b9b3d35395e3"
        },
        {
            "modified_time": "2026-08-05T19:02:19Z",
            "id": "GHSA-jcq8-g68g-q43c",
            "import_time": "2026-08-06T00:58:53.403151227Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "sha256": "edb84ae040e9239e4db9bcee8733232e0a82b9bc9eece05a542936c7c0ac9b4d"
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-atom-bnpl-base-popup

Package

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

Affected ranges

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

Affected versions

35.*
35.2.9

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-09lkw2htJ3mvGr6AN8hxCdGhXvQK5pGQKXoUtMVAZ6X5RLmHLebH4wReMRXKKqLhpcIT/W1Iq7adAKf1pKXyLQ==",
                "sha1": "9162c4986daa6b422131ed79adc666f458471389"
            },
            "filename": "bnpl-blocks-atom-bnpl-base-popup-35.2.9.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_polyfill.js",
            "tlsh": "f7a1966a167670098b70dbe0c7175415f66bf263728092d4f79c65884fb222883f2efc",
            "sha256": "94429057fb580f328d98729f6d5ff909c9461a1ddf29a33c23713ae249b65276"
        },
        {
            "path": "lib/telemetry.js",
            "tlsh": "4d835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc",
            "sha256": "6d559d97e724e640f75456a2bc2015d9880d63a52a915df0263d1610284ea273"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-bnpl-base-popup/MAL-2026-12865.json"