{"id":"MAL-2026-12143","revision":"54bd6629ebb24999893ef67f4e97ab53","records":[{"revision":"54bd6629ebb24999893ef67f4e97ab53","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12143","aliases":[],"title":"Malicious code in beaver-ui-breadcrumbs (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d4d5ebbbd036f50f2c29c885260a8b513897fcae3614f714585723f45ad492cd)\nOn require() of the package, index.js loads _compat.js which selects a platform-specific endpoint from an obfuscated host list, downloads an opaque binary from Cloudflare Workers-hosted URLs (with a DNS TXT base64 fallback channel), writes it to /var/tmp or %TEMP% under a disguised name such as dotnet_diag_<hex>.exe or.cache_<hex>, chmods it 0755, and spawns it detached via /bin/sh -c or cmd /c start /b. Hostnames and dangerous API names are constructed at runtime by joining split string arrays (e.g. reassembling 'oob-worker.cf...workers.dev' and require('child_'+'process'), fs['chmod'+'Sync']) to evade static analysis. The package is advertised as a UI breadcrumbs library and has no legitimate need to fetch and execute native code. A parallel dropper implementation is also shipped in lib/telemetry.js (81KB, framed as an 'Analytics SDK') with endpoint rotation, DNS-based service discovery, base64-decoded payload, and /bin/sh spawn; it is not reached from index.js in this version but is staged in the tarball.\n","state":0,"publishedAt":"2026-08-05T08:52:53+00:00","modifiedAt":"2026-08-05T10:05:49.3647525+00:00","affected":[{"ecosystem":"npm","name":"beaver-ui-breadcrumbs","ranges":[],"versions":["33.1.6","0.0.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/beaver-ui-breadcrumbs/v/33.1.6","https://www.npmjs.com/package/beaver-ui-breadcrumbs/v/0.0.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12143","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12143","identifiers":["MAL-2026-12143"]},"retained":false,"historicalAffected":[]}],"coverage":[]}