{"id":"MAL-2026-10745","revision":null,"records":[{"revision":"fc2365d6984d4529ac62bab3b78954b6","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10745","aliases":[],"title":"Malicious code in phantomx-tool-client (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b5e528800706b219f69d8bc87eb77203c752c8b4720e8c0b8fc04cad6df8ce1d)\nWhen the `tool-server` bin is launched, the package establishes a persistent Socket.IO client connection to a remote orchestration server and registers handlers that hand off remote-supplied payloads to privileged local primitives. `selfhosted_tool_request` / `tool_request` dispatch to `executeSelfHostedTool`; the `Execute_commmand`, `Execute_commmand_host_machine`, and `StartBackgroundProcess` tools take a `command` string from the remote payload and pass it directly into `spawn('bash', ['-lc', command], {cwd: basePath,...})`, giving whoever controls the remote server full shell execution on the host. `remote_edit_request` applies arbitrary file edits via `editTool.applyFinalEdit(data.edits)` where each `edit.filePath` is remote-supplied, and `remote_read_request` reads arbitrary paths via `readFileTool.readFile({absolutePath: data.options.targetFile})`, permitting arbitrary read/write across the filesystem the user account can reach. The GitHub operations handler (`dist/githubOperationsHanlder.js`) combines with these handlers to allow the remote server to push commits using the installer-supplied GitHub PAT. Once the CLI is running, control of the configured Socket.IO server is equivalent to interactive host access.\n","state":2,"publishedAt":"2026-07-16T18:45:27+00:00","modifiedAt":"2026-08-18T05:46:19.1174794+00:00","affected":[{"ecosystem":"npm","name":"phantomx-tool-client","ranges":[],"versions":["1.0.8"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/phantomx-tool-client/v/1.0.8"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10745","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10745","identifiers":["MAL-2026-10745"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-21T20:28:23.8856285+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-21T20:28:23.8856285+00:00","lastSuccessAt":"2026-11-21T20:28:24.0800335+00:00","error":null,"lastVerifiedAt":"2026-11-21T20:28:24.0800355+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-1d6c61c44cf3e269b6d60ed2fe0a3aa1f7e55445c7f170f16f2fa063bbf73db3-1af9b7340615cb322525d55379d7b4d30ed4c1f2d9e295f5edbf1488997f1b8b","complete":true,"records":430355,"lastAttemptAt":"2026-11-21T20:25:41.3056026+00:00","lastSuccessAt":"2026-11-21T20:15:58.7636934+00:00","error":null,"lastVerifiedAt":"2026-11-21T20:25:41.3056026+00:00","snapshotPublishedAt":"2026-11-21T19:28:28+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-5f30ac36526e4c24bbe0138ef25f40f8","complete":false,"records":13927,"lastAttemptAt":"2026-11-21T20:38:03.4963642+00:00","lastSuccessAt":"2026-11-21T20:38:03.491+00:00","error":"195 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-21T20:38:03.491+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13779,"expectedIdentifiers":13975,"failedIdentifiers":195},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-21T20:28:23.8856285+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-21T20:28:23.8856285+00:00","lastSuccessAt":"2026-11-21T20:28:24.1066848+00:00","error":null,"lastVerifiedAt":"2026-11-21T20:28:24.1066862+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-31bf8fa69c9047708b8efdd4ba972a08","complete":true,"records":13939,"lastAttemptAt":"2026-11-21T20:28:25.1576+00:00","lastSuccessAt":"2026-11-21T20:16:13.883+00:00","error":null,"lastVerifiedAt":"2026-11-21T20:16:13.883+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13975,"expectedIdentifiers":13975,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-e5345bb505029da8292989aaa8236ee0c21dd40080e465858702ec2ecb4dcefd","complete":true,"records":9989,"lastAttemptAt":"2026-11-21T20:28:23.7915189+00:00","lastSuccessAt":"2026-11-21T19:16:03.0413179+00:00","error":null,"lastVerifiedAt":"2026-11-21T20:28:23.7915189+00:00","snapshotPublishedAt":"2026-11-21T18:18:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-21T20:25:42.464307+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-21T20:25:42.464307+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-67ea94df7f6b2100258b087b14035af283f000b6aefe39f55e9f2795f912fde8","complete":true,"records":3209,"lastAttemptAt":"2026-11-21T20:28:23.8311567+00:00","lastSuccessAt":"2026-11-21T19:16:06.9994675+00:00","error":null,"lastVerifiedAt":"2026-11-21T20:28:23.8311567+00:00","snapshotPublishedAt":"2026-11-21T18:18:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-ca9191aa5fa7fa5c5a36899d65632bf6b4c0113dd89adbc5ffafda61020ad762","complete":true,"records":232850,"lastAttemptAt":"2026-11-21T20:28:23.612302+00:00","lastSuccessAt":"2026-11-21T20:28:22.4166332+00:00","error":null,"lastVerifiedAt":"2026-11-21T20:28:23.612302+00:00","snapshotPublishedAt":"2026-11-21T20:18:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}