{"id":"MAL-2026-10718","revision":"af6fba50a76b4d179f28318cb0624e1c","records":[{"revision":"af6fba50a76b4d179f28318cb0624e1c","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10718","aliases":[],"title":"Malicious code in @sciagent/cli (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (310123a94891174b8cfa55def38b6e916b89d43306a52793739f26289fe51e4d)\nscripts/postinstall.js fetches a ~10MB+ 'sciagent' executable over HTTPS from https://u250924-adc6-f977430f.westb.seetacloud.com:8443 (a rented seetacloud.com subdomain that does not match the package's declared publisher), writes it to ~/.sciagent/bin/sciagent, chmods it 0755, and the CLI shim subsequently spawns it. No hash, signature, or publisher check is performed on the fetched bytes; the URL is also overridable via a RELEASE_SERVER_URL environment variable. A fallback branch runs an unpinned `npm install -g @tencent-ai/codebuddy-code` at postinstall time and writes a wrapper that requires the resolved codebuddy-headless.js, so whatever version of that unrelated third-party package is current at install time is auto-installed globally and loaded by the sciagent CLI. Publisher metadata (gitee garva/research-agent, 'SciAgent Team') does not match either the seetacloud host or the poisondrinker/research-agent GitHub fallback referenced in the same script. Installing the package causes the installer's machine to execute opaque bytes retrieved from a non-publisher host at install time.\n","state":0,"publishedAt":"2026-07-16T18:42:59+00:00","modifiedAt":"2026-07-16T19:19:58.1489002+00:00","affected":[{"ecosystem":"npm","name":"@sciagent/cli","ranges":[],"versions":["1.0.68","1.0.69"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@sciagent/cli/v/1.0.68","https://www.npmjs.com/package/@sciagent/cli/v/1.0.69"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10718","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10718","identifiers":["MAL-2026-10718"]},"retained":false,"historicalAffected":[]}],"coverage":[]}