{"id":"MAL-2026-12948","revision":"ee044eb916a3498ca8c6c8cb678d9c1f","records":[{"revision":"ee044eb916a3498ca8c6c8cb678d9c1f","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12948","aliases":[],"title":"Malicious code in bnpl-blocks-fonts (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5181e44b181b008c8345153784c66020faa73f1f591fc070a1f20f105ba8f2c6)\nThe package presents itself as a fonts helper but its index.js unconditionally requires./_ext, which on module load fetches a platform-specific binary from hardcoded Cloudflare Workers subdomains (oob-worker.cf101-adf.workers.dev, cf99-9b3.workers.dev, cf100-416.workers.dev) with a DNS-TXT fallback channel over *.dl.wel1.ru (chunked base64 delivered via resolveTxt on c.<domain> and N.<domain>). Hostnames are split into array fragments and joined at runtime to evade static analysis. The fetched bytes are written to a disguised temp path (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows), chmodded to 0755, and spawned detached via cp.spawn('/bin/sh', ['-c', fp+' &']) or cp.spawn('cmd',...). No hash or signature is verified and the payload is opaque. A parallel dropper in lib/telemetry.js mirrors the same design (base64 chunk decode, chmodSync via property-name splitting, shell spawn) as an alternate loader. The declared 'fonts' / 'analytics/telemetry' purpose does not match fetching and executing anonymous remote binaries at require time.\n","state":0,"publishedAt":"2026-08-05T14:44:48+00:00","modifiedAt":"2026-08-05T15:51:11.8203599+00:00","affected":[{"ecosystem":"npm","name":"bnpl-blocks-fonts","ranges":[],"versions":["35.2.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-blocks-fonts/v/35.2.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12948","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12948","identifiers":["MAL-2026-12948"]},"retained":false,"historicalAffected":[]}],"coverage":[]}