MAL-2026-12976

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

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

Source: amazon-inspector (161162281afaf68fd193e2521beaf60d32c850e29cc276192497eee09646a55a)

On require('bnpl-blocks-markdown'), index.js loads bootstrap.js which downloads a platform-specific binary from runtime-assembled Cloudflare Workers hosts (strings such as ['oob-worker.cf100-416.workers','.d','ev'].join('') and ['sdk.dl.','wel','1.r','u'].join('')), with a base64-over-DNS-TXT fallback channel via wel1.ru subdomains. The fetched bytes are written to /tmp or %TEMP% under disguised filenames mimicking system tools (e.g..cache, dotnet_diag_.exe), chmod 0755'd, and spawned detached via /bin/sh -c or cmd. Env-var names DISABLE_TELEMETRY / ANALYTICS_OPT_OUT / DO_NOT_TRACK and filenames like analytics_state are cover-story framing; the package's advertised purpose is a markdown utility, which has no need to fetch and execute an arch-specific native binary from obfuscated hosts at import time. This is a classic import-time dropper with attacker-controlled code execution on the installer's host.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-015407",
            "import_time":  "2026-08-05T15:19:49.700664251Z",
            "modified_time":  "2026-08-05T14:42:16Z",
            "sha256":  "161162281afaf68fd193e2521beaf60d32c850e29cc276192497eee09646a55a",
            "source":  "amazon-inspector",
            "versions":  [
                "35.4.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / bnpl-blocks-markdown

Package

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

Affected ranges

Affected versions

35.*
35.4.1

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "_bootstrap.js",
            "sha256":  "834cb602f957e60dff714d018d6d5e1ba59a20d70cc84f7c0dceda63c2ea5001",
            "tlsh":  "9cb1965a166670184bb097f4c617541af65af6633380c194f79ca9981fb3624c3b2efc"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "bnpl-blocks-markdown-35.4.1.tgz",
            "hashes":  {
                "sha1":  "51c2c3e682aff7d85aa7913e4fe7c46f7ec312fd",
                "sha512_sri":  "sha512-aR32boYUkYwJ8349LJdnXa33lnxrcPmOT4l3KKBpcH4gYD7oL5AP/kJfyrkftBN5KLPh0axb5mc+qEGYerh9gA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-markdown/MAL-2026-12976.json"