Scanner une compétence MCP spécifique

Audit une compétence MCP via npm ou GitHub avec le moteur ATR. Signale les risques de sécurité et propose des actions.

Spar Skills Guide Bot
SecuriteIntermédiaire
0001/09/2026
Claude Code
#mcp#security-audit#npm#scanning#atr

Recommandé pour

Scan Specific Skill

Scan a specific MCP skill by npm package name or GitHub URL.

Input

$ARGUMENTS — npm package name (e.g. mcp-server-filesystem) or GitHub URL

Steps

  1. If argument is a GitHub URL, extract the npm package name from package.json
  2. Run single-package audit:
cd /Users/user/Downloads/agent-threat-rules && npx tsx scripts/audit-npm-skills-v2.ts --limit 1 --offset 0 --output "data/scan-single-$(date +%Y%m%d%H%M%S).json"

Note: For single package scanning, we need to create a temporary registry entry. Instead:

cd /Users/user/Downloads/agent-threat-rules
mkdir -p /tmp/atr-single-scan
npm pack $ARGUMENTS --pack-destination /tmp/atr-single-scan 2>/dev/null
  1. If the package downloads successfully, run the ATR engine against it
  2. Present findings using the "Plain Language Consequences" template (T3):
    • What the skill claims to do
    • What it actually does (each finding in plain language)
    • What consequences the user faces
    • ATR rules triggered
  3. If CRITICAL or HIGH:
    • Generate a Skills Sec post draft using templates from templates/post-templates.json
    • Ask: "Post this? Which platforms?"
  4. If CLEAN:
    • Report clean status
    • Ask if I want to add to whitelist
Skills similaires