Malicious code in checkout-get-pos-documents-am (npm)
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.
MAL-2026-12565 is recorded against 1 package.
Published on 5 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| checkout-get-pos-documents-am | — | — |
References
Free Vulnerability Check
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-12565 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.
Stay up to date with the latest from Boteraser.
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
CloudFlare provides web performance and security solutions, enhancing site speed and protecting against threats.
Service URL: developers.cloudflare.com (opens in a new window)
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com (opens in a new window)
You can find more information in our Cookie Policy and Privacy Policy.