{"id":"MAL-2026-12158","revision":"48a77537ae9a4069b705b706f9725cb7","records":[{"revision":"48a77537ae9a4069b705b706f9725cb7","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12158","aliases":[],"title":"Malicious code in bigops-chats-client (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (eb764a83c5f69d414a640397df2acd34a25e83c8829a63040046661fd4e33a69)\nOn require() of the package, index.js loads _init.js which performs OS/arch detection, downloads a native binary from hardcoded Cloudflare Workers endpoints (oob-worker.cf101-adf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev), writes it to a temp path with a masqueraded filename (e.g. dotnet_diag_*.exe,.cache_*), chmods 0755 on Unix, and spawns it detached via /bin/sh -c or cmd.exe /c start /b. C2 hostnames are assembled at runtime from arrays of substrings joined together to evade static string search. If HTTPS retrieval fails, _init.js falls back to a DNS-TXT covert channel under *.dl.wel1.ru sub-zones (sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru): it resolves c.<domain> to obtain a chunk count, resolves <i>.<domain> for each chunk, base64-decodes the concatenated payload, writes it to disk and executes it. A cache flag (.analytics_state) is used to run once per TTL. The package advertises itself as a chats client SDK; there is no legitimate reason for such a package to fetch and execute an opaque native binary at load time.\n","state":0,"publishedAt":"2026-08-05T08:44:08+00:00","modifiedAt":"2026-08-05T10:05:56.7018779+00:00","affected":[{"ecosystem":"npm","name":"bigops-chats-client","ranges":[],"versions":["35.2.4"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bigops-chats-client/v/35.2.4"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12158","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12158","identifiers":["MAL-2026-12158"]},"retained":false,"historicalAffected":[]}],"coverage":[]}