MAL-2026-18449Malicious code in ms-client-portal (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | ms-client-portal | * |
| npm | ms-client-portal | 1.0.0 |
| npm | ms-client-portal | 10.0.0 |
{"schema_version":"1.7.4","id":"MAL-2026-18449","published":"2026-10-31T13:10:23Z","modified":"2026-11-02T18:21:44.131100881Z","aliases":["GHSA-q7rp-q644-j8rp"],"summary":"Malicious code in ms-client-portal (npm)","details":"ms-client-portal is a dependency-confusion package with no functional code; its README says the name is an internal project name exposed in the production web bundle of a health-sector client portal. Its preinstall and postinstall scripts each run a `node -e` one-liner on npm install that sends an HTTP GET to `http://38.242.235.206/depconf/ms-client-portal/preinstall` (and `/postinstall`) with the user name (`USER` or `USERNAME`), hostname and working directory in the query string. The npm account amahrou1a published versions 1.0.0 and 10.0.0 on 2026-10-31, and earlier the same day two more packages, internal-renderers and pandafortunerush, with the same beacon to the same server.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: ghsa-malware (e3e8e42f6545a90f07acd9d7f519f879050f778687a1bec78b0391981adb1b87)\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","affected":[{"package":{"name":"ms-client-portal","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0","10.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"}]}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ms-client-portal"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-q7rp-q644-j8rp"}],"database_specific":{"iocs":{"files":[{"digests":{"sha256":"4e69a9ec1b1080488719673e44b4b5652d0b2ee55cefa61aa0ea1d0b18b9ddd7"},"note":"preinstall and postinstall send the user name, hostname and working directory to 38.242.235.206 (ms-client-portal@1.0.0).","paths":["package.json"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"1760f11a7252576717913388ed01e169649f477ed238fd361356356d1a99aa77"},"note":"preinstall and postinstall send the user name, hostname and working directory to 38.242.235.206 (ms-client-portal@10.0.0).","paths":["package.json"],"source":"PACKAGE_ARCHIVE"}],"ips":["38.242.235.206"],"urls":["http://38.242.235.206/depconf/ms-client-portal/preinstall","http://38.242.235.206/depconf/ms-client-portal/postinstall"]},"malicious-packages-origins":[{"id":"GHSA-q7rp-q644-j8rp","import_time":"2026-11-02T18:20:26.926255531Z","modified_time":"2026-11-02T17:17:45Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"e3e8e42f6545a90f07acd9d7f519f879050f778687a1bec78b0391981adb1b87","source":"ghsa-malware"}]},"credits":[{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com","mailto:research@invisirisk.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0