garibong's picture
add X post link
1ad385b

A newer version of the Gradio SDK is available: 6.13.0

Upgrade
metadata
title: Simple Security Scanner
emoji: πŸ”’
colorFrom: red
colorTo: yellow
sdk: gradio
sdk_version: 5.32.0
app_file: app.py
pinned: false
license: mit
short_description: Scan Python code for security vulnerabilities with MCP.
tags:
  - building-mcp-track-consumer

πŸ”’ Simple Security Scanner MCP

An MCP server that scans Python code for security vulnerabilities and provides beginner-friendly explanations.

Features

  • Pattern-based Detection: Hardcoded secrets, path traversal, insecure deserialization, and more
  • SQL Injection Detection: Precise detection using AST analysis
  • Beginner-friendly Explanations: Easy-to-understand descriptions of what's wrong, why it's dangerous, and how to fix it

MCP Tool

scan_security

Analyzes Python code for security vulnerabilities.

Inputs:

  • code (string): Python source code to analyze
  • severity_threshold (string): Minimum severity level to report (CRITICAL, HIGH, MEDIUM, LOW)

Output:

  • Beginner-friendly explanation of found vulnerabilities

Usage

Web UI

Visit this Space and enter your code to scan.

MCP Client

Connect from MCP clients like Claude Desktop with the following configuration:

{
  "mcpServers": {
    "security-scanner": {
      "command": "npx",
      "args": ["mcp-remote", "https://mcp-1st-birthday-simple-security-scanner.hf.space/gradio_api/mcp/sse"]
    }
  }
}

License

This project is licensed under the MIT License