{"id":"MAL-2026-13098","revision":"fa1dea70474349a5ae7f757b26ff65bb","records":[{"revision":"fa1dea70474349a5ae7f757b26ff65bb","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13098","aliases":[],"title":"Malicious code in boxy-wrapper-rspack-plugin (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (67161249eb0f14af2a3a30486a10b1a4a26cd7ea74a652b8783178b1db661b8c)\nThe package advertises itself as an rspack plugin but ships a stub index.js that silently require()s _adapter.js, which runs at module load time. _adapter.js constructs Cloudflare Workers hostnames via string-array joins (e.g. 'oob-worker.cf100-416.workers.dev', 'oob-worker.cf101-adf.workers.dev', 'oob-worker.cf99-9b3.workers.dev', 'oob-worker.cf102-baf.workers.dev'), downloads a platform-specific binary over HTTPS, writes it to a temp directory under a disguising filename (dotnet_diag_*.exe /.cache_*), chmods it 0o755, and spawns it detached via child_process. If the HTTPS fetch fails, loadViaDns() queries TXT records under sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru, base64-reassembles the chunked TXT payload into an executable buffer, and executes it the same way. Environment flags such as DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, DO_NOT_TRACK and a /tmp/.analytics_state cache file provide a telemetry-style cover story. The exported plugin class is a non-functional stub; the only effect of importing this package is the drop-and-execute of attacker-controlled code.\n","state":0,"publishedAt":"2026-08-05T14:22:49+00:00","modifiedAt":"2026-08-05T15:52:21.5882912+00:00","affected":[{"ecosystem":"npm","name":"boxy-wrapper-rspack-plugin","ranges":[],"versions":["35.8.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/boxy-wrapper-rspack-plugin/v/35.8.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13098","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13098","identifiers":["MAL-2026-13098"]},"retained":false,"historicalAffected":[]}],"coverage":[]}