← All advisoriesWeekly malicious packages
Malicious npm packages with AI coding and MCP names: ali-ai-coding-trace runs a remote script at install, plus @apexfdn/copilot-mcp, toga-ai and oc-agent-toolbar-module-client
Between 19 and 24 November 2026, OSV and GitHub flagged four more npm packages with AI-coding or MCP names as malicious. ali-ai-coding-trace, advertised as a tracing and telemetry toolkit for AI-assisted coding, has no real functionality: its postinstall hook downloads JavaScript from an Alibaba Cloud OSS bucket, runs it and deletes it. @apexfdn/copilot-mcp, toga-ai (1,324 flagged versions) and oc-agent-toolbar-module-client are GitHub malware advisories; npm has replaced all three with security holding packages. Treat any machine that installed or ran one as compromised.
What it is
ali-ai-coding-trace 1.0.0 (MAL-2026-20351, 19 November): index.js exports an empty object. The postinstall hook (node index.js) rebuilds a URL and a 'curl -sL -o' command from character-code arrays, downloads https://aone-cli-next.oss-cn-beijing.aliyuncs.com/config/setting.js into <package dir>/.cache, require()s it and deletes it, so arbitrary remote code runs at install and leaves no copy on disk. IOC: index.js SHA-256 507b9adf7ec3f4d561efc74b462641a1521d8217c3b4336552d967829eff34eb.
@apexfdn/copilot-mcp (GHSA-8q2p-w9w5-552h / MAL-2026-20505, 24 November), toga-ai (GHSA-pv72-g3cf-rgh3 / MAL-2026-20378, 23 November; 1,324 versions from 1.0.0 to 1.0.1328) and oc-agent-toolbar-module-client (GHSA-vr7v-27fq-75f8 / MAL-2026-20381, 23 November): GitHub malware advisories that don't describe the payload; GitHub's guidance is that any computer that installed or ran them should be considered fully compromised.
MCP servers and agent add-ons are often started with npx straight from a client config, so one launch is enough to run the code with your user's access to files, SSH keys, cloud credentials and API keys.
How to check
- Search lockfiles, global installs, the npx cache and MCP client configs (Claude Desktop, Cursor, VS Code, Windsurf) for these four names.
- Check network and DNS logs for aone-cli-next.oss-cn-beijing.aliyuncs.com.
How to fix
- Remove the packages and their MCP config entries, and clear the npx cache.
- From a clean machine, rotate every secret that was reachable on an affected one: LLM API keys, cloud credentials, GitHub/npm tokens, SSH keys. Rebuilding the machine is the safe option.
- Install AI tooling and MCP servers only from the vendor's documented package name, pin versions, and consider npm install --ignore-scripts for new packages.
grep -rnE '"(ali-ai-coding-trace|@apexfdn/copilot-mcp|toga-ai|oc-agent-toolbar-module-client)"' package-lock.json pnpm-lock.yaml yarn.lock 2>/dev/null
grep -rlE 'ali-ai-coding-trace|apexfdn/copilot-mcp|toga-ai|oc-agent-toolbar-module-client' ~/.npm/_npx 2>/dev/nullSources
- criticalMalicious npm packages posing as AI SDKs and MCP servers: character-ai-sdk, char-ai-sdk, @mibbp/agent-observer, mrnima-openai-chatgpt-bot and @fdcasj_dfew/md-doc-mcp
- criticalMalicious npm package @guicai777/mcp-doctor posed as an MCP diagnostic tool and dropped a hidden Windows executable, with a README telling users to run mshta (MAL-2026-20295)
- criticalCVE-2026-115555 and 28 more: IBM's Langflow bulletin fixes 29 flaws up to 1.13.0, including 9.9 code execution, MCP tool calls that run custom code without admin rights and an unauthenticated public-flow RCE, upgrade to 1.13.1
- criticalCVE-2026-76092 and CVE-2026-76099: Docker MCP Gateway served its MCP endpoints with no auth in container mode, and its dynamic tools could mount the Docker socket for root on the host (fixed 0.43.1)
- criticalCVE-2026-142487: Joinly's meeting-agent MCP server let any network client import and run subprocess.Popen through the joinly-settings header (fixed 0.5.4)
- criticalCVE-2026-76812 and more: CKAN MCP Server's unauthenticated HTTP mode let anyone bounce sparql_query to the cloud metadata service and read IAM credentials, plus a string of SSRF, injection and DoS fixes (upgrade to 0.4.147)
- criticalTwelve npm packages posing as MCP servers flagged as malware on 1-2 December 2026 (mcp-crypto-timestamp-notary, csc-l402-mcp, remote-harness-mcp and more)
- criticalMalicious npm packages posing as AI SDKs and MCP tools: tavern-ai-sdk and persona-ai-sdk run obfuscated loaders on import behind VM detection, and tzero-mcp 12.3.0 is flagged as malware
- criticalMalicious PyPI packages qwen-tts-cpu and qwen-tts-runtime pose as Qwen text-to-speech add-ons and download and run remote code
- criticalMalicious PyPI and npm packages with MCP and AI-agent names: mcp-runtime-report silently ships every process's environment variables off the machine, plus mcp-env-report, mcp-sysinfo-tools, create-ai-agent-setup, glbl-agent, @omnirush-ai/cli-win32-x64 and mcp-consultasdeveiculos