MAL-2026-12748 Malicious code in devplatform-s3-resources (npm)
Malicious package
Published
MAL-2026-12748 is a malicious package: devplatform-s3-resources (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-12748/ (Markdown: https://insights.sbomify.com/MAL-2026-12748/index.md)
- Package
- devplatform-s3-resources
- Registry
- npm
What is MAL-2026-12748?
MAL-2026-12748 is a malicious package in devplatform-s3-resources, published on 5 Aug 2026.
Official description
On 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.
What should I do about MAL-2026-12748?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.