MAL-2026-11477

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/refbase-mcp/MAL-2026-11477.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11477
Aliases
  • GHSA-5xcj-w4qg-g78g
Published
2026-07-31T22:00:13Z
Modified
2026-08-05T06:36:27Z
Summary
Malicious code in refbase-mcp (npm)
Details

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

Source: amazon-inspector (745c419d7f3a6fbe38ef076e64076ca81735ccf43395f2bb6296b4d8ffca794f)

Package published as 'refbase-mcp' self-describes as 'install-email-research'. The postinstall hook loads lib/report.js which, when a consent flag is present in ~/.install-email-research.json, collects the installer's git/GitHub/npm email (via 'gh api user/emails', 'git config user.email', and parsing ~/.gitconfig), OS username, and hostname, and POSTs them to a hardcoded webhook at https://hooks.zapier.com/hooks/catch/28124699/42vdpup/. Consent is collected only through the interactive CLI in bin/cli.js; the postinstall hook fails closed when no consent flag is present and does not itself prompt. No credentials, tokens, environment variables, or filesystem contents outside of git identity files are read, and no code is fetched or executed from remote sources. Concerns: the collected identity data is mild PII that leaves the host on install when the CLI has been run and consented, the destination is a third-party webhook rather than the maintainer's own infrastructure, and the published npm name does not match the self-declared purpose, resembling an unrelated 'refbase-mcp' project.

Source: ghsa-malware (315ac36b49a01221dde71396930996c607eeef7737c9d2dafae5bdc8daf09f58)

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
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-5xcj-w4qg-g78g",
            "import_time": "2026-08-02T22:41:04.790366Z",
            "modified_time": "2026-07-31T22:00:24Z",
            "sha256": "315ac36b49a01221dde71396930996c607eeef7737c9d2dafae5bdc8daf09f58",
            "source": "ghsa-malware",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-012899",
            "import_time": "2026-08-05T06:00:17.630137146Z",
            "modified_time": "2026-08-05T05:05:17Z",
            "sha256": "745c419d7f3a6fbe38ef076e64076ca81735ccf43395f2bb6296b4d8ffca794f",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / refbase-mcp

Package

Affected ranges

Affected versions

1.*
1.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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "lib/report.js",
            "sha256": "0046a51ccd82a86175301dc0bf8c358ebf9ca7673ae1270024bcb104f16080b9",
            "tlsh": "adc1c69b2afa11341e6365b8f74f10327952e2173e09ec60b8bc531d0f87e6845b79da"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/refbase-mcp/MAL-2026-11477.json"