{"id":"MAL-2026-12789","revision":"944a5d7ee5ef4eb7a72fbe975aa0f301","records":[{"revision":"944a5d7ee5ef4eb7a72fbe975aa0f301","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12789","aliases":[],"title":"Malicious code in fa-mcp-sdk (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (62142cbcb6da6a6c078dd91a92cc28d8cfa30a9f4fc901ab2cdbc4cfd6540abb)\nThe package includes cli-template/update.cjs, an update helper that combines several install/update-time capabilities: it imports child_process, https, fs, and os; reads os.hostname() and other system identifiers; issues https.request POST calls to a remote endpoint; performs filesystem existence checks; and calls spawn('/bin/bash',...) to execute shell commands. The composition — host identifier collection, arbitrary shell execution via /bin/bash, and outbound HTTPS POST inside a self-updater — provides a mechanism to run remote-directed commands on machines that install or run this package. Additional files under dist/core/ (agent-tester/services/TesterMcpClientService.js, web/server-http.js) exercise ping/HTTP GET/POST patterns consistent with host reachability probing and outbound command/data flow.\n","state":0,"publishedAt":"2026-08-05T13:56:26+00:00","modifiedAt":"2026-08-05T14:37:12.2132457+00:00","affected":[{"ecosystem":"npm","name":"fa-mcp-sdk","ranges":[],"versions":["0.12.72"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/fa-mcp-sdk/v/0.12.72"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12789","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12789","identifiers":["MAL-2026-12789"]},"retained":false,"historicalAffected":[]}],"coverage":[]}