{"id":"MAL-2026-12570","summary":"Malicious code in checkout-mobile-accounts (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7e767e42a2a85ea01a996ada873c5ddcea0c13a56a33e44255694786dfe7b8f2)\nOn require(), the package loads _platform.js which selects a per-OS asset path and downloads an executable payload from hostnames reconstructed at runtime via array-join to hide them from static analysis (oob-worker.cf100-416.workers.dev, cf102-baf.workers.dev, cf99-9b3.workers.dev, and sdk/ext/pkg/net.dl.wel1.ru), with a DNS-TXT covert-channel fallback. The downloaded bytes are written to /var/tmp or %TEMP% under names designed to mimic system diagnostics (dotnet_diag_\u003chex\u003e.exe on Windows,.cache_\u003chex\u003e on Unix), chmod 0755 is applied, and the file is spawned detached via /bin/sh -c or cmd.exe. A lock file named.analytics_state is written to blend in as telemetry state. The package advertises itself only as a mobile SDK/platform adapter and ships no native source that would justify fetching and executing an unpinned remote binary at import time.\n","modified":"2026-08-05T14:35:29.420250009Z","published":"2026-08-05T14:12:47Z","database_specific":{"malicious-packages-origins":[{"versions":["35.6.8"],"id":"IN-MAL-2026-015210","import_time":"2026-08-05T14:20:13.165864006Z","modified_time":"2026-08-05T14:12:47Z","sha256":"7e767e42a2a85ea01a996ada873c5ddcea0c13a56a33e44255694786dfe7b8f2","source":"amazon-inspector"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/checkout-mobile-accounts/v/35.6.8"}],"affected":[{"package":{"name":"checkout-mobile-accounts","ecosystem":"npm","purl":"pkg:npm/checkout-mobile-accounts"},"versions":["35.6.8"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"package_integrity":[{"filename":"checkout-mobile-accounts-35.6.8.tgz","hashes":{"sha512_sri":"sha512-8k5LGix1XOONmFkUb7TpqKAVVy1VxtRgoXGDq0nCmyQ/6bgVPUYozNZ6NeS787ZQC1bpvQU4pu1cOT+fKo2dew==","sha1":"cbffa6d1cacb5779388703965fd0c5b5892907f6"}}],"evidence_files":[{"sha256":"f89cab627a38522cd8fb4a29abb306649c0a70f7b6d711c0ad6f206cdf7700b8","tlsh":"32a195aa167670184bb09be4ca176416f55bf6633780c294f79ca5c81fb612483b2eec","path":"_platform.js"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/checkout-mobile-accounts/MAL-2026-12570.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}