Skip to content

patidarganesh/SkillScanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SkillScan — AI Skill Package Analyser

Quickstart · GitHub

MIT License Stars


Demo:
0308.mp4

What is SkillScan?

Open-source security analyser for AI skill packages

If VirusTotal is for executables, SkillScan is for AI skills

SkillScan is a Python-based Flask server and beautiful web UI that orchestrates the analysis of AI skill packages natively. Bring your own AI provider, upload an unknown skill package, and trace hardcoded secrets, data exfiltration logic, and structural security threats dynamically.

It looks like a simple uploader — but under the hood it unpacks directories, filters binary files out intelligently, and utilizes state-of-the-art LLMs to perform deep code and configuration audits.

Manage security risks, not just lines of code.

Step Example
01 Connect AI Set up Anthropic, OpenAI, or pull a local Ollama model.
02 Upload package Drop a .zip file or an entire nested folder structure.
03 Review analysis Read comprehensive security scores, threat vectors, and remediations.

Works
with
Python
Python
Node
Node.js
JS
JS / TS
Frontends
Web Files
Config
Config

If it can parse as plain text, it's audited.


SkillScan is right for you if

  • ✅ You want to download and run third-party AI skills safely
  • ✅ You worry about prompt injection or deep data exfiltration when trying out new tools
  • ✅ You have complex nested codebases and don't want to natively review every single script file manually
  • ✅ You want analysis running locally for free using zero-data-retention models like Ollama

Features

🔌 Bring Your Own LLM

Anthropic, OpenAI, Gemini, OpenRouter, or local Ollama. You choose the intelligence that audits.

🎯 Comprehensive Scanning

Parses and understands directory trees implicitly. Captures structural issues automatically.

📦 Archive & Folder Extraction

SkillScan opens everything from archives or folders, skipping `.exe` or images to save context limits.

🔒 Privacy First

Fully air-gapped capable with Ollama. No proprietary internal code leaves your servers.

⚡ Native Flask Backend

Ultra-lightweight backend powered by python.

🎫 Scan Auditable History

Records every single scan. Trace the timestamp, verdict, and the overarching file structure.

🛡️ Threat Categorization

Ranks findings dynamically by risk level: Critical, High, Medium, Low, info. Actionable mitigation steps included natively.

What SkillScan is not

Not an antivirus execution lock. SkillScan does not block code. It tells you whether it's safe before you execute it natively.
Not a framework execution. It doesn't run the agents. It validates the code of the agents themselves statically.
Not an active firewall proxy. It operates purely as an advisory auditor dashboard.

Quickstart

Open source. Self-hosted. Get deployed in seconds.

Requirements: Python 3.8+

Windows Windows

# Clone the repository
git clone https://github.com/patidarganesh/SkillScanner.git
cd SkillScanner

# (Optional) Create and activate a virtual environment
python -m venv venv
venv\Scripts\activate

# Install the native dependencies
pip install -r requirements.txt

# Add your API keys in config.json
notepad config.json

# Run the lightweight UI
python app.py

macOS macOS

# Clone the repository
git clone https://github.com/patidarganesh/SkillScanner.git
cd SkillScanner

# (Optional) Create and activate a virtual environment
python3 -m venv venv
source venv/bin/activate

# Install the native dependencies
pip3 install -r requirements.txt

# Add your API keys in config.json
open -e config.json

# Run the lightweight UI
python3 app.py

Linux Linux

# Clone the repository
git clone https://github.com/patidarganesh/SkillScanner.git
cd SkillScanner

# (Optional) Create and activate a virtual environment
python3 -m venv venv
source venv/bin/activate

# Install the native dependencies
pip3 install -r requirements.txt

# Add your API keys in config.json
nano config.json   # or: vim config.json

# Run the lightweight UI
python3 app.py

This starts the native API server at http://localhost:5000. No massive setups required.


Configuration

Before running SkillScan, you need to configure your AI provider in config.json.

  1. Open config.json in the root directory.
  2. Set the "provider" field to your preferred service ("anthropic", "openai", "openrouter", or "ollama").
  3. Fill in your API key in the corresponding section.
  4. If using Ollama, ensure the Ollama server is running locally.
{
  "provider": "openai",
  "openai": {
    "api_key": "sk-...",
    "model": "gpt-4o"
  }
}

FAQ

Can I run this entirely offline using local models? Yes. You can orchestrate local models by launching ollama natively, and switching the Application UI parameters directly to point towards it.

How does the file skipping logic work? SkillScanner reads standard .gitignore logic dynamically in conjunction with extensions like .exe, .dll, .jpg, .mp4 natively—blocking them from artificially raising API contexts.

How accurate are the models? The accuracy of the analysis depends heavily on the underlying LLM used. While SkillScan provides the framework for analysis, the quality of threat detection and remediation suggestions is directly tied to the capabilities of the chosen AI model.


Development

python app.py         # Full native runtime execution on local flask

Contributing

We welcome contributions.


License

MIT © 2026 SkillScan

Star History

Star History Chart



Open source under MIT. Built for people who want to understand their AI scripts, not blind execute them.

About

Open-source AI security scanner for AI agents and skill packages. Detect prompt injection, data exfiltration, hardcoded secrets, and malicious logic before running AI tools. Supports OpenAI, Anthropic, Gemini, OpenRouter, and local Ollama models.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors