Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/skillspector.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: SkillSpector

on:
pull_request:
paths:
- "skills/**"
- "scripts/run_skillspector.sh"
- ".skillspector-baseline.yaml"
- ".github/workflows/skillspector.yml"

jobs:
skillspector:
runs-on: ubuntu-latest
timeout-minutes: 15

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v6

- name: Scan skills with SkillSpector
shell: bash
run: |
set -euo pipefail
./scripts/run_skillspector.sh
117 changes: 117 additions & 0 deletions .skillspector-baseline.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
# SkillSpector baseline — suppressions for the current static (`--no-llm`) scan.
# Generated from per-skill baselines so recursive CI only fails on new findings.
version: 1
rules: []
fingerprints:
- hash: "sha256:72b42653e6758c57"
rule_id: "LP3"
file: "SKILL.md"
reason: "Accepted current static finding pending repo-wide permissions metadata policy."
- hash: "sha256:cba87d6bfeea1ead"
rule_id: "RP1"
file: "SKILL.md"
reason: "Accepted current static finding pending version-pinning policy updates."
- hash: "sha256:b03d09554102e355"
rule_id: "RP1"
file: "SKILL.md"
reason: "Accepted current static finding pending version-pinning policy updates."
- hash: "sha256:49bd499c6ff4212f"
rule_id: "RP1"
file: "SKILL.md"
reason: "Accepted current static finding pending version-pinning policy updates."
- hash: "sha256:d3c8392d1d66acf6"
rule_id: "RP1"
file: "SKILL.md"
reason: "Accepted current static finding pending version-pinning policy updates."
- hash: "sha256:305b27ecef2ca5f3"
rule_id: "RP1"
file: "references/agent-wallet.md"
reason: "Accepted current static finding pending wallet skill hardening."
- hash: "sha256:3f16433d77c3481c"
rule_id: "RP1"
file: "references/agent-wallet.md"
reason: "Accepted current static finding pending wallet skill hardening."
- hash: "sha256:b4d62b9cbf3f0ee7"
rule_id: "RP1"
file: "references/agent-wallet.md"
reason: "Accepted current static finding pending wallet skill hardening."
- hash: "sha256:54cf9e782d4e9dac"
rule_id: "RP1"
file: "references/agent-wallet.md"
reason: "Accepted current static finding pending wallet skill hardening."
- hash: "sha256:074c2ef6a757073c"
rule_id: "RP1"
file: "references/agent-wallet.md"
reason: "Accepted current static finding pending wallet skill hardening."
- hash: "sha256:6404626dc7b8dfff"
rule_id: "RP1"
file: "references/agent-wallet.md"
reason: "Accepted current static finding pending wallet skill hardening."
- hash: "sha256:a9ad956cfc497c81"
rule_id: "RP1"
file: "SKILL.md"
reason: "Accepted current static finding pending version-pinning policy updates."
- hash: "sha256:2df9b90cc4ffea37"
rule_id: "AST4"
file: "scripts/filepizza_public.py"
reason: "Accepted current static subprocess wrapper finding pending FilePizza hardening."
- hash: "sha256:71162b97762f1c39"
rule_id: "AST4"
file: "scripts/filepizza_public.py"
reason: "Accepted current static subprocess wrapper finding pending FilePizza hardening."
- hash: "sha256:0241cc23e40fade3"
rule_id: "AST4"
file: "scripts/filepizza_public.py"
reason: "Accepted current static subprocess wrapper finding pending FilePizza hardening."
- hash: "sha256:e08b2889b43e4157"
rule_id: "AST4"
file: "scripts/filepizza_public.py"
reason: "Accepted current static subprocess wrapper finding pending FilePizza hardening."
- hash: "sha256:fc9b8710fc29c59a"
rule_id: "AST4"
file: "scripts/filepizza_public.py"
reason: "Accepted current static subprocess wrapper finding pending FilePizza hardening."
- hash: "sha256:78fede7c9d60c260"
rule_id: "LP3"
file: "SKILL.md"
reason: "Accepted current static finding pending repo-wide permissions metadata policy."
- hash: "sha256:cf2db4650b694e0b"
rule_id: "OH1"
file: "scripts/filepizza_public.py"
reason: "Accepted current static false positive pending FilePizza hardening."
- hash: "sha256:605b099555727eca"
rule_id: "AST4"
file: "scripts/find_contact.py"
reason: "Accepted current static subprocess wrapper finding in Signal helper."
- hash: "sha256:cdb3aff9c9e006b6"
rule_id: "AST4"
file: "scripts/send_message.py"
reason: "Accepted current static subprocess wrapper finding in Signal helper."
- hash: "sha256:9e19e9efe8f52a9c"
rule_id: "LP3"
file: "SKILL.md"
reason: "Accepted current static finding pending repo-wide permissions metadata policy."
- hash: "sha256:3e31d50db3e8b1a5"
rule_id: "OH1"
file: "scripts/find_contact.py"
reason: "Accepted current static false positive in Signal helper."
- hash: "sha256:efa6915ed4a018fd"
rule_id: "OH1"
file: "scripts/send_message.py"
reason: "Accepted current static false positive in Signal helper."
- hash: "sha256:9fda9ce0dfab083e"
rule_id: "AST4"
file: "scripts/timelock.py"
reason: "Accepted current static subprocess wrapper finding in timelock wrapper."
- hash: "sha256:941dfa3b6b567fbb"
rule_id: "LP3"
file: "SKILL.md"
reason: "Accepted current static finding pending repo-wide permissions metadata policy."
- hash: "sha256:992dfe2a7bdc053d"
rule_id: "OH1"
file: "scripts/timelock.py"
reason: "Accepted current static false positive in timelock wrapper."
- hash: "sha256:18bf8fbc6b108acc"
rule_id: "LP3"
file: "SKILL.md"
reason: "Accepted current static finding pending repo-wide permissions metadata policy."
21 changes: 21 additions & 0 deletions scripts/run_skillspector.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/env bash

set -euo pipefail

if ! command -v uvx >/dev/null 2>&1; then
echo "uvx is required to run SkillSpector." >&2
exit 1
fi

status=0

while IFS= read -r skill; do
echo "Scanning ${skill}"
if ! uvx --from 'git+https://github.com/NVIDIA/SkillSpector.git' \
skillspector scan "${skill}" --no-llm \
--baseline .skillspector-baseline.yaml; then
status=1
fi
done < <(find skills -mindepth 1 -maxdepth 1 -type d | sort)

exit "${status}"
Loading