← All advisoriesWeekly malicious packages

VV-360criticalSupply chain2026-11-24

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.

01.

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.

02.

How to check

  1. Search lockfiles, global installs, the npx cache and MCP client configs (Claude Desktop, Cursor, VS Code, Windsurf) for these four names.
  2. Check network and DNS logs for aone-cli-next.oss-cn-beijing.aliyuncs.com.
03.

How to fix

  1. Remove the packages and their MCP config entries, and clear the npx cache.
  2. 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.
  3. 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/null
04.

Sources

Related on VibeVulns
More advisories for this tool
More malicious packages · Weekly hub →
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.