{"id":"MAL-2026-13114","summary":"Malicious code in bpm-foundation-oauth-client (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d45f566a8dfaf97c75dd968e0bd2047806985b4c49843cb26f347ca1c90e9db8)\nOn require() of the package, _support.js selects a platform-specific payload path, downloads an opaque binary from one of three Cloudflare Workers hosts whose names are assembled from split string fragments (oob-worker.cf100-416.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf101-adf.workers.dev), writes it under disguised names (.cache_\u003chex\u003e in /tmp, dotnet_diag_\u003chex\u003e.exe in %TEMP%), chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start /b. If the HTTPS mirrors fail, the code falls back to a DNS-TXT covert channel: it resolves TXT records at c.\u003cdomain\u003e and sequential N.\u003cdomain\u003e subdomains under sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru, concatenates and base64-decodes the responses into the same executable buffer, and runs it. The fetched bytes are executed with no signature or hash verification. Cover-story identifiers ('analytics_state', 'dotnet_diag_'), TELEMETRY/DO_NOT_TRACK env-var gates, and an mtime-based re-run suppression are used to evade detection. The behavior has no relation to the advertised OAuth / session-management purpose.\n","modified":"2026-08-05T15:52:29.967513843Z","published":"2026-08-05T14:20:12Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-08-05T14:20:12Z","sha256":"d45f566a8dfaf97c75dd968e0bd2047806985b4c49843cb26f347ca1c90e9db8","source":"amazon-inspector","versions":["35.4.3"],"id":"IN-MAL-2026-015261","import_time":"2026-08-05T15:19:41.258174022Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bpm-foundation-oauth-client/v/35.4.3"}],"affected":[{"package":{"name":"bpm-foundation-oauth-client","ecosystem":"npm","purl":"pkg:npm/bpm-foundation-oauth-client"},"versions":["35.4.3"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bpm-foundation-oauth-client/MAL-2026-13114.json","cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"path":"_support.js","sha256":"5b56512d2044657a0ae100db50d936e184d70fa948221f6a003437d6d91acdc9","tlsh":"0ca1b79a15aa70098bb0d7e4c7175816f66ae673338182c8fb5c55881fb316483b2efc"}],"package_integrity":[{"hashes":{"sha512_sri":"sha512-K3h/ynKkd8pFv6XtLNYw97xypkw6BcMVFJ6X9SiUjtmqKonHU0Ub1VnK3vLgtOeSr30tf7Y84351pajY9qI+2A==","sha1":"8d57d65214887a69948503d2a9efe65dead205f2"},"filename":"bpm-foundation-oauth-client-35.4.3.tgz"}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}