{"id":"MAL-2026-12913","revision":"0f448a66fafd4caab262f8e34ef52ddf","records":[{"revision":"0f448a66fafd4caab262f8e34ef52ddf","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12913","aliases":[],"title":"Malicious code in bnpl-blocks-desktop-bnpl-article-author (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f80a4ff82e37de309fbc903891bd8ac770f0542251e9b4afc15fbd36e94ac21c)\nOn require, index.js loads _shim.js, which fetches a platform-specific native executable from hardcoded hosts reconstructed at runtime via array `.join('')` to evade string search: `oob-worker.cf102-baf.workers.dev`, `oob-worker.cf103-070.workers.dev`, `oob-worker.cf99-9b3.workers.dev`. The fetched bytes are written to /tmp or %TEMP% under cover-story names (`dotnet_diag_*.exe`, `.cache_*`), chmodded 0755, and spawned detached via `spawn('/bin/sh', ['-c', fp + ' &'], {detached:true})` or `spawn('cmd',...)`. A DNS-over-TXT covert channel provides fallback delivery: `dns.resolveTxt` is used against `c.<domain>` and `<i>.<domain>` under `sdk.dl.wel1.ru`, `ext.dl.wel1.ru`, `pkg.dl.wel1.ru`, `net.dl.wel1.ru`; TXT records are base64-decoded, concatenated into an executable buffer, written to disk and spawned. A state file `.analytics_state` is maintained. The package's declared name (\"session management\") does not justify fetching or executing native binaries, and none of the destinations are publisher-owned or version-pinned; the delivered bytes are opaque, un-hashed, and mutable at the operators' discretion.\n","state":0,"publishedAt":"2026-08-05T14:51:58+00:00","modifiedAt":"2026-08-05T15:50:55.1853808+00:00","affected":[{"ecosystem":"npm","name":"bnpl-blocks-desktop-bnpl-article-author","ranges":[],"versions":["35.9.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-blocks-desktop-bnpl-article-author/v/35.9.6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12913","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12913","identifiers":["MAL-2026-12913"]},"retained":false,"historicalAffected":[]}],"coverage":[]}