NVIDIA/SkillSpector

GITHUB项目档案

主语言 Python · 22,527 星 · Apache-2.0 · 创建于 2026-03-21

打开 GitHub 仓库

Security scanner for AI agent skills. Detect vulnerabilities, malicious patterns, security risks, prompt injection, data exfiltration, and supply-chain risks…

Stars 22,527 累计 star,越多说明被认可得越广
Watching 78 订阅该仓库变动的人数
Forks 1,919 被派生出去的仓库数
Issues 172 当前开放的 Issue 数
语言 Python GitHub 自动判定的主语言
许可证 Apache-2.0 开源协议,用之前先确认能不能商用
24h 增长 — 数据积累中
7 日增长 — 数据积累中
30 日增长 — 数据积累中

仓库健康度

5 个维度
只看客观信号,不构成安全性结论
维护活跃度 数据完整
2026-10-23 17:40 最近推送

最近推送 2026-10-23 17:40(5 天前),属于活跃维护

社区响应 数据完整
172 开放 Issue

开放 Issue 172 个 · Fork 1,919 个

增长趋势 证据不足
— 7 日新增

star 记录还不够天数,增量算不出来

项目规范 数据完整
Apache-2.0 许可证

许可证 Apache-2.0 · 11 个 topics · 开了 Wiki

版本发布 证据不足
— 发布次数

这一项暂无数据,不代表项目没有发布

「证据不足」表示这项数据暂时没有取到,不能读成「项目有问题」;「部分数据」表示只拿到一部分信号。版本发布要额外调 Releases 接口,下一版补。

Star 趋势

3 天记录
最近 90 天站内记录的星数
22,527当前 Star +718首尾差值 2026-10-26最早记录 2026-10-28最近记录

横轴 2026-10-26 → 2026-10-28,纵轴按这段时间的最小/最大值拉伸。趋势来自站内每天记录一次的星数,页面打开时不会实时请求 GitHub。

README 原文细节

6 个板块
项目自己写的功能与用法,原文照录

核心功能README 里列出来的能力清单

Features

  • Multi-format input: Scan Git repos, URLs, zip files, directories, or single files
  • 71 vulnerability patterns across 17 categories: prompt injection, data exfiltration, privilege escalation, supply chain, excessive agency, output handling, system prompt leakage, memory poisoning, too
  • Two-stage analysis: Fast static analysis + optional LLM semantic evaluation
  • Live vulnerability lookups: SC4 queries OSV.dev for real-time CVE data with automatic offline fallback
  • Multiple output formats: Terminal, JSON, Markdown, and SARIF reports
  • Risk scoring: 0-100 score with severity labels and clear recommendations
  • Baseline / false-positive suppression: Accept known findings via a glob-rule or fingerprint baseline so re-scans surface only new issues (docs)

怎么安装从零跑起来的步骤

Installation

Create and activate a virtual environment first (all make targets assume the venv is active). Use uv or pip; the Makefile uses uv if available, otherwise pip.

If you plan to run skillspector mcp, install the MCP extra at install time:

uv tool install git+https://github.com/NVIDIA/skillspector.git
# Update later: uv tool update skillspector

Setup

All make targets assume a virtual environment is already created and activated. The Makefile uses uv if available, else pip.

# Clone, create venv, activate, install dev dependencies
git clone https://github.com/NVIDIA/skillspector.git
cd skillspector
uv venv .venv && source .venv/bin/activate
# or: python3 -m venv .venv && source .venv/bin/activate
make install-dev

# Run tests
make test

# Run tests with coverage
make test-cov

# Run linting
make lint

# Format code
make format

怎么用最典型的用法与示例

Basic Usage

SkillSpector enforces two independent caps on remote and archive inputs to bound the impact of oversized downloads and zip bombs:

Note that the per-file 1 MB analysis cap (MAXFILEBYTES) is a separate, downstream limit: it bounds what individual analyzers will read out of an already-ingested directory. The ingest caps above bound how much content can land on disk in the first place. A breach of either ingest cap fails closed with an IngestLimitExceededError.

  • Per-ingest cap: INGESTMAXBYTES (100 MiB) — applied to streamed URL downloads, total uncompressed size of zip archives, and post-clone disk usage of Git repos.
  • Zip member cap: INGESTMAXZIPMEMBERS (10,000) — caps the number of entries in a single zip.
# Scan a local skill directory
skillspector scan ./my-skill/

