-= Per source details. Do not edit below this line.=-
Package squats the unscoped name mcp-server-github to intercept installs intended for the official @modelcontextprotocol/server-github. package.json declares "postinstall": "node index.js", so on every npm install the bundled index.js unconditionally POSTs os.hostname(), process.cwd(), process.env.npm_config_user_agent, Node version, and os.platform() to https://npx-canary-log.vulnerable-live.workers.dev/log. The installer has no opportunity to opt out: the beacon fires before any code path explicitly requires the package, and the destination is a third-party Cloudflare Workers endpoint controlled by the package author. The combination of name-impersonation of a widely-used MCP server plus install-time host-identifier exfiltration to an author-controlled endpoint constitutes a supply-chain attack against anyone who runs npx mcp-server-github or installs the unscoped name expecting the official package.
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.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-005219",
"import_time": "2026-06-09T20:45:55.833019262Z",
"modified_time": "2026-06-09T20:33:49Z",
"sha256": "747734631bd95c9a23ba57ea3610af951c612b8841e9c2e2ab99c3c70f244886",
"source": "amazon-inspector",
"versions": [
"0.0.1"
]
},
{
"id": "IN-MAL-2026-005220",
"import_time": "2026-06-09T20:45:55.980107078Z",
"modified_time": "2026-06-09T20:33:50Z",
"sha256": "9daf7f0ccde675bf09994ef3e587742a0284e19ca92c8c2e709ac465d0b85446",
"source": "amazon-inspector",
"versions": [
"0.0.1"
]
},
{
"id": "IN-MAL-2026-005917",
"import_time": "2026-06-12T19:43:47.361683122Z",
"modified_time": "2026-06-12T19:04:48Z",
"sha256": "156761c4bd0e22759f082d7c030c241be12301dced1e58943c17aaacf9fe0958",
"source": "amazon-inspector",
"versions": [
"0.0.2"
]
},
{
"id": "IN-MAL-2026-005918",
"import_time": "2026-06-12T19:43:47.452813524Z",
"modified_time": "2026-06-12T19:04:48Z",
"sha256": "eca472e83f3de851de270a0fec056eb713ee63407ff6df1d52dc8cf6a914d5c8",
"source": "amazon-inspector",
"versions": [
"0.0.2"
]
},
{
"id": "GHSA-95pj-hrh5-27gq",
"import_time": "2026-08-20T15:26:15.528172239Z",
"modified_time": "2026-08-20T14:25:56Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "b92375a62de2e1b18b67b69bca48e60ac1e18bea70dfb469ae74e56e3902d64a",
"source": "ghsa-malware"
}
]
}[
{
"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"
}
]
{
"domains": [
"npx-canary-log.vulnerable-live.workers.dev"
],
"evidence_files": [
{
"path": "index.js",
"sha256": "0c7ef8c9cda6d6f28d7d78411b8d713499133a2731df05d50fbcecc478654c57",
"tlsh": "763195e180f805351bee46d3e1e9a899a36ff126360678f0b45e02295fc90980771cd2"
}
],
"package_integrity": [
{
"filename": "mcp-server-github-0.0.1.tgz",
"hashes": {
"sha1": "3d30536c5d9117021d84ced9eee22524f7b45d6d",
"sha512_sri": "sha512-vdwMUwzPRKobXd9wznUO8TqROVYAQFOsCFLzxOLOjq9rtbiB1ZAR/llKRxbW3ZDtejlh45LuKE1rO8uV+9yh2w=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mcp-server-github/MAL-2026-5479.json"