Skip to content
freyesperalesPublic

About

AI prompt security analyzer — detects injection, exfiltration and social engineering in Claude skills

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SkillScan — AI Prompt Security Analyzer

Analyzes Claude skills, system prompts, CLAUDE.md files, and MCP server configs for security threats before you install them.

Run

cd skillscan
python -m uvicorn main:app --reload --port 8002

Open http://localhost:8002

Install dependencies (first time only)

pip install -r requirements.txt

What it detects

Category Examples
Prompt Injection ignore previous instructions, jailbreak keywords, system prompt replacement, false authority headers
Data Exfiltration Instructions to POST data to external URLs, webhook patterns, fetch-and-execute
Obfuscation Zero-width Unicode characters, BiDi override characters, Base64 encoded blocks, HTML comments
Excessive Permissions Filesystem access requests, environment variable harvesting, shell execution, SSH key access
Social Engineering False Anthropic authority, self-declared safety claims, coercive language, instruction concealment
MCP Config HTTP (non-HTTPS) servers, npx -y auto-install, hardcoded secrets, suspicious webhook URLs

How it works

Each threat category has pattern-based detectors that return findings with character offsets. The UI uses those offsets to highlight suspicious sections directly in the analyzed text.

Score: starts at 100, deducts per finding severity (Critical -25, High -15, Medium -7, Low -3).

Risk levels: Safe (85-100) → Low (70-84) → Moderate (50-69) → High (25-49) → Critical (0-24)

Features

  • Text highlight: suspicious sections marked in the original content
  • Expandable findings with "what it means" and "how to handle it"
  • MCP JSON config analysis tab
  • Example malicious prompt (Load example button)
  • Export report to JSON

Stack

Python 3.10+ · FastAPI · Alpine.js · Tailwind CSS

About

AI prompt security analyzer — detects injection, exfiltration and social engineering in Claude skills

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages