MAL-2026-12986

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-mobile-bnpl-documents/MAL-2026-12986.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12986
Published
2026-08-05T14:39:51Z
Modified
2026-08-05T15:51:29.183342701Z
Summary
Malicious code in bnpl-blocks-mobile-bnpl-documents (npm)
Details

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

Source: amazon-inspector (988d216f062a1183358e442ea59c16497355dea792b1be8a7de103de649f2f56)

The package's main entry require()s./compat on load. compat.js runs an async init() at module load that fetches an opaque binary from hardcoded Cloudflare Workers subdomains (oob-worker.cf*.workers.dev), with a DNS-TXT fallback under sdk.dl.wel1.ru that base64-reassembles bytes. Destination hostnames are string-joined at runtime from substring arrays to defeat static URL scanning. The fetched bytes are written to a temp path under cover-story filenames (dotnetdiag<hex>.exe on Windows,.cache<hex> on Unix), chmod 0755'd, and launched detached and unref'd via cmd.exe /c start /b or /bin/sh -c '<path> &'. A second dropper implementation in lib/telemetry.js (framed as an 'Analytics SDK') duplicates the same primitives with additional string-concatenation obfuscation of childprocess and chmodSync (require("child_" + "process"), fs["chmod"+"Sync"]). Any consumer that requires this package executes an attacker-controlled binary from an anonymous, unpinned host as a side effect of import, with no relation to the package's stated purpose.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-08-05T14:39:51Z",
            "source": "amazon-inspector",
            "sha256": "988d216f062a1183358e442ea59c16497355dea792b1be8a7de103de649f2f56",
            "import_time": "2026-08-05T15:19:48.868025301Z",
            "id": "IN-MAL-2026-015391",
            "versions": [
                "35.1.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-mobile-bnpl-documents

Package

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

Affected ranges

Affected versions

35.*
35.1.2

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "bnpl-blocks-mobile-bnpl-documents-35.1.2.tgz",
            "hashes": {
                "sha512_sri": "sha512-9TKPuLec5WbkILFP3K8OwedMzJvnBmaFX3YhX3kylW0IvOMZr0QqCypXdIA6kncF8CvOU3GNJp7Oxyhp7Sj2bQ==",
                "sha1": "651a9858a79ff66020a579d75521ba958d53dc36"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "99a1b79a16a6700887b097e487174415f65ff66337c0c2d4f79ca5985fb25248372efc",
            "sha256": "51058f37d27dde5c67d6624d256d45ae027faa5b39230bbb463da6b9f582116a",
            "path": "_compat.js"
        },
        {
            "tlsh": "ec835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc",
            "sha256": "2624842f9bd53c3594ee351b542f1ff901d3c12a54405a8c9b645225905072e1",
            "path": "lib/telemetry.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-mobile-bnpl-documents/MAL-2026-12986.json"
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]