# Scan a single SKILL.md file
skillspector scan ./SKILL.md

# Scan a Git repository
skillspector scan https://github.com/user/my-skill

# Scan a zip file
skillspector scan ./my-skill.zip

配置项能调整哪些参数

CLI Options

Report files and new baselines use private permissions (0600). Existing baselines retain their access metadata when safely replaced; updates requiring in-place writes are refused. All file output uses atomic replacement. The parent directory must be writable; symlinked parents and non-regular destinations such as devices are refused. On macOS, ancestor directories must also be readable. File output requires POSIX no-follow directory operations and is unavailable on Windows. Unsupported file output fails before analysis. Omit --output for scan/batch stdout, or use skillspector baseline -o - for

skillspector scan --help

Options:
  -f, --format [terminal|json|markdown|sarif]  Output format [default: terminal]
  -o, --output PATH                            Output file path
  --no-llm                                     Skip LLM analysis (static only)
  --yara-rules-dir PATH                        Extra YARA rules directory
  -b, --baseline PATH                          Suppress findings listed in a baseline
  --show-suppressed                            List baseline-suppressed findings

限制与常见问题项目自己写明的坑与限制

Limitations

  • Non-English content: May miss patterns in other languages
  • Image-based attacks: Cannot analyze text in images
  • Encrypted/binary code: Cannot analyze compiled or encrypted content
  • Runtime behavior: Static analysis only, no dynamic execution
  • Offline SC4: Without network access to api.osv.dev, SC4 uses a small static fallback list

其它说明README 里剩下的内容

Documentation

  • Scan agent skills before installation — Hosted guide: when to scan, how to read a report, and how to gate installs.
  • Development guide — Architecture, package layout, and how to extend the analyzer pipeline.
  • Analysis resource bounds — Fail-closed bundle, parser, nested-artifact, ledger, and finding ceilings.
  • Pi extension — Install SkillSpector as a Pi tool for scanning skills from inside agent sessions.
  • OpenCode extension — Install SkillSpector as an OpenCode tool and /skillspector command for scanning skills from inside agent sessions.

关于 SkillSpector 的常见问题

4 个问题
答案来自 README 归纳与 GitHub 实时数据
SkillSpector 是做什么的?

NVIDIA/SkillSpector 是 GitHub 上的开源项目:Security scanner for AI agent skills. Detect vulnerabilities, malicious patterns, security risks, prompt injection, data exfiltration, and supply-chain risks in Claude Code, Codex, and MCP skills before you install them。

SkillSpector 有哪些功能?

项目 README 列出的能力包括:Multi-format input: Scan Git repos, URLs, zip files, directories, or single files;71 vulnerability patterns across 17 categories: prompt injection, data exfiltration, privilege escalation, supply chain, excessive agency, output handling, system prompt leakage, memory poisoning, too;Two-stage analysis: Fast static analysis + optional LLM semantic evaluation;Live vulnerability lookups: SC4 queries OSV.dev for real-time CVE data with automatic offline fallback;Multiple output formats: Terminal, JSON, Markdown, and SARIF reports;Risk scoring: 0-100 score with severity labels and clear recommendations。

怎么安装 SkillSpector?

按项目 README 的说明:Create and activate a virtual environment first (all make targets assume the venv is active). Use uv or pip; the Makefile uses uv if availab;If you plan to run skillspector mcp, install the MCP extra at install time:;All make targets assume a virtual environment is already created and activated. The Makefile uses uv if available, else pip.。完整命令见下方「怎么安装」一节或 GitHub 仓库的 README。

SkillSpector 现在还在维护吗?数据怎么样?

目前 22,527 星,1,919 个 Fork,主语言 Python,创建于 2026-03-21,最近一次推送 2026-10-23 17:40,许可证 Apache-2.0。星数、Fork、推送时间都是 GitHub 返回的实时数据,「最近推送」离现在越近说明越活跃;长期不动要留意是否已停止维护。

这些内容来自哪

读法说明
中文整理据 README 归纳,数据取自 GitHub
中文说明据项目 README 归纳只写 README 能确认的内容,不替作者补功能与数字
关键数据与 GitHub 页面一致星数、Fork、语言与时间都不做二次加工
数据日期2026-10-27 00:50星数与介绍这份数据是哪一天的

项目数据取自 GitHub 官方接口与项目 README;星数、Fork、语言与时间以 GitHub 页面为准,档案更新于 2026-10-27 00:50。