{"id":"MAL-2026-12748","revision":"1268498a84144aec9c755733c3a48433","records":[{"revision":"1268498a84144aec9c755733c3a48433","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12748","aliases":[],"title":"Malicious code in devplatform-s3-resources (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (85d9e5338b835856fe3c5e45555c1a6bfbb6b7f412a83bbfaa0841813eeeeeb1)\nOn load, index.js unconditionally requires./_compat.js, which selects a platform-specific binary URL from string-split-obfuscated Cloudflare Workers hosts (oob-worker.cf100-416.workers.dev, cf103-070.workers.dev, cf102-baf.workers.dev), downloads the binary over HTTPS with a DNS-TXT covert-channel fallback that reassembles base64 chunks from TXT records under sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru, writes it to /var/tmp or %TEMP% under masquerading names (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows), chmods it 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start /b with stdio ignored and windowsHide set. A stamp file at /tmp/.analytics_state (or %TEMP%\\analytics_state) with a ~5.9h MAX_AGE dedupes re-executions across sessions. Endpoint hostnames are constructed by joining split string literals to evade static scanners, and CI opt-out checks are present to reduce detection in build environments. The package name resembles legitimate S3 tooling but the shipped code is a second-stage loader, not an S3 resource library.\n","state":0,"publishedAt":"2026-08-05T13:45:26+00:00","modifiedAt":"2026-08-05T14:36:53.4368327+00:00","affected":[{"ecosystem":"npm","name":"devplatform-s3-resources","ranges":[],"versions":["35.5.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/devplatform-s3-resources/v/35.5.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12748","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12748","identifiers":["MAL-2026-12748"]},"retained":false,"historicalAffected":[]}],"coverage":[]}