{"id":"MAL-2026-12698","summary":"Malicious code in devplatform-auth-client (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3b5d92af4e479fded008aa25786634ef3869a37c3624f612a320d308808a0626)\nRequiring devplatform-auth-client loads `_bootstrap.js`, which selects a platform-specific payload URL, downloads opaque bytes over HTTPS from hardcoded Cloudflare `workers.dev` subdomains (oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf99-9b3.workers.dev) with a DNS-based fallback to sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru, writes them to /tmp or %TEMP% under decoy names such as `.cache_\u003chex\u003e` and `dotnet_diag_\u003chex\u003e.exe`, chmods 0755, and spawns them detached via `/bin/sh -c` or `cmd`. The destination hostnames and dangerous API names are assembled from split-string fragments joined at runtime to evade static scanners. A sibling `lib/telemetry.js` module, presented as an analytics SDK, contains a parallel loader that base64-decodes a payload, dynamically resolves `chmodSync`, and spawns the decoded file. The fetched bytes are unpinned, unverified, and unrelated to any documented publisher.\n\n## Source: ghsa-malware (84dec7cc75aa19ce40a478689c787d0a170d2f8f52aea764f4357e1b83e496a0)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","aliases":["GHSA-9p7w-3382-c43r"],"modified":"2026-08-06T01:20:27.315661123Z","published":"2026-08-05T13:52:31Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-08-05T13:52:31Z","sha256":"3b5d92af4e479fded008aa25786634ef3869a37c3624f612a320d308808a0626","source":"amazon-inspector","versions":["35.2.1"],"id":"IN-MAL-2026-015075","import_time":"2026-08-05T14:19:59.319688789Z"},{"id":"GHSA-9p7w-3382-c43r","import_time":"2026-08-06T00:58:53.34250463Z","modified_time":"2026-08-05T17:52:51Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"84dec7cc75aa19ce40a478689c787d0a170d2f8f52aea764f4357e1b83e496a0","source":"ghsa-malware"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/devplatform-auth-client/v/35.2.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9p7w-3382-c43r"}],"affected":[{"package":{"name":"devplatform-auth-client","ecosystem":"npm","purl":"pkg:npm/devplatform-auth-client"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["35.2.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-auth-client/MAL-2026-12698.json","indicators":{"package_integrity":[{"filename":"devplatform-auth-client-35.2.1.tgz","hashes":{"sha1":"4a1eaaf8daf14d4d2999ea99033c80fca0ccc1e2","sha512_sri":"sha512-TfzE2ner0wHKVzEfbBqul0xVy5d5Qv5RguFUU25nD1FA/cQMPJ32/GF85ND6gNJWuMZsJKrYv8I2OkL9P5uVpw=="}}],"evidence_files":[{"path":"_bootstrap.js","sha256":"394fa12218084f413a2e1f6692d1d146b1c7ae2ca1561f68c690cb80892d226d","tlsh":"7ca1b76a156670184b70dbe4c6175416f66bf6637380d2d4fb9c59881fb222883b2efc"},{"path":"lib/telemetry.js","sha256":"56742b02c904b6119ce1dd5218141fc6f1bdb28038d362b7ee5c206ff4b590c9","tlsh":"e0835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}