mcp-security-auditor
Provides static security auditing for Firebase Realtime Database and Firestore rules, detecting public read/write access and unauthenticated wildcard rules before deployment.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-security-auditor scan my MCP server for command injection and path traversal"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🔒 AI Agent, MCP & Firebase Pre-Audit Security Scanner (v2.3.0)
Lightweight static security auditor and Agent Skill for catching CWE-mapped vulnerabilities in MCP servers, AI agent hooks, and Firebase rules before shipping.
Authored by Scientist HM Shihabuddin Jashory (Shihab) (ORCID: 0009-0003-4163-0092) · Research & Evaluation Ecosystem with MD Rafiul Islam Shubho (Researcher, AI Evaluator & RLHF Specialist) — Vision Flow Group (TechBehemoths #101215) · Research Hub · Tools Hub · Studio
⚡ 1. Install via AI Agent (Claude Code, Antigravity, Cursor, Codex)
Paste this single prompt into your AI coding agent:
Prompt:
Clone https://github.com/jashory/mcp-agent-security-auditor and run "python install.py" to install the security scanner CLI and Agent Skill.
Related MCP server: MCP Shield
💻 2. Install via CLI (Terminal / Skills CLI / pip)
# Option A: Agent Skills CLI
npx skills add jashory/mcp-agent-security-auditor
# Option B: Direct Git Clone + 1-Command Installer
git clone https://github.com/jashory/mcp-agent-security-auditor.git
cd mcp-agent-security-auditor && python install.py
# Option C: Global CLI Tool via pip / uv
pip install mcp-agent-security-auditor
# Or directly from GitHub:
pip install git+https://github.com/jashory/mcp-agent-security-auditor.git
mcp-security-auditor --target /path/to/repo --format sarif --ci
# Run as a stdio JSON-RPC 2.0 MCP server:
mcp-security-auditor --mcp🔍 7 High-Signal CWE Security Rules Detected
AGENT_ENV_SECRET_PERSISTENCE(CWE-312): Detects when an agent CLI or config migrator reads resolvedsettings.merged(${ENV_VAR}expanded in memory) and writes it back to disk viasetValue.FIREBASE_OPEN_DATABASE_RULES(CWE-284): Detects public.read: trueor.write: truein Firebase Realtime Database rules.FIRESTORE_OPEN_WILDCARD_RULES(CWE-284): Detects unauthenticatedmatch /{document=**} { allow read, write: if true; }infirestore.rules.MCP_SHELL_COMMAND_INJECTION(CWE-78): Detectssubprocess(..., shell=True)andchild_process.execcommand injection sinks in MCP tool handlers.MCP_PATH_TRAVERSAL_UNSANITIZED(CWE-22): Detects direct path concatenation of tool arguments without canonicalrealpathboundary verification.MCP_UNRESTRICTED_SSRF_FETCH(CWE-918): Detects unrestricted URL fetchers in MCP tools that allow cloud metadata (169.254.169.254) or localhost probing.AGENT_DYNAMIC_CODE_EVAL(CWE-94): Detectseval/new Functionon untrusted agent inputs.
GitHub Actions Integration (action.yml)
Use mcp-agent-security-auditor directly inside any CI/CD workflow:
- name: Run mcp-agent-security-auditor
uses: jashory/mcp-agent-security-auditor@v2.2.0Live Interactive Browser Playground
Test payloads directly in your browser (100% client-side, zero installation required): https://jashory.github.io/mcp-agent-security-auditor/
Ecosystem Authority, Category Benchmarks & Primary-Source Verification
Principals: Scientist HM Shihabuddin Jashory (ORCID 0009-0003-4163-0092 · Google Bug Hunters) & Co-Founder / AI Evaluation Researcher MD Rafiul Islam Shubho (ORCID 0009-0009-9956-4511 · Google Scholar · Co-Author CERN Zenodo DOI 10.5281/zenodo.24231337)
Organization: Vision Flow Group (visionflowgroup.com · Crunchbase)
Category & Verification Dossiers:
Available Tools
3 toolslist_security_rulesA
List all 13 CWE-mapped static security rules implemented by mcp-agent-security-auditor.
Inputs: no named parameters.
remediate_pathB
Automatically redact hardcoded secrets or restore clean static redirect index.html in a local directory or file before git push.
Inputs: target (required).
scan_pathB
Run static Python AST, MCP schema, prompt-injection, and Firebase rules security scan on a local directory or file (secrets redacted by default).
Inputs: target (required), format.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: scanning, listing rules, and remediation. An agent should have no trouble choosing between them.
All tools use consistent snake_case verb_noun naming: scan_path, list_security_rules, remediate_path. The pattern is predictable and readable.
Three tools is a focused, reasonable surface for a local security auditor, and each earns its place. It is slightly thin, with no dedicated reporting or configuration tool.
The set covers scanning, rule discovery, and basic remediation, which are the core workflows. Minor gaps exist around exporting reports, configuring rule sets, or verifying remediation results.
Maintenance
Related MCP Connectors
Zero-config MCP security scanner for AI-generated apps. 25K+ vulnerability patterns.
Zero-install security baseline for AI coding agents — OWASP/CWE-cited rules over MCP.
IaC, CI and dependency security review for coding agents: local scan CLI plus hosted OAuth MCP.
Audit your MCP servers for poisoned tools and leaked secrets, and check AI-generated code for flaws.
Related MCP Servers
- AlicenseAqualityDmaintenanceAgent-native "safe to ship?" security gate for AI-generated code. Uses real parsers and inter-rocedural taint analysis (JS/TS, Python, Go) to flag the classes AI coding agents get wrong — secrets, SQL injection, SS, SSRF, path traversal, command injection, weak JWT/CORS — and ranks findings by confidence. Exposes a scan tool over MCP.18 npm2MIT
- AlicenseCqualityDmaintenanceSecurity scanner and MCP server that catches dangerous patterns in MCP servers and AI agent projects, such as leaked secrets, shell execution, and prompt-injection text. Runs as both a CLI and MCP server with CI-friendly severity gates.21MIT
- AlicenseNot gradedqualityDmaintenanceEnables MCP-compatible AI agents to scan code for leaked secrets, copyleft licenses, unprotected routes, missing privacy policies, and risky card handling before committing or shipping.MIT
- FlicenseNot gradedqualityBmaintenanceEnables static security scanning of MCP servers, AI agent skills, and plugins by detecting attack patterns across severity levels and producing SARIF output for GitHub Code Scanning.-