MAL-2026-12754Malicious code in devplatform-spa (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | devplatform-spa | * |
| npm | devplatform-spa | 35.1.4 |
{"schema_version":"1.7.4","id":"MAL-2026-12754","published":"2026-08-05T13:44:30Z","modified":"2026-08-25T16:28:03.900224930Z","aliases":["GHSA-544p-6vr9-4r6g"],"summary":"Malicious code in devplatform-spa (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (297ea05a85bad5f3af2ead77745d792c055efc94b9b58726fe3ee499821c745c)\nOn require('devplatform-spa'), index.js loads _loader.js which downloads an OS-specific binary from Cloudflare Workers endpoints whose hostnames are assembled via string-array joins (oob-worker.cf103-070.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf99-9b3.workers.dev) with a DNS TXT-record fallback channel across sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The downloaded bytes are written to /var/tmp or %TEMP% under disguised names (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows), chmod 0755'd, and spawned detached via /bin/sh -c or cmd.exe in _loader.js line 121-127. The loader is invoked unconditionally from index.js via try{require('./_loader')}catch{}, so the drop-and-execute runs on every require. Cover-story elements include a.analytics_state file, a no-op _l logging stub, and DISABLE_TELEMETRY/DO_NOT_TRACK opt-out checks that masquerade the behavior as telemetry.\n\n## Source: ghsa-malware (f7e55cd6ced17b6d3409f5b884b6d0489c7377ff584d00bfa14b1ce4b0b437c3)\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","affected":[{"package":{"name":"devplatform-spa","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["35.1.4"],"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"}],"indicators":{"evidence_files":[{"path":"_loader.js","sha256":"138346be170dfe4adaf62be2bfd85fedd9e0d88a7a18bccc5c885407d2d6965c","tlsh":"3fa1a85b16a670188bb0dbe4c71b541af65be2633380c284fb5c65981f7316483b2efc"}],"package_integrity":[{"filename":"devplatform-spa-35.1.4.tgz","hashes":{"sha1":"b3ca42f5835a1cd01f5ccb85fc6e6fb9200f6020","sha512_sri":"sha512-lVU9271CrG139Wv5KrZivBv/lnZ+X6KSUsJyUswH/vMjh23fQVTAmwZX0x1x7FJCDHiLTWn0JkNLIQqbkziynA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/devplatform-spa/v/35.1.4"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-544p-6vr9-4r6g"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015020","import_time":"2026-08-05T14:19:53.318145714Z","modified_time":"2026-08-05T13:44:30Z","sha256":"297ea05a85bad5f3af2ead77745d792c055efc94b9b58726fe3ee499821c745c","source":"amazon-inspector","versions":["35.1.4"]},{"id":"GHSA-544p-6vr9-4r6g","import_time":"2026-08-25T16:26:05.005431117Z","modified_time":"2026-08-25T15:57:26Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"f7e55cd6ced17b6d3409f5b884b6d0489c7377ff584d00bfa14b1ce4b0b437c3","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0