MAL-2026-10161Malicious code in sidecar-mcp (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
1.0.0 | unavailable | — | — | — |
1.0.1 | unavailable | — | — | — |
1.0.2 | unavailable | — | — | — |
1.0.3 | unavailable | — | — | — |
1.0.4 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | sidecar-mcp | * |
| npm | sidecar-mcp | 1.0.0 |
| npm | sidecar-mcp | 1.0.1 |
| npm | sidecar-mcp | 1.0.2 |
| npm | sidecar-mcp | 1.0.3 |
| npm | sidecar-mcp | 1.0.4 |
{"schema_version":"1.7.4","id":"MAL-2026-10161","published":"2026-07-10T16:25:41Z","modified":"2026-08-25T05:17:40.127074429Z","aliases":["GHSA-6fg7-6wv2-gx3j"],"summary":"Malicious code in sidecar-mcp (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8b48cc2cf1326bc68eda84d3c97733c367be4309d93c9671ad4d36f431bd0353)\nThe package ships a single bin entry `sidecar-mcp`, advertised as a one-command setup for Sidecar MCP servers. When the user runs that command, the CLI appends a hardcoded ed25519 public key (labeled `deepak@usesidecar.com`) into the running user's `~/.ssh/authorized_keys` (created with mode 0o600 if absent) and then runs `sudo systemsetup -setremotelogin on`, with a `launchctl load.../ssh.plist` fallback, to enable the macOS SSH daemon. Neither the package description nor the CLI output discloses these actions. The result is persistent inbound SSH access to the installer's machine for the holder of the corresponding private key — a backdoor mechanism that survives reboot and is independent of the package itself remaining installed. The advertised purpose (MCP server setup) does not require modifying authorized_keys or enabling Remote Login, and the installer never consents to granting a third party interactive shell access.\n\n## Source: ghsa-malware (a576ca6e15eba7a9598a23e4d387fbb3d546c675474bc785a247ca75e1e202e6)\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":"sidecar-mcp","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.1","1.0.0","1.0.4","1.0.2","1.0.3"],"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"},{"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":{"evidence_files":[{"path":"bin/setup.js","sha256":"7fca5f3495c3a35f6fbbb0234e0f4c37b86e5ff21b583ff4b3849baf0dc11f5a","tlsh":"1921536165e53278d9b2849bda0a903e380bc2207306ec88b5ec89d99bc15844263abc"}],"package_integrity":[{"filename":"sidecar-mcp-1.0.1.tgz","hashes":{"sha1":"b5688f057e55e34148b13317657a90fe98eefdb5","sha512_sri":"sha512-qQWvrASAQ+o0zOpl3XPhNXc3eUCyh3lzW5/9df00iTpS6G9w1pUVVJvKv/MIA3KIA7CrCRhEYjyi/CzrM2wWLA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/sidecar-mcp/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sidecar-mcp/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sidecar-mcp/v/1.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sidecar-mcp/v/1.0.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6fg7-6wv2-gx3j"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/sidecar-mcp/v/1.0.3"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-009642","import_time":"2026-07-10T17:10:13.536543041Z","modified_time":"2026-07-10T16:25:41Z","sha256":"421d80be33fb453b40cb46e71d737f543c8caa1b7534edaa4b5bb2a9c23ddd8d","source":"amazon-inspector","versions":["1.0.1"]},{"id":"IN-MAL-2026-009643","import_time":"2026-07-10T17:10:13.635102411Z","modified_time":"2026-07-10T16:25:50Z","sha256":"8b48cc2cf1326bc68eda84d3c97733c367be4309d93c9671ad4d36f431bd0353","source":"amazon-inspector","versions":["1.0.0"]},{"id":"IN-MAL-2026-009645","import_time":"2026-07-10T17:10:13.877684574Z","modified_time":"2026-07-10T16:26:05Z","sha256":"d5f432bf48fe9d69cc3b91d4814350fb184b491b3cdae34201552ba6338324be","source":"amazon-inspector","versions":["1.0.4"]},{"id":"IN-MAL-2026-009644","import_time":"2026-07-10T17:10:13.73663749Z","modified_time":"2026-07-10T16:25:58Z","sha256":"f21cba1f2f8e1cb8ee8cf910892c186eb685ab2c84451f23c85efc589d07623a","source":"amazon-inspector","versions":["1.0.2"]},{"id":"GHSA-6fg7-6wv2-gx3j","import_time":"2026-08-24T15:27:39.263718236Z","modified_time":"2026-08-24T14:52:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"a576ca6e15eba7a9598a23e4d387fbb3d546c675474bc785a247ca75e1e202e6","source":"ghsa-malware"},{"id":"IN-MAL-2026-018665","import_time":"2026-08-25T05:15:47.028928564Z","modified_time":"2026-08-25T04:54:40Z","sha256":"28d40fad6cbfdd951d014535bd292e992b271eddd9b5066053df5464f32e2e4b","source":"amazon-inspector","versions":["1.0.3"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0