{"id":"MAL-2026-12338","summary":"Malicious code in alpha-helper (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9758eecca0cf755a3c7cc43115b413dfda31f149bbeed40cdfaeb5e46d739efb)\nThe exported getPlugin in index.js issues an HTTPS request to a hardcoded bare-IP endpoint at 46.183.25.232:45000/icons/116 and passes the response field data.credits into a new Function(...) constructor with require, module, process, Buffer, and Promise bound into scope. Any consumer calling the exported function runs attacker-controlled JavaScript with full Node privileges. index.js also contains a decoy setDefaultModule that builds cdnjs-style font-awesome URLs across cloudflare/fastly/jsdelivr hostnames, which is not on the reachable code path. The package.json describes the module as a lightweight utility toolkit while the README describes an unrelated gamified trading system, and declared runtime dependencies include @primno/dpapi (Windows DPAPI unwrap), better-sqlite3, and node-machine-id, consistent with staging for browser-credential extraction.\n","modified":"2026-08-05T13:34:57.166575623Z","published":"2026-08-05T13:07:54Z","database_specific":{"malicious-packages-origins":[{"sha256":"9758eecca0cf755a3c7cc43115b413dfda31f149bbeed40cdfaeb5e46d739efb","source":"amazon-inspector","versions":["1.3.4"],"id":"IN-MAL-2026-014894","import_time":"2026-08-05T13:08:53.482843899Z","modified_time":"2026-08-05T13:07:54Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/alpha-helper/v/1.3.4"}],"affected":[{"package":{"name":"alpha-helper","ecosystem":"npm","purl":"pkg:npm/alpha-helper"},"versions":["1.3.4"],"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":[{"tlsh":"98c16f6546fa21a36a67e4eef30f100271a5e313365de971f48e42902fca568e5f24e8","path":"index.js","sha256":"771076c5104a94f76808da0fa6c00da8210c0194c10a6e3397a1e24b8ff54c7f"}],"package_integrity":[{"filename":"alpha-helper-1.3.4.tgz","hashes":{"sha1":"14ef0e89161df4ea236293e883e7e0f5abcfeb3d","sha512_sri":"sha512-J8HplQ3c4hYcrL1unaU0mJia8W4zDZ48xmCFuwfnV2oLElfveuf5xtWrm6YXvTg15epafrM6in9LW76OF/HZnQ=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/alpha-helper/MAL-2026-12338.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}