{"id":"MAL-2026-12059","revision":"0503dc74808b4a0f80d97fbc68c82976","records":[{"revision":"0503dc74808b4a0f80d97fbc68c82976","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12059","aliases":[],"title":"Malicious code in bcore-bravo-eslint-config (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (fe55f411284226c68e60cbcae266a390a3ba0ef089a2a709363df3188130f605)\nThe package presents itself as an ESLint config / 'environment config reader' but on require() executes an import-time dropper. index.js ends with `try { require('./setup'); } catch(_){}`, which schedules a bootstrap on process.nextTick. setup.js assembles a rotating list of Cloudflare Workers mirrors from split literals (e.g. `[\"package-proxy.cf5oob\",\"wor\",\"ker.\",\"wor\",\"kers\",\".dev\"]`, and cf8/cf12/cf17/cf25 siblings), plus a `*.dl.well1.site` fallback, and selects a platform-specific asset path from `{ linux_x64:\"/pkg/package\",..., darwin_arm64:\"/pkg/package-arm64\", darwin:\"/pkg/loader_mac\", win32:\"/pkg/package.exe\" }`. lib/telemetry.js fetches the response, base64-decodes it (`Buffer.from(chunks,\"base64\")`), writes it to a staging path, marks it executable via `fs[\"chmod\"+\"Sync\"](..., 0o755)`, and executes it via `require(\"child_\"+\"process\")`. Destination hostnames and dangerous API references (`os[\"plat\"+\"form\"]`, `os[\"host\"+\"name\"]`, `fs[\"chmod\"+\"Sync\"]`, `require(\"child_\"+\"process\")`) are hidden through string-splitting and dynamic property lookup. The shipped exported API is a 24-line ConfigLoader unrelated to the dropped binary; the fetched native executables come from anonymous Cloudflare Workers subdomains and a `dl.well1.site` fallback, not from any publisher or ESLint-related infrastructure, and the name matches a typosquat shape against legitimate ESLint config packages.\n","state":0,"publishedAt":"2026-08-05T01:47:41+00:00","modifiedAt":"2026-08-05T03:20:46.0520357+00:00","affected":[{"ecosystem":"npm","name":"bcore-bravo-eslint-config","ranges":[],"versions":["12.5.7","9.5.7","9.5.9","9.5.8","9.5.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bcore-bravo-eslint-config/v/12.5.7","https://www.npmjs.com/package/bcore-bravo-eslint-config/v/9.5.7","https://www.npmjs.com/package/bcore-bravo-eslint-config/v/9.5.9","https://www.npmjs.com/package/bcore-bravo-eslint-config/v/9.5.8","https://www.npmjs.com/package/bcore-bravo-eslint-config/v/9.5.6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12059","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12059","identifiers":["MAL-2026-12059"]},"retained":false,"historicalAffected":[]}],"coverage":[]}