{"id":"MAL-2026-16325","summary":"Malicious code in bulk-add-sdk (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b131d84c624f7eb89d720ed0ec1435eef5f5f9ff800d1cef88b20c18c7374023)\nPackage declares scripts.install: \"node extract.js thd-orangepay\", causing extract.js to run automatically on npm install. The script collects hostname, platform, arch, cwd, and the machine's public IP (obtained by shelling out via execSync to `curl -s ifconfig.me || wget...`) and transmits the data to a hardcoded subdomain of wallclip.me over two channels: an HTTPS POST via https.request with rejectUnauthorized: false (disabling certificate verification), and a DNS lookup against a beacon of the form `${project_id}.${safeHost}.[...].wallclip.me` so a passive DNS observer receives the hostname and project identifier even when outbound TCP/443 is blocked. The package main entry is a stub with no library functionality, so the install-time beacon is the package's sole effect. The package name resembles a legitimate SDK but ships only a reconnaissance beacon targeting a non-first-party domain.\n","modified":"2026-09-21T04:00:06.794518967Z","published":"2026-09-21T03:30:03Z","database_specific":{"malicious-packages-origins":[{"versions":["1.99.99"],"id":"IN-MAL-2026-020225","import_time":"2026-09-21T03:46:37.592937015Z","modified_time":"2026-09-21T03:30:03Z","sha256":"b131d84c624f7eb89d720ed0ec1435eef5f5f9ff800d1cef88b20c18c7374023","source":"amazon-inspector"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bulk-add-sdk/v/1.99.99"}],"affected":[{"package":{"name":"bulk-add-sdk","ecosystem":"npm","purl":"pkg:npm/bulk-add-sdk"},"versions":["1.99.99"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"sha256":"bf7bb32b4d101e2dbca601344c14f5a5e53980ee775f49ce381239091ab5c88d","tlsh":"c631eda4d2b196746bb146c9f4c45807f417e301770beae8a08c43891bdaeb941b1aba","path":"extract.js"}],"package_integrity":[{"hashes":{"sha1":"c5d5b7337680d22ee9f1ea411f86a16b09aaef45","sha512_sri":"sha512-9tnsYMexhDMeEqTVNTm8PQ5Dk5FYHZWnCgJw9BDF44diT8B5MVrKELUy30ogCiQiwId1k5M+8MANnoldb2kQ+w=="},"filename":"bulk-add-sdk-1.99.99.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bulk-add-sdk/MAL-2026-16325.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}