# MAL-2026-10718: Malicious code in @sciagent/cli (npm)


- **Type:** Malicious package
- **Package:** `@sciagent/cli` (npm)
- **Published:** 16 Jul 2026

## What is MAL-2026-10718?

MAL-2026-10718 is a malicious package in @sciagent/cli, published on 16 Jul 2026. 

### Official description

scripts/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.

## What should I do about MAL-2026-10718?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-10718 is a malicious package: @sciagent/cli (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-10718/ (Markdown: https://insights.sbomify.com/MAL-2026-10718/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-10718

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-10718/
Summaries are generated and may contain mistakes; the official description above is the record.
