Back to Browse

Agent Security Auditor MCP Server

SecurityModerate6.3MCP RegistryLocal
Free

Server data from the Official MCP Registry

Static AST and config security scanner for MCP servers, Claude Code hooks, and Firebase rules.

About

Static AST and config security scanner for MCP servers, Claude Code hooks, and Firebase rules.

Security Report

6.3
Moderate6.3Moderate Risk

This is a static security scanner rather than a data-exfiltrating server. No network calls, credential harvesting, or obfuscated code were found. The score is held down by an MCP tool, remediate_path, that rewrites files in place on any caller-supplied path with no confirmation or root containment, and by install.py, which copies code into agent configuration directories under the user's home. Package verification found 1 issue.

4 files analyzed · 6 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

process_spawn

Check that this permission is expected for this type of plugin.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "mcp-agent-security-auditor": {
      "command": "uvx",
      "args": [
        "mcp-agent-security-auditor==2.2.1"
      ]
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

🔒 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.

💻 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

  1. AGENT_ENV_SECRET_PERSISTENCE (CWE-312): Detects when an agent CLI or config migrator reads resolved settings.merged (${ENV_VAR} expanded in memory) and writes it back to disk via setValue.
  2. FIREBASE_OPEN_DATABASE_RULES (CWE-284): Detects public .read: true or .write: true in Firebase Realtime Database rules.
  3. FIRESTORE_OPEN_WILDCARD_RULES (CWE-284): Detects unauthenticated match /{document=**} { allow read, write: if true; } in firestore.rules.
  4. MCP_SHELL_COMMAND_INJECTION (CWE-78): Detects subprocess(..., shell=True) and child_process.exec command injection sinks in MCP tool handlers.
  5. MCP_PATH_TRAVERSAL_UNSANITIZED (CWE-22): Detects direct path concatenation of tool arguments without canonical realpath boundary verification.
  6. MCP_UNRESTRICTED_SSRF_FETCH (CWE-918): Detects unrestricted URL fetchers in MCP tools that allow cloud metadata (169.254.169.254) or localhost probing.
  7. AGENT_DYNAMIC_CODE_EVAL (CWE-94): Detects eval / new Function on 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.0

Live 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

Reviews

No reviews yet

Be the first to review this server!