{"id":"MAL-2026-12165","revision":"e25a24f57dd24c038a3f6540fc6f6fa0","records":[{"revision":"e25a24f57dd24c038a3f6540fc6f6fa0","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12165","aliases":[],"title":"Malicious code in bigops-external-auth (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c16bd7f21dc6d78b406fc39906d8cbb621072c638f84593871016f3b5ba5bae5)\nOn require('bigops-external-auth'), index.js loads _adapter.js which downloads a platform-specific native binary from Cloudflare Worker hosts whose hostnames are reassembled at runtime from split string arrays (e.g. [\"oob\",\"-wo\",\"rker.cf100-416.worke\",\"rs.de\",\"v\"].join(\"\")) to evade static analysis. The fetched bytes are written to a temp path under a disguised name (dotnet_diag_*.exe /.cache_*), chmod 0755, and spawned detached via cp.spawn(\"/bin/sh\", [\"-c\", fp + \" &\"], {detached:true}) or spawn(\"cmd\",...) on Windows. If the HTTPS fetch fails, a fallback channel retrieves a base64-chunked payload via DNS TXT records at *.wel1.ru (hostnames also reassembled via.join(\"\")) and reconstructs it with Buffer.from(parts.join(\"\"), \"base64\"), designed to bypass egress HTTP filtering. A second parallel dropper is shipped in lib/telemetry.js (81KB), masquerading as a Sentry-like SDK, structurally identical to the active dropper (spawn /bin/sh with fetched file, chmodSync 755 via string-concatenated method name fs[\"chmod\"+\"Sync\"], base64 chunk assembly), not currently on the reachable graph from index.js but present in the tarball. Behavior fires automatically on require/import — any consumer that installs and loads this package executes attacker-controlled native code on the host.\n","state":0,"publishedAt":"2026-08-05T08:44:58+00:00","modifiedAt":"2026-08-05T10:06:01.2021304+00:00","affected":[{"ecosystem":"npm","name":"bigops-external-auth","ranges":[],"versions":["35.1.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bigops-external-auth/v/35.1.6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12165","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12165","identifiers":["MAL-2026-12165"]},"retained":false,"historicalAffected":[]}],"coverage":[]}