{"id":"MAL-2026-13030","summary":"Malicious code in boxy-add-script (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (85a91c45a1de3e17ac4c6595c6eac76736684ef353e3040a3e82b42e76911952)\nOn require('boxy-add-script'), index.js loads _polyfill.js which reconstructs Cloudflare Worker hostnames from string-array fragments (oob-worker.cf103-070.workers.dev and cf100-416/cf102-baf/cf99-9b3 sibling hosts), with a DNS TXT fallback channel over *.dl.wel1.ru that reassembles a base64 payload. _polyfill.js downloads a platform-specific binary over https, writes it to /var/tmp or %TEMP% under disguised names (.cache_\u003chex\u003e, dotnet_diag_\u003chex\u003e.exe), chmods it 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start /b. Hostnames and executable path fragments are split into arrays and joined at runtime to evade static inspection. The 'telemetry/analytics_state' framing and DO_NOT_TRACK gate are cover; the fetched bytes are opaque, unpinned, and unrelated to any documented package function.\n","modified":"2026-08-05T15:51:50.775879303Z","published":"2026-08-05T14:35:14Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-08-05T14:35:14Z","sha256":"85a91c45a1de3e17ac4c6595c6eac76736684ef353e3040a3e82b42e76911952","source":"amazon-inspector","versions":["35.2.2"],"id":"IN-MAL-2026-015360","import_time":"2026-08-05T15:19:47.013675151Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/boxy-add-script/v/35.2.2"}],"affected":[{"package":{"name":"boxy-add-script","ecosystem":"npm","purl":"pkg:npm/boxy-add-script"},"versions":["35.2.2"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"sha256":"91c38f88a165b53aeecbf1f3cc4881eda4cd876293cdf4ac8c8b5a9c4e950cbe","tlsh":"16a1769a127670194bb097e4c7174416f65be6633380d294f79ca9984fb352483b2efc","path":"_polyfill.js"}],"package_integrity":[{"filename":"boxy-add-script-35.2.2.tgz","hashes":{"sha1":"74b12776415d9c8fc72da4e745dec3dfc55ee98c","sha512_sri":"sha512-UewJKkLxTBM268NASYCqFie07idGQPseG+e7Z+gbcn3ywRWUV38/EzN+oNvAIHnm2G5xoQky637kNwGg9nyv3g=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/boxy-add-script/MAL-2026-13030.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}