← All advisoriesWeekly malicious packages

VV-376criticalSupply chain2026-11-27

Malicious 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

OSV and GitHub flagged more npm packages dressed up as AI tooling. tavern-ai-sdk 1.0.0 (MAL-2026-20675, 27 November) claims to load AI persona cards but its entry file imports a ~296 KB obfuscated bundle that runs on require, references child_process, spawn, exec and AWS-prefixed strings, and ships native binaries that check for VMs and sandboxes, the shape of a staged credential stealer. persona-ai-sdk 1.0.0 (MAL-2026-18463 / GHSA-2v69-q2gc-qm5j, 2 November) is the same build. tzero-mcp 12.3.0, an 'AST context compressor and 20-tool MCP server for Cursor, Claude Desktop & Copilot', got a GitHub malware advisory on 26 November (GHSA-pm3r-rxg9-cj5j). Treat machines that installed them as compromised.

01.

What it is

tavern-ai-sdk 1.0.0 (npm, MAL-2026-20675, Amazon Inspector): advertised as a persona-JSON loader (getPersona/listPersonas/personaIds), but personas.mjs statically imports cache-warm.mjs, one of four large hex-obfuscated bundles (cache-warm.mjs, build-cache.mjs, cache-sweep.mjs, workspaces.js) labelled as a 'build cache manifest'. They reference createRequire, child_process, spawn, exec and AWS strings; native/{linux,darwin,win32}/{arm64,x64}/cache-probe.node binaries built from VMAware probe for QEMU, VirtualBox, VMware, Hyper-V, KVM, Docker, WSL, cloud VMs and analysis sandboxes. The npm registry shows it was published and unpublished on 31 October 2026.

persona-ai-sdk 1.0.0 (npm, MAL-2026-18463, GHSA-2v69-q2gc-qm5j): same layout, with index.mjs → personas.mjs calling into the obfuscated cache-warm.mjs at import time; the decoded body references child_process, spawn, exec, net, eval and dynamic import. Only a 0.0.0-stage placeholder remains on npm.

tzero-mcp 12.3.0 (npm, GHSA-pm3r-rxg9-cj5j, 26 November 2026): GitHub malware advisory for that version only; the advisory gives no payload details. The package declares a postinstall script and tzero/tzero-mcp binaries. 12.3.0 was published on 26 November 2026 and is no longer on the registry, which now lists 12.2.2 as latest.

These names target developers wiring AI SDKs and MCP servers into Cursor, Claude Desktop and Copilot, where the machine typically holds LLM API keys, cloud credentials and Git tokens.

02.

How to check

  1. Search lockfiles, global installs, the npx cache and MCP client configs (Claude Desktop, Cursor, VS Code) for tavern-ai-sdk, persona-ai-sdk and tzero-mcp.
  2. For tzero-mcp, check which version is installed or was resolved by npx: 12.3.0 is the flagged one.
  3. Look in node_modules for cache-warm.mjs or native/*/cache-probe.node files.
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 the affected host could read: LLM API keys, AWS and other cloud credentials, GitHub/npm tokens. GitHub advises treating the computer as fully compromised; rebuilding it is the safe option.
  3. Install MCP servers and AI SDKs only from the vendor's documented package name, pin versions and avoid packages that appeared days ago with no history.
npm ls -g tavern-ai-sdk persona-ai-sdk tzero-mcp 2>/dev/null
grep -rlE '"(tavern-ai-sdk|persona-ai-sdk|tzero-mcp)"' --include=package-lock.json --include=pnpm-lock.yaml --include=yarn.lock . 2>/dev/null
grep -rn 'tzero' ~/.cursor/mcp.json ~/Library/Application\ Support/Claude/claude_desktop_config.json .vscode/mcp.json 2>/dev/null
find ~/.npm/_npx -name 'cache-probe.node' -o -name 'cache-warm.mjs' 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.