mirror of
https://github.com/NVIDIA/SkillSpector.git
synced 2026-11-25 11:21:38 +08:00
skillspector is an AI agent skill security scanner that combines static, semantic, and behavioral analysis to detect risks in agent skills and MCP servers. This release establishes the LangGraph-based scanning pipeline, analyzer registry, CLI, and test suite. Analyzers: - MCP: least-privilege checks, tool poisoning, rug-pull detection - Static patterns: prompt injection, data exfiltration, excessive agency, privilege escalation, memory poisoning, harmful content, output handling - Semantic (LLM-backed): developer intent, security discovery, quality policy - Behavioral: AST analysis and taint tracking - Supply chain: live OSV vulnerability lookups Infrastructure: - LangGraph scan graph with shared LLM analyzer base - Provider/model registry (model_registry.yaml) and model info utilities - SARIF report output and CLI entrypoint - Pre-commit hooks, Makefile, pyproject + uv.lock - Docs: development guide, analyzer base guide, MCP threat docs, plans - Tests: unit + integration coverage across analyzers, CLI, providers, patterns, OSV client, and graph scanner Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
17 lines
714 B
Python
17 lines
714 B
Python
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
"""Tests for the skillspector."""
|