{"id":"MAL-2026-6501","summary":"Malicious code in wellnpm (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2cce5614817c010bad6d6bd86146713b627ad235b87d9ccd341bd3d996a80119)\nwellnpm@2.0.9 ships a 24MB ELF binary named `launch` which is the XMRig Monero miner (RandomX, cn/upx2, ghostrider algorithm strings, libuv/OpenSSL linkage, hashvault pool references). `package.json` declares `\"main\": \"launch\"` and `\"scripts.start\": \"./launch\"`, so running `npm start` on this package immediately launches the miner. A bundled `config.json` is pre-configured against `pool.hashvault.pro:80` with the hardcoded recipient wallet `4AUTfJGTvT8A98PSE99EunfrnUbkWe9vU3FN3qsABQLP5aPKQuvWS5sCaD9WaXFQUqNtDLb9dcxiBgJiWCfjvDXp5ptWDYG`, so all hashrate from victim machines is credited to the author. A second `scripts.deploy` script targets Android Termux: it moves `libuv.so` into `/data/data/com.termux/files/usr/lib`, chmod+x's the `xmr` and `edit` shell wrappers, and copies them into `/data/data/com.termux/files/usr/bin` so the miner becomes a persistent, PATH-resolvable command in the user's Termux environment. The wrappers themselves are one-liners that `cd node_modules/wellnpm && npm start`. README does not mention mining; metadata is placeholder (`author: Your Name \u003cwellenterprise81.gmail.com\u003e`, `description: A brief description of your package`). This is a cryptojacking dropper masquerading as an npm module.\n\n## Source: ghsa-malware (8e91f40e7af1730f15a357bb3074c7d208765ba41598c35373ed5b3b374d607a)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","aliases":["GHSA-2gh4-jhh2-625m"],"modified":"2026-06-29T05:16:43.134939008Z","published":"2026-06-26T01:51:48Z","database_specific":{"malicious-packages-origins":[{"id":"GHSA-2gh4-jhh2-625m","import_time":"2026-06-26T03:24:04.391798351Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"modified_time":"2026-06-26T01:51:48Z","source":"ghsa-malware","sha256":"8e91f40e7af1730f15a357bb3074c7d208765ba41598c35373ed5b3b374d607a"},{"id":"IN-MAL-2026-007647","import_time":"2026-06-26T17:38:01.00279272Z","source":"amazon-inspector","modified_time":"2026-06-26T17:08:31Z","versions":["3.0.1"],"sha256":"ab6317e735a3e87bed0c38d7b646969274f11fbae9c2155bf45d6e1e3a226d9c"},{"id":"IN-MAL-2026-007648","import_time":"2026-06-26T17:38:01.127643275Z","source":"amazon-inspector","modified_time":"2026-06-26T17:08:32Z","versions":["2.0.11"],"sha256":"fb00c74f7d732184fbebe7077fb4724f77f6aaf4b1ceaffa9870989f3d1eb2ae"},{"id":"IN-MAL-2026-007644","import_time":"2026-06-26T17:38:00.478192234Z","source":"amazon-inspector","modified_time":"2026-06-26T17:08:29Z","versions":["2.0.10"],"sha256":"0fca3dd3fcee8b344a7ba98f5d20e715c6d13343ebb2aea1fd7b54f1dc51be42"},{"id":"IN-MAL-2026-007643","import_time":"2026-06-26T17:38:00.371006545Z","source":"amazon-inspector","modified_time":"2026-06-26T16:57:00Z","versions":["3.0.2"],"sha256":"14e390ccfd5e9d992ae314b595ce64f7d5bed7464116009cea312f5dd9a050b4"},{"id":"IN-MAL-2026-007645","import_time":"2026-06-26T17:38:00.585594759Z","source":"amazon-inspector","modified_time":"2026-06-26T17:08:30Z","versions":["2.0.9"],"sha256":"2cce5614817c010bad6d6bd86146713b627ad235b87d9ccd341bd3d996a80119"},{"id":"IN-MAL-2026-007646","import_time":"2026-06-26T17:38:00.896863774Z","versions":["3.0.0"],"modified_time":"2026-06-26T17:08:31Z","source":"amazon-inspector","sha256":"36d62c879e5bcb8c5bc48729ca6892975413d816f6e49ab4e0801c3a69a3b5de"},{"source":"amazon-inspector","id":"IN-MAL-2026-007710","import_time":"2026-06-29T05:07:05.267493688Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"modified_time":"2026-06-29T03:34:55Z","versions":["3.0.2"],"sha256":"4e31f5b6143209d444eac370571ffee31b94268b49652043e1a2c3068f2dc2f5"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2gh4-jhh2-625m"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/wellnpm/v/3.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/wellnpm/v/2.0.11"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/wellnpm/v/2.0.10"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/wellnpm/v/3.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/wellnpm/v/2.0.9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/wellnpm/v/3.0.0"}],"affected":[{"package":{"name":"wellnpm","ecosystem":"npm","purl":"pkg:npm/wellnpm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["3.0.1","2.0.11","2.0.10","3.0.2","2.0.9","3.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"tlsh":"faf0d3299a105e3314e40a361d05c3917e50fdd75800bd0873cb14186f4717ab8bd3bc","path":"package.json","sha256":"41529056728b4924d311f471c897d5b871dfe244e6bfdb11f7365902c1b44064"},{"tlsh":"bc51b525c9340cfa0298917c8ceca2934a1881475f5d3d79b55c895c2f0eb3ea2f6bda","path":"config.json","sha256":"8c0a3aec7788c019e6cdaf8626ef294276464bf9cc879a4d9561ce506a24a094"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/wellnpm/MAL-2026-6501.json"}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}