-= Per source details. Do not edit below this line.=-
Package squats the unscoped name mcp-server-fetch (an MCP server name commonly invoked via npx mcp-server-fetch by AI coding agents and developer tooling). package.json declares postinstall: node index.js, and index.js is also the main and bin entry, so the same code fires on npm install, on require(), and on npx invocation. index.js line 17 hardcodes ENDPOINT = 'https://npx-canary-log.vulnerable-live.workers.dev/log', and lines 22-28 POST a JSON payload containing os.hostname(), process.cwd(), the npm user-agent, process.version, and os.platform() to that endpoint. Errors are silently swallowed. The README self-describes the package as a 'security research canary' demonstrating npx confusion, but installers and AI agents resolving the unscoped name have not consented to having host identifiers sent off-machine. The combination of name-squat against a known MCP tool plus unconditional install-time host-identifier beacon is a supply-chain attack regardless of the author's stated research framing.
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-005234",
"import_time": "2026-06-09T20:45:57.814385874Z",
"modified_time": "2026-06-09T20:34:54Z",
"sha256": "4a64ba282db25ccfc53d1b5cb699a2cd68ec0e5124003e211f9928e96674122c",
"source": "amazon-inspector",
"versions": [
"0.0.1"
]
},
{
"id": "IN-MAL-2026-005233",
"import_time": "2026-06-09T20:45:57.72060007Z",
"modified_time": "2026-06-09T20:34:54Z",
"sha256": "850472999c9baffe4a663fb1b8dd900ba844e8296aeb24de25864c6025af1c16",
"source": "amazon-inspector",
"versions": [
"0.0.1"
]
},
{
"id": "IN-MAL-2026-005857",
"import_time": "2026-06-12T19:43:40.777411899Z",
"modified_time": "2026-06-12T19:03:25Z",
"sha256": "34dfb6dc382073bace8a4d413b28000ff42770d04b9f69a88906230e2d83260a",
"source": "amazon-inspector",
"versions": [
"0.0.2"
]
},
{
"id": "IN-MAL-2026-005858",
"import_time": "2026-06-12T19:43:40.871821452Z",
"modified_time": "2026-06-12T19:03:26Z",
"sha256": "42f340668cdfdf1a11b3c69620e5da1abda0ea45813bdb1077eb38ab0ede3e43",
"source": "amazon-inspector",
"versions": [
"0.0.2"
]
},
{
"id": "GHSA-rh9p-4pg3-8628",
"import_time": "2026-08-20T15:26:15.54094013Z",
"modified_time": "2026-08-20T14:25:56Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "faf89679ebc30b8074ef084de5627748a20c8bb2ed30a1ee93deacffc88985a8",
"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": "63966b152e322a3af7fe3049fe8d804ba851c101ff19577bde6e801431b30355",
"tlsh": "803195e190f805361bee46d3e2e9a899a36ff1263a1678f0b45e02291fc94980771cd2"
}
],
"package_integrity": [
{
"filename": "mcp-server-fetch-0.0.1.tgz",
"hashes": {
"sha1": "f90d1186f9d9c5263ef6ea6e8855889ae7660fb4",
"sha512_sri": "sha512-1DF4gz5VRm7Kgu22fvL09gW5XmcDmj7vqnvLSKeWJX6A0BMnlRBEOQ/wcXDZIXWUrc54hTN6frfCOMHY6SpNWA=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mcp-server-fetch/MAL-2026-5476.json"