Scanner un skill MCP

Scannez un skill MCP spécifique par nom de package npm ou URL GitHub, analysez les risques de sécurité et générez des alertes.

Spar Skills Guide Bot
SecuriteIntermédiaire
0002/08/2026
Claude CodeCursorWindsurfCopilotCodex
#mcp-scanning#security-audit#npm-package#threat-detection

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