๐Ÿ›ก๏ธ SkillFence

Security scanner for AI agent skills, MCP servers, and tool configs

v2.2.0 ยท 102 rules ยท Context-aware ยท Zero dependencies

npm version downloads 102 rules OWASP MCP Top 10 zero deps
npx skillfence scan .
102
Detection Rules
0
Dependencies
10+
Repos Audited
420K+
Stars Scanned
GitHub โ†’ npm โ†’

๐Ÿง  Context-Aware Scanning NEW in v2.0

Not all findings are equal. SkillFence understands where a pattern appears and adjusts severity automatically.

ContextExampleSeverity
Source codeeval(userInput)CRITICAL
README / docscurl | sh in install instructionsINFO
Test filesexec() in test helperMEDIUM max
Config filesAPI key pattern in .env.exampleLOW confidence

Allowlist: Database.exec() (SQLite), RegExp.exec(), MD5 in S3 (AWS spec), SHA1 in webhook verification (API requirement)

What it detects

๐Ÿ”ด Critical

๐ŸŸ  High

๐ŸŸก Medium

๐Ÿ† Real-World Results

Found real vulnerabilities in production projects:

n8n โญ 72K
AgentPass
context7 โญ 5K
screenshot-to-code โญ 60K
typescript-sdk โญ 2K
Flowise โญ 36K
Continue โญ 27K
Dify โญ 95K
Open WebUI โญ 80K
supabase-mcp โญ 3K

Highlights: CRITICAL JWT default secret, CORS origin reflection, ExecuteCommand RCE via prompt injection, trust score manipulation, unauthenticated webhook endpoints

๐Ÿ“ฆ Install & Use

# Scan a directory
npx skillfence scan .

# JSON output for CI/CD
npx skillfence scan . --json

# Disable context-awareness
npx skillfence scan . --no-context

# List all 102 rules
npx skillfence rules

# Git pre-commit hook
npx skillfence install-hook

๐Ÿ”„ Version History

VersionRulesWhat's New
v1.2.076Initial release โ€” OWASP MCP Top 10 coverage
v2.0.092Context-aware scanning, CORS, SSRF, JWT, AI-Tool rules
v2.1.099Hardcoded secrets, auth patterns, account enumeration
v2.2.0102Trust manipulation, unauthed notifications, static KDF salt