Learn AI at the cost of chai. Level 1 is free. Founding Pro will be ₹499 for the first year, about one chai a week.Five minutes a day, one AI idea at a time. Free to start, with a Google sign-in.From ML basics to production AI, one card at a time. Free to start, with a Google sign-in.

Blog By 6 min read ai in production security llm

Claude Code skills security: pinned isn't safe

Claude Code skills security after the Convex plugin row: why a skill pinned to a commit can still run code it fetches at run time, and what to check first.

Updated

A pinned skill can still run code nobody pinned.

That’s what this week’s row over the Convex plugin for Claude Code shows. The plugin is listed in Anthropic’s official marketplace, and the catalogue pins it to one exact commit. Its skills still download shell scripts from a server at run time and run them.

For Claude Code skills security, skip the SKILL.md you already read and go to the URL inside it.

Short answer: the skills docs I read on 2 December 2026 describe no skill security scanner. They describe settings that limit what a skill can run, and the review is still yours. Two things are worth switching on today: disableSkillShellExecution, and managed permission rules if you run a team.

What happened with the Convex skills?

On 26 October a user opened issue #64 on Convex’s plugin repo. On 27 November it hit the Hacker News front page, and by Saturday morning it had 255 points. The issue flags three skills:

  • quickstart POSTs your one-sentence project idea to a convex.site host. A comment in the skill calls it telemetry. According to the issue, the user isn’t told.
  • add pipes a script from the same host straight into bash.
  • labs-quickstart splits the download and the run into two separate Bash calls, and explains why: “A single command that both downloads remote code and executes it is the shape harness safety classifiers block.”

Convex’s CEO replied on HN. He said the prompt powers the quickstart feature, gets thrown away within 30 seconds once the starting project setup is decided, and is “working as intended”. He also said they’ll review the code. The person who filed the issue wrote that they read it as a team trying to make onboarding reliable, not as anything malicious.

I believe both of them. That’s what bothers me.

No one here needed bad intent. All it took was a helpful skill, a script that isn’t pinned, and a note telling the model how to step around a check you chose to have. If that server gets compromised one day, the same skill ships whatever the attacker wants, and nothing in the plugin changes.

Are Claude Code plugins safe?

Anthropic’s own answer is blunt. Its plugin security page says a plugin “can execute arbitrary code on your machine with your user privileges.”

The page then gets specific:

  • Hooks and monitors are shell commands that run with your full user permissions.
  • Claude Code starts the MCP servers a plugin declares. A stdio one is a local process.
  • Hooks, monitors and those server processes all run outside the sandbox.
  • Skills go into Claude’s context as instructions, so they steer the tools Claude already has.
  • If auto-update is on, the files you reviewed can change on disk. For claude-plugins-official it’s on by default.

Your permission rules and sandbox cover the calls Claude makes. They don’t cover what a plugin runs by itself.

I think of a plugin as a dependency with shell access, plus a model that reads its README as orders.

Does pinning a skill to a commit make it safe?

A pin protects the files in the commit and nothing else.

The Convex entry in the official marketplace is pinned to commit 6ca54f6. The community marketplace goes further: where it pins a SHA, Claude Code refuses to install any other commit. That’s good. But the SHA pins the instructions, and the instruction says “curl this URL”. Whatever that URL returns tomorrow was never in a commit anyone reviewed.

Backend people have seen this one. Lockfile pinned. Postinstall does curl | sh. The audit is green and you still lose your Friday.

Anthropic’s skills docs say it more politely. Skills that fetch from external URLs “pose particular risk”, and “even trustworthy Skills can be compromised if their external dependencies change over time.”

How do you review a Claude Code skill before installing it?

It takes ten minutes and a text editor. Most of this is already in Anthropic’s docs, split between the enterprise guide for vetting skills and the plugin security page.

  1. Grep for the network: curl, wget, fetch, requests, http. Every URL is a dependency you didn’t pin, so find out where it goes and what gets sent.
  2. Read what leaves the machine. Prompts, file paths, repo names, anything near .env. Calling it telemetry doesn’t stop it being your data. I made the same point about zero data retention: a promise you can’t check isn’t a control.
  3. Look for lines written for the model instead of for you, like “run this as a separate call” or “don’t ask for confirmation”. A skill that talks about getting past your safety checks is a red flag, however politely it puts it.
  4. Check allowed-tools. The Claude Code docs warn that a skill can grant itself broad tool access, and that a project skill’s allowed-tools applies even in a -p run in a folder you’ve never trusted.
  5. Open hooks/hooks.json, .mcp.json and everything in bin/. That code runs without asking you.
  6. Decide on auto-update. If you reviewed a version, freeze it, and review each update like any other dependency bump.

It’s dependency hygiene with a chatbot in the middle.

Is there a Claude Code skill security scanner, audit or check?

Not a security scanner, in the skills page of Anthropic’s docs, read on 2 December 2026. What it has is settings that cut what a skill can do, and one checkup that reads your instructions. They are worth knowing before you review anything.

A skill can run shell commands before the model sees it. A line like !`git diff HEAD` is run by Claude Code and replaced with its output, which the docs call dynamic context injection. These commands never prompt while the skill renders. Claude Code checks each one against your permission rules first. A deny rule aborts the invocation, and outside auto mode so does any command your rules don’t allow.

If you don’t use that feature, turn it off. Setting "disableSkillShellExecution": true replaces each such command with [shell command execution disabled by policy]. It covers user, project, plugin and additional-directory skills, and leaves bundled and managed skills alone. The docs say it is most useful in managed settings, where users can’t override it.

allowed-tools is the other control. It pre-approves tools for the turn that runs the skill. For a team, allowManagedPermissionRulesOnly (Claude Code v2.1.282 or later) makes Claude Code ignore allowed-tools in project and personal skills, and /status lists each skill whose grant was ignored.

There is also /doctor prompt-audit, from Claude Code v2.1.283. It checks your CLAUDE.md files, skills and other configuration for outdated or conflicting instructions. It does not look at the URL inside a skill, or at an unpinned script. That is still the job of the checklist above, so treat it as your audit.

Claude Code skills security vs a normal npm package

An npm package runs code. A skill runs code and also tells a model what to do with your shell, your repo and whatever credentials sit in that environment. One bad fetch doesn’t only drop a binary on your machine. It can drop instructions into the model’s context.

The 1Password breach had the same shape: one trusted path that led straight to where the secrets live. The fix is the one I argued for with Google’s Workspace MCP rules. Decide what the model is allowed to touch before the model gets a say.

In practice that means trying a new skill in a throwaway container or VM with no production credentials. Keep cloud keys out of the shell your agent uses. Give the agent a short-lived token scoped to the one repo it needs. I’ve since written the one-command version of the same discipline for post quantum TLS: check what your stack actually negotiates, then log it.

My Rule for 2026: Review the URL, not just the SKILL.md. If a skill fetches code at run time, you haven’t reviewed the skill. You’ve reviewed a pointer.

So, quick count: how many skills are installed on your machine right now, and how many of them call home?

Get the next one by email.

Sent when a post is ready. Never filler.

Free / One email per post / Unsubscribe in one click

Next issue // when it is ready

No filler.

One lesson from production per issue. What broke, why, and the rule I took from it. No roundups. No launch-day cheerleading.