Skip to content
Back to skills

Skill Name Provenance Check

ASecurity

Use before you recommend, install, fetch or clone a skill, plugin, MCP server, chipset or package by NAME when that name came from model recall (yours or another agent's) or from a user's unverified guess, and not from a registry listing or tool result read in this session. Models invent installable names, repeat the same invented names, and an attacker can register them first. Look the exact name up in the authoritative listing, refuse to pass on a name that is not there, check publisher and...

  • 72 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 28, 2026
ai-agentsrustnodesecurity

Works with

  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 28, 2026

npx -y skills add Tibsfox/gsd-skill-creator --skill skill-name-provenance-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Skill Name Provenance Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Skill Name Provenance Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tibsfox-skill-name-provenance-check/badge)](https://www.skillsdirectory.com/skills/tibsfox-skill-name-provenance-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: skill-name-provenance-check
description: >
  Use before you recommend, install, fetch or clone a skill, plugin, MCP
  server, chipset or package by NAME when that name came from model recall
  (yours or another agent's) or from a user's unverified guess, and not from a
  registry listing or tool result read in this session. Models invent installable names, repeat the same
  invented names, and an attacker can register them first. Look the exact name
  up in the authoritative listing, refuse to pass on a name that is not there,
  check publisher and age for a name that is, install by pinned reference from
  the listing, and then hand the file to skill-injection-guardian. Distinct
  from skill-injection-guardian (the content of a file you already hold) and
  detect-conflicts (overlap between installed skills). Backed by the skill
  name hallucination measurement (arxiv 2607.12340). Triggers on recommending
  or installing a skill or package by name.
description-frequency: on-demand
user-invocable: true
version: 1.0.0
format: 2025-10-02
triggers:
  - "which skill or plugin should I install for this"
  - "install the skill named X"
  - "is this package name real before I add it"
updated: 2026-11-27
status: ACTIVE
source: arxiv 2607.12340 (skill name hallucination and squatting)
---

# Skill Name Provenance Check

A gate on names. Before an installable name appears in a recommendation or an
install command, establish where the name came from and whether the thing it
names is the thing you think it is.

## Why

Asking an agent to recommend and install a skill turns hallucination into a
supply-chain route: the agent names a skill that exists in no registry,
registries rarely verify publishers, and an adversary who collects such names
can register them and wait. The first large measurement (arxiv 2607.12340) ran
15,000 prompts across 12 configurations. Every configuration hallucinated: on
average 36.0% for standalone LLMs and 36.9% for agents, rising to 43.1% on
real-world developer questions. The systems produced 5,669 distinct
hallucinated names, and agents repeated the same fake names across prompts and
models, which gives an attacker reliable targets. The strongest of four
model-level defenses, retrieval grounding, cut the rate from 40.8% to 3.2%,
yet even the best-defended system recommended the correct skill only about one
time in six. The remedy the study points to is verification in the pipeline
and name reservation at the registry, because model-level fixes alone trade
away usefulness.

This system acts on names in several places: `skill-creator` (including
`skill-creator learn`, the sc-learn path) ingests skills and chipsets, `install.cjs` deploys them, MCP servers and
plugins are added by name, and published skills live in a public repository.
Each is a place where a recalled name could be acted on.

## Data classes touched

Reads public registry metadata and local skill listings. A lookup sends only
the candidate name: never include project details, user identity or file
contents in it. A name that fails the check is untrusted external input from
then on.

## How

1. **Classify where the name came from.**
   - *Grounded*: read in this session from a registry listing, a search
     result, a lockfile or manifest, or a local directory listing.
   - *User-given*: typed by the user. Trusted as intent, still checked for
     existence and publisher at install, because a typo is a squatter's other
     source of names.
   - *Recalled*: produced by a model from memory, including by a subagent
     whose report shows no listing. This is the case the gate exists for.
2. **Look the exact name up, local first.** `skill-creator list` and
   `skill-creator search --all`, `.claude/skills/`, `project-claude/skills/`,
   the session's tool and MCP listings; then the authoritative external source
   (the registry's own search, the repository's file listing, `npm view <name>`).
   Exact string match. A close match is a miss.
3. **If it is not there, say so and stop.** Do not present the name as
   installable, do not attempt an install to find out, and do not silently
   substitute the nearest-looking name. Offer verified entries from the
   listing you just read, or offer to author the skill with `skill-forge`.
4. **If it is there, check that it is the right one.** A registered name is
   not proof, since a squatted name is registered by design. Compare the
   publisher or owner with the one you expect, look at the creation date and
   history (a name that is days old and matches something a model recalled is
   the squatting signature), and check that the description matches the
   claimed purpose. On any mismatch, treat the name as not found.
5. **Install by reference, not by retyping.** Use the URL plus version, tag or
   commit from the listing. For this repository's own skills, deploy from
   `project-claude/skills/` with `node project-claude/install.cjs --only
   <target>`, after the user confirms.
6. **Then vet the content.** A verified name says who published a file, not
   what the file does: pass it through `skill-injection-guardian` and the
   `sc-learn` sanitize gate before it can be loaded.
7. **Show the grounding.** When you recommend a name, cite where you verified
   it (the listing path or URL). A recommendation with no citation is a
   recalled name.
8. **Report recurring fakes.** If the same nonexistent name comes up more than
   once, tell the operator. Reserving it in a registry they control is a
   registry-side fix, and theirs to decide.

### Robustness rule

Judge by where the name was read, not by how plausible it sounds.
Hallucinated names are fluent and conventional; plausibility is the property
they share with real ones.

## Confidence / failure model

Steps 2 and 3 are a **deterministic lookup**: the exact name is in the listing
or it is not. Step 4 is an **LLM judgment** over publisher and history signals
and can err in both directions. The cited rates were measured for agent skills
in that study's setup; applying the same check to packages, plugins and MCP
servers is a precaution, with no claim that the rates transfer. Fail-closed
defaults: (a) a recalled name that cannot be looked up (offline, registry
unreachable) is reported as unverified and is not installed; (b) any publisher
or age mismatch is treated as not found; (c) nothing is installed into
`.claude/` without the user's confirmation, per `security-hygiene`.

## When to skip

- The name was read from a listing or manifest in this session and you are
  quoting it.
- The skill is already installed and appears in the current session's listing.
- The user asks what a named thing is, with no recommendation or install to
  follow: answer, and say so if you could not verify that it exists.

## Integration

- **skill-injection-guardian** — the next gate: the content of a file once you
  hold it. This skill decides whether to fetch it at all.
- **security-hygiene** — quarantine and user confirmation for anything
  entering `.claude/`.
- **skill-forge** — the alternative when no verified skill exists: author one
  instead of installing a guess.
- **typed-skill-graph-selection / generative-skill-composition** — choose
  among skills that exist; this gate keeps nonexistent ones out of the
  candidate set.
- **`dependency-health-checker` agent** — audits dependencies already in a manifest;
  this gate runs before a name gets there.

Files in this skill

  • SKILL.md7.3 KB
  • triggering.test.md2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.