MAL-2026-18417

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ssite-mock-server/MAL-2026-18417.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18417
Aliases
  • GHSA-h5wr-6cx4-x5v4
Published
2026-10-29T23:38:06Z
Modified
2026-11-13T04:30:05Z
Summary
Malicious code in ssite-mock-server (npm)
Details

ssite-mock-server is a dependency-confusion package with no functional code (its description is "Authorized Test Package"). Its postinstall script runs node ./index.cjs on npm install, which POSTs the hostname, home directory, platform and CI provider (GitHub Actions, GitLab CI, Azure Pipelines or Jenkins) to https://130.162.231.177:8443/. It was published by the npm account notsemz, which published two more packages with the same beacon on 2026-10-29 and seven placeholder-only names.


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

Source: amazon-inspector (09dbc445d21cbcfe7afcda44cc8952e25a1444c0dbe56b9376ef132c5e513981)

On npm install, the package's postinstall hook executes index.cjs, which collects host reconnaissance data (os.hostname(), os.homedir(), process.platform) and CI-provider fingerprints derived from well-known CI environment variables, then POSTs them as JSON to a hardcoded bare-IP HTTPS endpoint at https://130.162.231.177:8443/. The destination is not a package publisher domain, is not caller-configurable, and the behavior fires automatically on default install with no documentation or opt-out. The package's self-description as a mock/test server does not match this install-time outbound beacon behavior.

Source: ghsa-malware (b78321d5059e11bc71690bbb965780622cd835221d353fecb34eb51ee2e9716e)

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": "2d900fb827e2499f8bf97f018e21db4eec30d68687c6bf2bb5ed779764a4ca81"
                },
                "note": "postinstall runs `node ./index.cjs`, which POSTs hostname, home directory, platform and CI provider to 130.162.231.177:8443 (ssite-mock-server@0.0.1).",
                "paths": [
                    "package.json"
                ],
                "source": "PACKAGE_ARCHIVE"
            },
            {
                "digests": {
                    "sha256": "aecd5a4a6e8529e5a47cd4529a7d4f306cf66c2ec3dd9e6a0e62a8f291def273"
                },
                "note": "Executed by the postinstall script of ssite-mock-server@0.0.1.",
                "paths": [
                    "index.cjs"
                ],
                "source": "PACKAGE_ARCHIVE"
            }
        ],
        "ips": [
            "130.162.231.177"
        ],
        "urls": [
            "https://130.162.231.177:8443/",
            "https://webhook.site/d730a68c-27bd-4bb5-b1b9-d57a0a4b17ac/semz"
        ]
    },
    "malicious-packages-origins": [
        {
            "id": "GHSA-h5wr-6cx4-x5v4",
            "import_time": "2026-10-30T18:19:43.156893568Z",
            "modified_time": "2026-10-30T18:06:15Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "b78321d5059e11bc71690bbb965780622cd835221d353fecb34eb51ee2e9716e",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-022746",
            "import_time": "2026-11-13T04:13:28.939931975Z",
            "modified_time": "2026-11-13T03:40:00Z",
            "sha256": "09dbc445d21cbcfe7afcda44cc8952e25a1444c0dbe56b9376ef132c5e513981",
            "source": "amazon-inspector",
            "versions": [
                "0.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / ssite-mock-server

Package

Name
ssite-mock-server
View open source insights on deps.dev
Purl
pkg:npm/ssite-mock-server

Affected ranges

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

Affected versions

0.*
0.0.1

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.cjs",
            "sha256": "aecd5a4a6e8529e5a47cd4529a7d4f306cf66c2ec3dd9e6a0e62a8f291def273",
            "tlsh": "ff0141d9d6f105111bf04380f5a05803e562ee6b930245427ab92a165f71bf12192ead"
        }
    ],
    "package_integrity": [
        {
            "filename": "ssite-mock-server-0.0.1.tgz",
            "hashes": {
                "sha1": "2fbb251b9b0155918031b0559748e0b5dc1fcbb4",
                "sha512_sri": "sha512-HituXHKeke5iZSREx6Fkv1BkEJqS+zB6vtNt/+9fRVkA7vUIOMnTJQnI2YqGi/Nv1xUHPklm+GEGKQMKAJ+Z8g=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ssite-mock-server/MAL-2026-18417.json"