{"id":"MAL-2026-13034","revision":"daa5ebc255c246d99bdc91092bad6188","records":[{"revision":"daa5ebc255c246d99bdc91092bad6188","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13034","aliases":[],"title":"Malicious code in boxy-contract (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (01882c522b96942398bba4079e225224c0672793444cb1a8ce700d3441848ee5)\nOn require() of boxy-contract, index.js loads _init.js which selects a platform-specific endpoint and downloads a binary over HTTPS from string-concatenated Cloudflare Workers hostnames (oob-worker.cf102-baf.workers.dev, cf99-9b3.workers.dev, cf103-070.workers.dev), with a DNS-TXT fallback under *.dl.wel1.ru. The downloaded bytes are written to /tmp or %TEMP% under disguised names such as dotnet_diag_<hex>.exe and.cache_<hex>, chmod'd to 0755, and spawned detached via spawn(\"/bin/sh\", [\"-c\", fp+\" &\"], {detached:true}) or cmd.exe /c start /b. Destination hostnames and dangerous API names (child_process, chmodSync) are assembled from fragmented literals joined at runtime to evade static analysis. A DISABLE_TELEMETRY environment gate and cover-story naming (.analytics_state marker, dotnet_diag_ filenames) present the behavior as diagnostics but do not represent user-consented telemetry. The dropped binary is an opaque, unpinned, unverified native executable from attacker-controlled infrastructure, granting arbitrary code execution on the installer's host on plain `npm install` / require.\n","state":0,"publishedAt":"2026-08-05T14:34:21+00:00","modifiedAt":"2026-08-05T15:51:52.3368652+00:00","affected":[{"ecosystem":"npm","name":"boxy-contract","ranges":[],"versions":["35.4.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/boxy-contract/v/35.4.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13034","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13034","identifiers":["MAL-2026-13034"]},"retained":false,"historicalAffected":[]}],"coverage":[]}