Advisory

MAL-2026-18449

Also known as: GHSA-q7rp-q644-j8rp

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

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.

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (253f9d292a5bdd949b76cb7685b8338e1ade17123bce0f3e1423491f9039a3b9)
Package [email protected] runs preinstall and postinstall scripts that perform HTTP GET requests to a hardcoded bare-IPv4 endpoint at http://38.242.235.206/depconf/ms-client-portal/preinstall and /postinstall over cleartext HTTP. Each request carries the installer's username (process.env.USER or process.env.USERNAME), OS hostname (os.hostname()), and current working directory (process.cwd()) as query parameters. The behavior fires automatically on npm install without consent or opt-in. The package ships no library functionality; its sole runtime effect is this phone-home. Self-labeling as a defensive dependency-confusion placeholder does not change the installer-side outcome: host and user identifiers leak to a non-first-party, non-registry, non-vendor bare-IP destination over plaintext at install time, disclosing internal usernames, hostnames, and build-path layouts (which may themselves reveal internal project names) to whoever controls that IP.

Source: ghsa-malware (e3e8e42f6545a90f07acd9d7f519f879050f778687a1bec78b0391981adb1b87)
Any 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.

Severity

Not rated by the source.

Dates

Published
2026-10-31 13:10 UTC
Modified
2026-11-13 04:30 UTC

Affected packages and fixes

ms-client-portal

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences