MAL-2026-18449

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ms-client-portal/MAL-2026-18449.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18449
Aliases
  • GHSA-q7rp-q644-j8rp
Published
2026-10-31T13:10:23Z
Modified
2026-11-13T04:30:05Z
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 ms-client-portal@1.0.0 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.

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"
        },
        {
            "id": "IN-MAL-2026-022642",
            "import_time": "2026-11-12T04:13:27.20675834Z",
            "modified_time": "2026-11-12T04:08:25Z",
            "sha256": "67d0d267cb0260014f0950179e7b72b1ed9d05580577f0f68b03fb42ed930459",
            "source": "amazon-inspector",
            "versions": [
                "10.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-022718",
            "import_time": "2026-11-13T04:13:25.816501018Z",
            "modified_time": "2026-11-13T03:36:35Z",
            "sha256": "253f9d292a5bdd949b76cb7685b8338e1ade17123bce0f3e1423491f9039a3b9",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / ms-client-portal

Package

Name
ms-client-portal
View open source insights on deps.dev
Purl
pkg:npm/ms-client-portal

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0
10.*
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"
    },
    {
        "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": [
        {
            "path": "package.json",
            "sha256": "1760f11a7252576717913388ed01e169649f477ed238fd361356356d1a99aa77",
            "tlsh": "5b1126b4c1549a7adcc502e4432f440fd2f972174a6c4c10679223d61b7a2d2573b1bf"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ms-client-portal/MAL-2026-18449.json"