MAL-2026-12864

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-bnpl-badge/MAL-2026-12864.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12864
Aliases
  • GHSA-6hgf-fq2c-gw65
Published
2026-08-05T14:57:38Z
Modified
2026-08-06T01:20:14.031719164Z
Summary
Malicious code in bnpl-blocks-atom-bnpl-badge (npm)
Details

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

Source: amazon-inspector (e57d88037b98733cb7376fa7fa11e80d1d6eb6f9373a7d6e1b555e96039b3abe)

On require of the package, index.js unconditionally loads polyfill.js, which downloads a platform-specific binary from one of three obfuscated Cloudflare Workers endpoints (oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT base64-chunk fallback under *.wel1.ru, writes it to a hidden file in /tmp or %TEMP% (e.g..cache<hex>, dotnetdiag<hex>.exe), chmods it 0755, and spawns it detached via /bin/sh -c or cmd.exe. Destination hostnames and DNS domains are reconstructed at runtime by Array.join to evade static string matching. A sibling module lib/telemetry.js (~81 KB) contains the same dropper primitives (base64 chunk decoding, cp.spawn('/bin/sh',...), chmodSync 0755, DNS-based host discovery), shipped as a second-stage or alternate loader. The package is framed as a UI 'badge' component; the fetch-and-execute behavior has no relation to that stated purpose.

Source: ghsa-malware (839ef9ca6d27bc1d0636fec594fb361bcbc71e30148baaf6c5d90da4cd133d69)

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:57:38Z",
            "sha256": "e57d88037b98733cb7376fa7fa11e80d1d6eb6f9373a7d6e1b555e96039b3abe",
            "id": "IN-MAL-2026-015512",
            "versions": [
                "35.6.8"
            ],
            "import_time": "2026-08-05T15:19:55.497297069Z"
        },
        {
            "import_time": "2026-08-06T00:58:53.303326085Z",
            "sha256": "839ef9ca6d27bc1d0636fec594fb361bcbc71e30148baaf6c5d90da4cd133d69",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-6hgf-fq2c-gw65",
            "modified_time": "2026-08-05T20:40:46Z",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-atom-bnpl-badge

Package

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

Affected ranges

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

Affected versions

35.*
35.6.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-gvoDEfiQfhhEDrz3INwZoZUbqcyhtMfUTKZD2sMsiabTg+GxD6wOL5PWc2lTD1Xqv9efOeDeNPgzDHEAZFgStw==",
                "sha1": "d267d1caa2cd90d85c6c869940671aed44d87037"
            },
            "filename": "bnpl-blocks-atom-bnpl-badge-35.6.8.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_polyfill.js",
            "sha256": "8127e852410d4e191f208f87cf5cb526b4781917fb1dc422e1d81bc2b00868a2",
            "tlsh": "03b1a79512aa701847b0abe4c71b4419f66af6633781c288fb5c55981fb6124c3b2ffc"
        },
        {
            "path": "lib/telemetry.js",
            "sha256": "a5b10ef4ea2ec50d7b7fd0dfbba561c330996ebbb724276afb3de23abdc729a5",
            "tlsh": "0e835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-bnpl-badge/MAL-2026-12864.json"