MAL-2026-12565 Malicious code in checkout-get-pos-documents-am (npm)
Malicious package
Published
MAL-2026-12565 is a malicious package: checkout-get-pos-documents-am (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-12565/ (Markdown: https://insights.sbomify.com/MAL-2026-12565/index.md)
- Package
- checkout-get-pos-documents-am
- Registry
- npm
What is MAL-2026-12565?
MAL-2026-12565 is a malicious package in checkout-get-pos-documents-am, published on 5 Aug 2026.
Official description
On any require/import of checkout-get-pos-documents-am, index.js loads _compat.js, which selects a per-platform binary (linux_x64, linux_arm64, darwin, win32.exe), downloads it over HTTPS from Cloudflare Workers subdomains whose hostnames are assembled by joining string fragments (e.g. "oob-worker.c"+"f103-070.wor"+"kers.d"+"ev"), writes the bytes to /tmp or %TEMP% under a masqueraded name, chmods 0755, and detach-spawns it via cp.spawn("/bin/sh", ["-c", path+" &"], {detached:true}).unref(). If HTTPS fetch fails, the code falls back to a DNS-TXT covert channel, calling dns.resolveTxt against subdomains under sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru and reassembling base64 chunks from TXT records into an executable payload. No hash or signature verification is performed and the fetched binary bears no relation to the package's stated "runtime support" purpose. A second dropper implementation with the same fetch → base64-decode → chmod 0755 → /bin/sh spawn shape is bundled as lib/telemetry.js under an "Analytics SDK" cover story. Hostname string-splitting, DNS-TXT payload transport, filename masquerade, and detached spawn are deliberate evasion techniques.
What should I do about MAL-2026-12565?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.