MAL-2026-12866

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-bnpl-breadcrumbs/MAL-2026-12866.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12866
Aliases
  • GHSA-r3c4-v8r3-9wx3
Published
2026-08-05T14:58:02Z
Modified
2026-08-06T01:20:14.982505451Z
Summary
Malicious code in bnpl-blocks-atom-bnpl-breadcrumbs (npm)
Details

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

Source: amazon-inspector (35d35af02d640655669a475465b8fc992dc8b79950584824dab0e86c285f8b01)

On require() of the package, index.js loads polyfill.js, which fetches a platform-specific opaque binary from obfuscated Cloudflare Workers subdomains (oob-worker.cf100-.workers.dev, oob-worker.cf101-.workers.dev, etc.) and, if HTTPS delivery fails, falls back to reassembling the payload from base64-encoded DNS TXT records under *.dl.wel1.ru (query c.<domain> for a chunk count, then concatenate N.<domain> TXT records). The retrieved bytes are written to /var/tmp or %TEMP% under a disguised filename (.cache<hex> on POSIX, dotnetdiag<hex>.exe on Windows), chmod 0755'd, and detach-spawned via /bin/sh -c "<file> &" or cmd /c start, with.unref() so the process outlives the require() call. C2 hostnames are assembled at runtime by array-join splits (["oob-","worker.cf10","0-416.w","orkers.d","ev"].join(""), ['sdk.dl.wel1','.ru'].join("")) to defeat static string scanning, and the code respects DONOTTRACK/DISABLETELEMETRY environment variables as a review-evasion gate. The staged filenames impersonate legitimate diagnostic tooling and a hidden marker file (.analyticsstate) is used to track prior execution. No verification (hash, signature, pinning) is performed on the fetched binary.

Source: ghsa-malware (5582dd51f0bd535ef356f6b20ea449ac43b136f2620a90844a21dfa80b0579c4)

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:58:02Z",
            "id": "IN-MAL-2026-015515",
            "import_time": "2026-08-05T15:19:55.62288482Z",
            "versions": [
                "35.8.2"
            ],
            "source": "amazon-inspector",
            "sha256": "35d35af02d640655669a475465b8fc992dc8b79950584824dab0e86c285f8b01"
        },
        {
            "modified_time": "2026-08-05T20:11:08Z",
            "id": "GHSA-r3c4-v8r3-9wx3",
            "import_time": "2026-08-06T00:58:53.441638377Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "sha256": "5582dd51f0bd535ef356f6b20ea449ac43b136f2620a90844a21dfa80b0579c4"
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-atom-bnpl-breadcrumbs

Package

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

Affected ranges

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

Affected versions

35.*
35.8.2

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."
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-atom-bnpl-breadcrumbs/MAL-2026-12866.json"
indicators
{
    "package_integrity": [
        {
            "filename": "bnpl-blocks-atom-bnpl-breadcrumbs-35.8.2.tgz",
            "hashes": {
                "sha512_sri": "sha512-2ngukDLjW/OYse6ItO2UaY4DX5pyuubLzeFwTP/etIQW0WwjkBY60XATggqogpDE0cqthQ73JXqoTF/X3f0UaA==",
                "sha1": "e766e36afe5fae864d7bcd86acacaf56e0006eaa"
            }
        }
    ],
    "evidence_files": [
        {
            "path": "_polyfill.js",
            "tlsh": "e4a1855a126a701d8bb0dbf0871b5415f65af663338081d4fb9c69941fb31248372dfc",
            "sha256": "3f865fb41bd7f40580b4732c636c23dee1bcc2a7e410676a824716637e25d94a"
        }
    ]
}