NS

nvidia/skillspector

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

2.4万 stars 质量 82 趋势 98Apache-2.0

针对AI代理技能的安全扫描器。通过Claude代码、Codex和MCP技能检测漏洞、恶意模式、安全风险、提示注入、数据泄露和供应链风险......

概览

在安装代理技能前,先检测漏洞、恶意模式和安全风险。 AI代理技能(由Claude Code、Codex CLI、Gemini CLI等使用)以隐性信任和最少的审核执行。研究表明,和。 - — 架构、包布局及分析仪流程扩展方法。- — 安装 SkillSpector 作为 Pi 工具,用于扫描代理会话内部的技能。 - : 扫描 Git 仓库、URL、zip 文件、目录或单文件 - 涵盖 17 个类别:提示注入、数据外泄、权限升级、供应链、过度代理、输出处理、系统提示泄露、内存中毒、工具滥用、流氓代理、反拒绝、触发滥用、危险代码(AST)、污染追踪、YARA 签名、MCP 最小权限和 MCP 工具中毒 - 快速静态分析 + 可选的 LLM 语义评估 - : SC4 查询 OSV。

概述(AI 翻译)

用于AI代理技能的安全扫描器。 在安装代理技能前,先检测漏洞、恶意模式和安全风险。

概述

AI代理技能(由Claude Code、Codex CLI、Gemini CLI等使用)以隐性信任和最小化审核执行。在分析的31,132项技能研究数据集中,26.1%的技能存在漏洞,5.2%显示可能有恶意意图。

SkillSpector帮你回答:“这个技能安装安全吗?”**

SkillSpector 是 NVIDIA 验证技能流程的一部分,该流程在发布前扫描、评估并签署代理技能。通过的技能会发布到 NVIDIA 技能目录。

文献资料

  • 安装前扫描代理技能 — 托管指南:何时扫描、如何阅读报告及如何进行安装门控。
  • 开发指南 — 架构、封装布局及分析仪流水线扩展方法。
  • 分析资源界限 — 失败闭合捆、解析器、嵌套工件、账本和寻找上限。
  • Pi 扩展 — 安装 SkillSpector 作为 Pi 工具,用于扫描代理会话内部的技能。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

SkillSpector

Security scanner for AI agent skills. Detect vulnerabilities, malicious patterns, and security risks before installing agent skills.

Overview

AI agent skills (used by Claude Code, Codex CLI, Gemini CLI, etc.) execute with implicit trust and minimal vetting. In the 31,132-skill analyzed subset of the research dataset, 26.1% of skills contain vulnerabilities and 5.2% show likely malicious intent.

SkillSpector helps you answer: “Is this skill safe to install?”

SkillSpector is part of the NVIDIA Verified Skills pipeline, which scans, evaluates, and signs agent skills before publication. Skills that pass are published to the NVIDIA skills catalog.

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.

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, tool misuse, rogue agent, anti-refusal, trigger abuse, dangerous code (AST), taint tracking, YARA signatures, MCP least privilege, and MCP tool poisoning
  • 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)

Quick Start

Installation

Open-source software notice: This project will download and install additional third-party open source software projects. Review the license terms of these open source projects before use.

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add nvidia/skillspector
新手?先看 mcpskill.org 教程 →