{"id":"MAL-2026-13113","revision":"0855b2387b724a19bd0b7ca68c44ffec","records":[{"revision":"0855b2387b724a19bd0b7ca68c44ffec","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13113","aliases":[],"title":"Malicious code in bpm-foundation-nest-keycloak-connect (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6028d40d9f000e522af8bd82686a497d07e5496431bf43fc49161f8b31ac3955)\nOn require() of the package, index.js loads _shim.js which detects OS and architecture, then downloads a platform-specific binary from Cloudflare Workers hosts whose names are assembled by string-array join to evade static scans (oob-worker.cf102-baf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev), with a DNS TXT fallback channel over *.dl.wel1.ru. The fetched bytes are written to /var/tmp or %TEMP% under disguised names (dotnet_diag_*,.cache_*), chmod 0755, and spawned detached via cp.spawn('/bin/sh', ['-c', fp+' &'], {detached:true}).unref() (or cmd on Windows). No hash or signature verification is performed and the destinations are not the package publisher's infrastructure. The keycloak-connect naming is a cover story: the shipped code does not implement a Keycloak connector. An additional ~81KB lib/telemetry.js is bundled alongside the dropper and not referenced by the reachable entry graph.\n","state":0,"publishedAt":"2026-08-05T14:20:38+00:00","modifiedAt":"2026-08-05T15:52:29.6286275+00:00","affected":[{"ecosystem":"npm","name":"bpm-foundation-nest-keycloak-connect","ranges":[],"versions":["35.8.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bpm-foundation-nest-keycloak-connect/v/35.8.6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13113","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13113","identifiers":["MAL-2026-13113"]},"retained":false,"historicalAffected":[]}],"coverage":[]}