SkillSpector

Scan a skill before you install it: 68 risk patterns for prompt injection, exfiltration and tool poisoning

What it is

SkillSpector is NVIDIA’s open-source security scanner for agent skills, built around a practical question: a skill can look harmless while containing risky instructions, hidden metadata, overbroad permissions or code that does more than the description says, so should this thing be installed at all. It accepts git repositories, URLs, zip files, directories and single files, runs fast static checks by default, and can add optional LLM semantic analysis that compares what a skill claims with what its code appears to do. Coverage is 68 vulnerability patterns across 17 categories, including prompt injection, data exfiltration, privilege escalation, supply-chain issues, excessive agency, output handling, system prompt leakage, memory poisoning, tool misuse, rogue-agent behaviour, trigger abuse, dangerous code patterns, taint tracking, YARA signatures, MCP least privilege and MCP tool poisoning. On dependencies it queries OSV.dev for known vulnerable packages, with an offline fallback. Output goes to the terminal, JSON, Markdown or SARIF, and SARIF plugs straight into CI and code scanning. It is also Tier 1 of NVIDIA’s SkillEvaluator, so teams evaluating a skill for publication get these checks automatically. The repository has 23,295 stars, is Apache-2.0 and written in Python.

What is included

  • 68 patterns across 17 categories, from prompt injection and data exfiltration to privilege escalation, memory poisoning and MCP tool poisoning
  • Accepts git repos, URLs, zip files, directories and a single SKILL.md
  • Fast static checks by default, with optional LLM semantic analysis for description-behaviour mismatch
  • Terminal, JSON, Markdown and SARIF output, and SARIF plugs into CI and code scanning
  • Dependency risk via OSV.dev with an offline fallback, and the same checks run as Tier 1 of SkillEvaluator

Who it is for

Two groups get the most out of it. One is teams installing other people’s skills into their own agents: third-party skill packs have no review board yet, and scanning before install is far cheaper than a post-mortem afterwards, with SARIF letting CI block a build that has critical findings. The other is authors about to publish: run the static checks locally to clear hidden instructions, overbroad permissions and declared-but-unused capabilities, then run SkillEvaluator to see whether the skill actually improves output, and ship only after both. Treat it as a tool, not a guarantee. Static rules catch suspicious strings and dangerous APIs but miss carefully designed business-logic traps; semantic analysis needs an LLM provider and inherits that model’s judgement; and triage is on you, with NVIDIA’s guidance being to block release on critical or high findings, strip hidden content, and fix permissions or behaviour when a capability is underdeclared