MAL-2026-5483Malicious code in mcp-server-sentry (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | mcp-server-sentry | * |
| npm | mcp-server-sentry | 0.0.1 |
| npm | mcp-server-sentry | 0.0.2 |
{"schema_version":"1.7.4","id":"MAL-2026-5483","published":"2026-06-09T20:33:56Z","modified":"2026-08-20T15:28:05.315884969Z","aliases":["GHSA-m5mm-f722-7vcq"],"summary":"Malicious code in mcp-server-sentry (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cf12283b2f16a43388d0cc6c2991fbbdab0da44ab344c1f9c71515dd05024046)\nOn `npm install`, the package's postinstall hook (scripts.postinstall: `node index.js`) collects host identifiers — `os.hostname()`, `process.cwd()`, the npm user-agent, Node version, and `os.platform()`/arch — and POSTs them to a hardcoded remote endpoint at `https://npx-canary-log.vulnerable-live.workers.dev/log` without any installer consent or opt-out. The package name `mcp-server-sentry` is an unscoped squat targeting the MCP/Sentry naming convention used by AI coding agents and developer tooling that invoke `npx mcp-server-sentry` expecting an official MCP server; the README confirms the package was published to capture traffic resolving this unclaimed name. The combination of an intentional name-squat plus install-time outbound transmission of installer identifiers (hostname + working-directory paths, which routinely leak usernames and project layouts) to an author-controlled Cloudflare Workers endpoint is a supply-chain exfiltration shape, regardless of the author's stated 'research canary' intent — installers receive no disclosure and no opportunity to decline before the beacon fires.\n\n## Source: ghsa-malware (5e84d7710bc837fa5b695279d01be458fd074c31f5f8a5d39d7d0e7901544f10)\nAny 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.\n","affected":[{"package":{"name":"mcp-server-sentry","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.0.1","0.0.2"],"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":{"domains":["npx-canary-log.vulnerable-live.workers.dev"],"evidence_files":[{"path":"index.js","sha256":"36cd93aa9a8ac8a0b6d64e4ef03aa5c3efd6d9f6f0b7434392475f8a2fed6877","tlsh":"f33195e180f805351bee46d3e1e9a899a36ff1263a0678f4b45e02295fcd49807b1cd2"},{"path":"README.md","sha256":"c276523e95d9666c73752d3ec82def504a1429a6909eec82daa1b1927e464c84","tlsh":"9021717393d1733a03d24a363944b6626b3e70b5734210a8f69d060eeb4282a83b30d6"}],"package_integrity":[{"filename":"mcp-server-sentry-0.0.1.tgz","hashes":{"sha1":"bb35a4f090eb1ef8833d9a90bafefeec099dd6b3","sha512_sri":"sha512-2lKbHqncUy77jU2CDqWm5GhYi+/KNDO/DlFcE14v6nRPKbfV+oKXd9NTGIoZqsERKNrVhn3+D6ZBmBMas1s6Jg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/mcp-server-sentry/v/0.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/mcp-server-sentry/v/0.0.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m5mm-f722-7vcq"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-005222","import_time":"2026-06-09T20:45:56.271164213Z","modified_time":"2026-06-09T20:33:56Z","sha256":"8958cba33d604713291f4f6c0a036afbf1e87ad5a4f07208e65b8b6c0c8925cd","source":"amazon-inspector","versions":["0.0.1"]},{"id":"IN-MAL-2026-005221","import_time":"2026-06-09T20:45:56.113242468Z","modified_time":"2026-06-09T20:33:56Z","sha256":"cf12283b2f16a43388d0cc6c2991fbbdab0da44ab344c1f9c71515dd05024046","source":"amazon-inspector","versions":["0.0.1"]},{"id":"IN-MAL-2026-006069","import_time":"2026-06-12T19:44:04.390139565Z","modified_time":"2026-06-12T19:08:05Z","sha256":"425687b3f3b3b2b66b87fc41473eeb1b8cc1ad435d9d3c8f9ba04e9bd4bd2900","source":"amazon-inspector","versions":["0.0.2"]},{"id":"IN-MAL-2026-006070","import_time":"2026-06-12T19:44:04.475922458Z","modified_time":"2026-06-12T19:08:06Z","sha256":"d60e168b4e5a5d37ecf2e06734c5eea1440ebc8a224e6789b4b5b635e160cff2","source":"amazon-inspector","versions":["0.0.2"]},{"id":"GHSA-m5mm-f722-7vcq","import_time":"2026-08-20T15:26:15.535286538Z","modified_time":"2026-08-20T14:25:57Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"5e84d7710bc837fa5b695279d01be458fd074c31f5f8a5d39d7d0e7901544f10","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0