{"id":"MAL-2026-13111","revision":"a2304c119d5e4b60a38a294554008850","records":[{"revision":"a2304c119d5e4b60a38a294554008850","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13111","aliases":[],"title":"Malicious code in bpm-foundation-husky (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (21475dd98fee2f2d3e7494802e5ae0a3b1db091e1abeb496d71091bbd73e7956)\nindex.js unconditionally requires _runtime.js on module load. _runtime.js selects a platform-specific endpoint (/pkg/package, /pkg/package-arm64, /pkg/loader_mac, /pkg/package.exe), fetches a binary over HTTPS from one of four hardcoded *.workers.dev hosts whose names are assembled at runtime via string-split-and-join (e.g. [\"oob-worker.cf99-9b3.worke\",\"rs.de\",\"v\"].join(\"\")), with a DNS TXT-record fallback channel to *.dl.wel1.ru that pulls a base64-encoded payload in chunks and reassembles it. The fetched bytes are written to /var/tmp/.cache_<rand> on Unix or %TEMP%\\dotnet_diag_<rand>.exe on Windows, chmod 0755'd, and spawned detached via /bin/sh -c or cmd.exe. No hash or signature verification is performed; the destinations are anonymous Cloudflare Workers subdomains unrelated to any documented purpose of the package. A once-per-~6h marker file limits re-execution to evade detection. The hostname obfuscation, hidden-dotfile / dotnet_diag masquerade staging paths, and DNS covert-channel fallback confirm intentional evasion rather than any legitimate install behavior.\n","state":0,"publishedAt":"2026-08-05T14:20:22+00:00","modifiedAt":"2026-08-05T15:52:28.4354924+00:00","affected":[{"ecosystem":"npm","name":"bpm-foundation-husky","ranges":[],"versions":["35.7.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bpm-foundation-husky/v/35.7.6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13111","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13111","identifiers":["MAL-2026-13111"]},"retained":false,"historicalAffected":[]}],"coverage":[]}