Skip to content

Port the rest of NVIDIA SkillSpector: MCP rug-pull pinning, missing rule categories, multilingual detection #789

Open

Description

@salmonumbrella

The situation

Follow-up to #788 (SkillEvaluator ideas) — same exercise for NVIDIA SkillSpector, the scanner half of their pipeline.

A lot of SkillSpector is already here or in flight: the audit engine covers its core static categories, dataflow/integrity/cross-skill analyzers, SARIF/JSON/Markdown output, risk scoring and custom rules all exist, and the 33-item list in proposals/audit-improvement-selection.md (#746) already claims baselines (#19), opt-in semantic/LLM audit (#30), OSV dependency checks (#29), completeness reporting (#2), transitive references (#28), unicode normalization (#14), MCP config inspection (#5) and catalog-scoped MCP audit tools (#27).

So I went through SkillSpector's analyzer tree looking specifically for what that all doesn't cover. Six things left.

What we could still port

  1. MCP server manifest pinning with rug-pull alerts — SkillSpector ships mcp_rug_pull detection plus an MCP-registry snapshot compare (added/removed/changed servers, field-level diffs). skillshare manages MCP servers across targets but doesn't pin what a server's tools looked like when you trusted it. Shape: snapshot tool names/descriptions/schemas on mcp add/sync, and skillshare mcp audit (or a sync-time check) flags drift — a server that quietly grew a new tool or rewrote a description after approval. This is the classic MCP rug pull and it's the biggest gap I found.
  2. Port the missing static pattern categories — SkillSpector's rule set has categories skillshare doesn't: SSRF, agent snooping (reading other agents' configs/sessions/memory), rogue agent, system prompt leakage, excessive agency, tool misuse, and SQL parameter binding (string-built queries). These are just new rule groups in rules.yaml — cheapest item on this list.
  3. Multilingual injection patterns — their batch scanner detects prompt injection in Chinese/Japanese/Korean. skillshare's rules are English-only, so "ignore all previous instructions" in another language sails through. Distinct from FAQ: Common questions about skillshare #14 in the proposal list, which is unicode normalization/confusables, not language coverage.
  4. YARA-compatible signature packs — SkillSpector runs YARA rules alongside its regex patterns. skillshare's custom rules (audit-rules.yaml) are regex-only. Shape: let a rule pack be YARA format (or a curated port of SkillSpector's signatures), so community rule packs can be shared and versioned.
  5. Parallel batch audit with aggregate reports — their contrib/batch_scan scans whole skill collections with worker pools (and API-key pools for the LLM stage), emitting one aggregate report. skillshare audit already scans everything installed, but serially; for org catalogs of hundreds of skills, workers + a single roll-up report matter.
  6. Caller-scoped exclusions with coverage accounting — skillspector scan --exclude 'tests/*': caller picks exclusions, they're recorded in the report, and any exclusion makes coverage partial so it can't return a clean SAFE verdict. skillshare has no --exclude; this pairs with the completeness reporting already proposed as item github copilot does seems to pickup the skills #2 in docs(proposal): collect audit and supply-chain ideas into one list #746.

Deliberately not listed (already covered): baselines/suppression (#19), LLM semantic stage (#30), OSV lookups (#29), scan-completeness reporting (#2), transitive reference traversal (#28), SARIF, taint tracking, install-time resource bounds (#1, #3).

Ask

@runkids same question as #788 — do any of these fit? My ranking would be 1 (rug-pull pinning) first since it extends the MCP features you just shipped, then 2 and 3 as quick rule wins, with 4–6 whenever. Happy to spec or prototype. And if the overlap with #746 is bigger than I think, say the word and I'll fold these into that list as items 34+.

Activity

  1. added
    audit
    on Nov 6, 2026
  2. Repository owner deleted a comment from Paraphern on Nov 9, 2026
  3. self-assigned this
    on Nov 12, 2026
  4. alexar76 commented on Nov 17, 2026

    @alexar76

    On item 1 (rug-pull pinning), two measurements that may shape the design, from HISTOR's open records of MCP tool definitions (every server in the official registry plus npm/PyPI MCP packages):

    1. Pin the content, not the version. In a 30-day sample, Firecrawl's MCP server changed its tool definitions 19 times, 13 of them at an unchanged version. On 11 November at 03:21 UTC one tool dropped an argument, made url required and rewrote which tools its description names; at 07:58 it was back byte for byte. The server reported 3.39.0 before, during and after. A pin keyed on name@version would have missed all 13 same-version changes. Across the registry it is the norm rather than the exception: of 7,341 publishers whose tool definitions changed in the 30 days to 9 November, 5,099 (69%) changed them at least once without changing the version.
    2. Annotation drift deserves its own class. In the week to 9 November, 232 tools on 53 servers switched readOnlyHint from true to false (44 went the other way). If skillshare ever uses the hints for policy, a hint flip should force re-approval even when description and schema are unchanged.

    If it helps for tests: the records are CC BY 4.0 at https://histor.modelmarket.dev/datasets/ (changes.jsonl.gz for tool-list and schema diffs, extras_changes.jsonl.gz for annotations), so the drift check can be exercised on real before/after pairs rather than only synthetic ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

audit

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions