Treat every agent skill, MCP server, editor extension and local model as code running under your user account, because that’s what it is. Before you install one, spend ten minutes on five questions. Who publishes it? What does it execute? What does it fetch at run time? How does it update? What can it reach? Each of the November 2026 incidents below failed at least one of them.
What actually runs when you install one?
More than most people assume. A skill is mostly instructions, but those instructions steer an agent that already has a shell. Plugins, MCP servers and extensions run their own code directly, with your permissions.
Anthropic’s plugin security page is blunt about it: “A Claude Code plugin you install can execute arbitrary code on your machine with your user privileges.” Claude Code’s permission rules and sandbox apply to the tool calls Claude makes. They don’t apply to code a plugin runs on its own, such as hooks, monitors and MCP server processes.
| What you install | What runs | Covered by the agent’s sandbox? |
|---|---|---|
Agent skill (SKILL.md) |
Instructions the agent follows, plus any scripts it tells the agent to run | The commands the agent runs, yes. The instructions themselves, no |
| Claude Code plugin | Hooks, monitors, MCP and LSP servers, bin/ executables, skills |
Hooks, monitors and servers: no |
| MCP server (stdio) | A local process started by your agent | No. It runs with your access |
| MCP server (remote) | Someone else’s server; its tool descriptions and outputs enter your agent’s context | Not applicable. Its text can still steer the agent |
| VS Code, Cursor or Windsurf extension | JavaScript in the extension host | No. VS Code says the extension host “has the same permissions as VS Code itself” |
| Model file (GGUF, safetensors) | The weights, plus a chat template that formats every conversation | No. The template shapes what the model tells you or your agent to do |
One detail from the skills docs: a project skill’s allowed-tools field applies even in a -p run in a folder you’ve never trusted. A skill committed to a repository can pre-approve its own tools, so read the skills in a repo before you run an agent there.
What went wrong in November 2026?
Four incidents that came to light in November cover the main ways this goes wrong. Two started in late October.
A trusted extension, served by a compromised marketplace. Cursor’s security notice says tampered copies of Anthropic’s Claude Code extension, versions 2.1.312 and 2.1.313 for Windows and macOS, were in Cursor’s extension marketplace on October 29, 2026, from about 2:27am to 1:35pm PT. The payload added an attacker’s SSH key labelled svc-telemetry, installed persistence that retried a reverse SSH tunnel “roughly every 60 seconds”, and sent host details out. On most machines the tunnel step failed, because it needs admin rights. Cursor’s November 13 update says at most 5,000 users may have received the tampered copies, which the attacker placed “directly on the cache used to serve” the marketplace with a credential stolen in a wider breach. BleepingComputer covered that chain on November 14. The extension name and publisher were real. The distribution layer was the compromised part.
An official-marketplace skill that sent data out. Issue #64 on Convex’s backend skill points out that the plugin, listed in Anthropic’s claude-plugins-official marketplace, posted the user’s one-sentence project idea to a convex.site host under a “telemetry” comment, and piped a remote script into bash. One skill also told the agent to split the download and the execution into two calls because “a single command that both downloads remote code and executes it is the shape harness safety classifiers block.” A Convex engineer replied on November 28 that the idea is only used to generate a custom quickstart, and a follow-up commit removed the telemetry labels and the classifier workaround. The scripts are still fetched at run time and aren’t pinned, so you still can’t review in advance what will run.
Poisoned model files. Malspark scanned 3,273,389 Hugging Face repositories on November 26 and found five malicious GGUF models with 2,428 downloads as of November 27. That’s a download count, not a count of victims. In the main campaign, the payload sat after the last tensor, where loaders never read, and the chat template was changed “two to four days later” so that the model would tell the user, or an agent with a shell, to run the command that unpacks it. Safetensors models carry the same kind of template in a separate file, so changing formats doesn’t remove the risk.
A real package, hijacked at the registry. Microsoft’s agent-framework package on PyPI shipped two malicious versions, 1.26.1 and 1.26.2, on November 17. StepSecurity’s write-up explains that a .pth startup hook ran the stealer whenever Python started in that environment, even if nothing imported the package. It collected credential files, environment secrets and CI identity tokens.
A fifth report is about a legitimate vendor. A Reddit post, discussed on Hacker News on November 26, says Notion’s official MCP server puts upsell instructions into the agent’s context. Whatever you think of that, tool output is input to your agent, and vendors write it.
Is an official marketplace listing enough?
No. A listing tells you where something came from, not what the code does. Two of the cases above came through official channels: the Convex plugin was in Anthropic’s official marketplace, and the backdoored extension came from Cursor’s own marketplace under Anthropic’s real name.
Other signals mean less than they look. VS Code’s verified-publisher check mark means the publisher proved it owns a domain and has been in good standing for six months. Claude Code’s docs say a marketplace’s name “doesn’t tell you what each plugin in it does”. Data from earlier in 2026 points the same way: Snyk’s ToxicSkills audit (February 2026) found at least one security flaw in 36.82% of 3,984 skills from ClawHub and skills.sh, and confirmed 76 malicious payloads.
Databricks’ study of 5,400 malicious npm packages (November 23) shows why. Compromised legitimate packages were 7% of the malicious set but over 99% of downloads, so attackers get their reach by taking over something people already trust. The study also describes packages aimed at AI tooling: MCP server packages that harvest credentials from the agent host, and packages that rewrite AI assistant config and instruction files.
The 10-minute check
Run this before installing any skill, plugin, MCP server or extension. It’s built for one engineer and a terminal, not a security team.
- Minutes 0-2: confirm the publisher and the copy. Is this the vendor’s own repository or org, or a fork or lookalike? For extensions, know which store your editor installs from. Cursor’s update says Open VSX, the source its marketplace serves from, “never had the malware”. Only Cursor’s cached copy did. Stars and download counts aren’t evidence of safety.
- Minutes 2-5: read what executes. For a Claude Code plugin, open
hooks/hooks.json,.mcp.jsonand every file inbin/, then list its components without starting a session:claude --plugin-dir <dir> plugin details <name>. For an MCP server, read thecommand,argsand environment variables it asks for. For a skill, read the wholeSKILL.mdand itsallowed-tools. - Minutes 5-7: look for run-time fetches. If it downloads a script at run time, pipes anything into a shell, or runs
npx some-packagewith no version, the code you reviewed isn’t the code that will run. The greps below find most of these. - Minutes 7-8: decide how it updates. Pin a version, and turn auto-update off or delay it for anything with real access. VS Code 1.125 changed
extensions.autoUpdatetoon/offand addedextensions.autoUpdateDelay, which defaults to two hours. Claude Code can turn auto-update on or off per marketplace. A plugin you reviewed can change on disk the next day. - Minutes 8-9: write down what it will need at run time. Note which tokens and hosts it asks for. If it wants a token, plan to give it its own narrow one, never your personal one. How to limit what it reaches once it runs (sandboxes, masked credentials, scoped tokens) is covered in running coding agents without handing them your keys.
- Minutes 9-10: scan it and record it. Run a scanner (below) and add the item to a shared list with the version and who approved it. An inventory you can grep matters on the day the next advisory comes out.
The greps for step 3, run from a clone of the skill or plugin:
# Remote fetches, shell pipes, encoded blobs and hard-coded hosts
grep -rnE --exclude-dir=.git "curl |wget |Invoke-WebRequest|iwr |\| *(ba|z)?sh|bash -c|eval |base64|https?://" .
# Tools a skill pre-approves for itself
grep -rn --exclude-dir=.git "allowed-tools" .
# MCP servers started through a package runner; check each args line for a pinned version
grep -rn -A3 --include="*.json" -E '"command": *"(npx|uvx|bunx|pnpm)"' .
The last grep prints each npx, uvx, bunx or pnpm server with the lines after it. "args": ["-y", "some-mcp-server"] is unpinned. "some-mcp-server@1.4.2" or "pkg==1.2.0" is pinned. A hit on the first grep doesn’t mean the code is malicious, since plenty of good skills call curl. It means a human reads that line before the agent runs it.
Which scanners are worth running?
Two, and neither can tell you what a tool will fetch or change after you scan it.
- Snyk Agent Scan (formerly Invariant Labs’ mcp-scan) finds MCP configs and skills for Claude, Cursor, VS Code, Copilot, Windsurf, Gemini CLI and others, and checks them for prompt injection, tool poisoning and malware. Run
uvx snyk-agent-scan@latest, or point it at one file:uvx snyk-agent-scan@latest ~/path/to/SKILL.md. It needs aSNYK_TOKENand sends tool descriptions and skill content, with secrets redacted, to Snyk’s API. It asks before starting each stdio MCP server, so don’t pass--dangerously-run-mcp-servers, which skips that prompt. - gguf-radar (MIT) checks model files without running them.
gguf-radar scan ./model.ggufchecks a local file,gguf-radar scan <org>/<repo>checks a Hugging Face repo, andgguf-radar sanitize suspicious.gguf -o clean.ggufrebuilds a clean copy with the same weights.
How do you check a model before you load it?
Download from the original publisher, or quantize the official weights yourself. Scan the file. Don’t let a downloaded chat template decide what an agent with a shell gets told.
Malspark’s advice is to replace the embedded template with one you’ve reviewed: --chat-template-file in llama.cpp, or TEMPLATE in an Ollama Modelfile. Taking a model off Hugging Face doesn’t remove the copy already on your disk, so check your local model folders as well.
What should a small team standardize?
Pick one person to own the decision, and keep an allowlist and an inventory. At five or twenty engineers you don’t need a platform for this, just someone who decides and settings that enforce what they decided.
- For editor extensions, VS Code’s
extensions.allowedsetting allowlists publishers or exact versions, for example"esbenp.prettier-vscode": ["3.0.0"]. Version ranges aren’t supported. Check whether your fork honours it, because Microsoft’s docs only cover VS Code. - In Claude Code, managed settings can restrict plugin sources with
strictKnownMarketplacesand MCP servers withallowedMcpServersanddeniedMcpServers. A cloned repo can’t approve its own.mcp.jsonservers until someone accepts the workspace trust dialog, so don’t accept it on autopilot. - For packages, pin MCP servers and agent frameworks in a lockfile with hashes, as you would any dependency. If your CI installs them, they run with whatever your CI can reach. What can your CI reach? is the one-hour audit for that side.
Microsoft announced device-level discovery and controls for local agents at Ignite. The post on agent credentials covers what they do and the version a small team can run without them.
What if you already installed something bad?
Assume the machine is compromised, along with every credential it could reach. Uninstalling is the first step, and on its own it doesn’t clean the machine.
Cursor’s notice says “uninstalling the extension may not be sufficient”, because the payload drops persistence scripts that keep running. For agent-framework, StepSecurity advises isolating the environment before you run Python or pip again, since the .pth hook fires on interpreter start. The steps are the same in both cases: remove the persistence, rebuild if you can’t be sure it’s clean, and rotate keys, tokens and sessions from a different, trusted machine.
What I’d do this week
- List every skill, plugin, MCP server and editor extension on your team’s machines.
uvx snyk-agent-scan@latestwill find most of the agent-side ones. - Remove anything nobody can explain.
- Pin versions, including unpinned
npxanduvxentries in MCP configs, and turn off or delay auto-update for extensions with real access. - If anyone installed or updated the Claude Code extension from Cursor’s marketplace on October 29, check for the
svc-telemetrykey in~/.ssh/authorized_keys(on Windows, alsoC:\ProgramData\ssh\administrators_authorized_keys) and follow Cursor’s notice if it’s there. - Scan your local model folders with gguf-radar.
- Agree who approves new tools, and write the rule down.
If you’re working out which of these tool types you need in the first place, skills vs MCP vs plugins compares them. This kind of tooling review is part of what I do as a fractional CTO for small teams.
Further reading
- Plugin security and trust, Anthropic’s review steps for Claude Code plugins
- Cursor’s security notice with indicators of compromise and cleanup scripts, and its November 13 incident update
- Convex backend skill, issue #64, a clear example of reviewing a skill
- Malspark on malicious GGUF models, including YARA rules and indicators