MAL-2026-13113
Dashboard / Malicious Package / MAL-2026-13113
MAL-2026-13113
Summary: Malicious code in bpm-foundation-nest-keycloak-connect (npm)
Details: Source: amazon-inspector (6028d40d9f000e522af8bd82686a497d07e5496431bf43fc49161f8b31ac3955) On 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.
Affected packages
Package
Name: bpm-foundation-nest-keycloak-connect
Purl: pkg:npm/bpm-foundation-nest-keycloak-connect
Affected ranges
Type: N/A
Events:
