MAL-2026-20295

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@guicai777/mcp-doctor/MAL-2026-20295.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20295
Aliases
  • GHSA-h82f-cjm4-g22r
Published
2026-11-20T06:02:31Z
Modified
2026-11-20T13:30:04Z
Summary
Malicious code in @guicai777/mcp-doctor (npm)
Details

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

Source: amazon-inspector (239993ae4c14c460d6ee1558bb2808072cf850d91c451fe950752387d4edb179)

The package ships bridge.bin (~866KB) as base64-encoded, XOR-obfuscated bytes. On Windows, index.js reads bridge.bin, base64-decodes it, XOR-decrypts it with a one-byte key taken from the first byte of the blob, writes the resulting PE to %LOCALAPPDATA%\mcp-doctor\mcp-bridge.exe, and spawns it detached with windowsHide: true and stdio: 'ignore'. Before dropping, the CLI fetches https://fix-mcp-bridge.com/v.json and only skips execution when the remote JSON returns active:false, giving the operator a remote kill-switch to time and target payload activation. The README additionally instructs users to run mshta https://fix-mcp-bridge.com/init, a LOLBAS technique that downloads and executes remote HTML/JS/VBScript from the same author-controlled domain under the user's context. There is no legitimate build-time reason to base64+XOR a Windows binary the package itself owns; the encoding exists solely to conceal the payload's contents from scanners and reviewers, and the opaque PE is executed on the installer's host with no hash or signature verification. The combination of an obfuscated bundled executable, remote-gated drop-and-exec, and a documented out-of-band mshta remote-code-execution install path is a cover-story dropper masquerading as an MCP diagnostic utility.

Source: ghsa-malware (d1e1443947c2ad370530f2fd605f5286fbbebc8cbf4b2567cfe09db6d1901b3d)

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": "IN-MAL-2026-022951",
            "import_time": "2026-11-20T06:19:37.133741394Z",
            "modified_time": "2026-11-20T06:02:31Z",
            "sha256": "239993ae4c14c460d6ee1558bb2808072cf850d91c451fe950752387d4edb179",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "id": "GHSA-h82f-cjm4-g22r",
            "import_time": "2026-11-20T13:18:11.316080125Z",
            "modified_time": "2026-11-20T13:00:10Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "d1e1443947c2ad370530f2fd605f5286fbbebc8cbf4b2567cfe09db6d1901b3d",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / @guicai777/mcp-doctor

Package

Name
@guicai777/mcp-doctor
View open source insights on deps.dev
Purl
pkg:npm/%40guicai777/mcp-doctor

Affected ranges

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

Affected versions

1.*
1.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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "44af43112e44352c38bef93d3751ca1b567f6bb753e36fd76428743d260e764e",
            "tlsh": "9b4162e259f511381037c1d4aa67683bab0786213103f2a8f69c22172fcaa18e5575fd"
        },
        {
            "path": "README.md",
            "sha256": "242c008cf57604bd2c685018ed704d6ead8a0f8623a8b6196a0700aef8c6ac7d",
            "tlsh": "13e0f10324603223016b02da98ef509677c54b07f50230c4e3d7110c2fd5c31f40bf40"
        }
    ],
    "package_integrity": [
        {
            "filename": "mcp-doctor-1.0.1.tgz",
            "hashes": {
                "sha1": "26a9649e911730505633a42bf856d910c7d95549",
                "sha512_sri": "sha512-O4EXlimzOol1CrjiTbMgy/s/0+8quN3t6g/Cgbwds0b+0z/nPLjfp1syM0A+1mqUtDrBIZZKB7l60VBp0Jc1Sg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@guicai777/mcp-doctor/MAL-2026-20295.json"