Mirdan MCP Server

mirdan PyPI v2.4.0

Published by an unidentified publisher — no publish provenance and no public repository, so the publisher could not be verified and the source cannot be independently located.

Deterministic code-quality enforcement and Haiku-proof planning for Claude Code and Cursor — zero-token hooks, fully local

Trust grade
A
92/100
Last scanned get badge →
Trust
A · 92/100
Adoption risk for you: the threat score, then adjusted down for blast radius, publisher verification and how much the scan could see. Deterministic; every point is auditable.
Capability
High
Blast radius if it went rogue — what the server’s tools could reach. Independent of trust.
Coverage
Source
How much the scan could actually inspect. Shallow coverage is stated, never hidden.
Share this Trust Score
𝕏 Share LinkedIn Reddit
A Why this grade threat 100 − adoption risk = 92/100

The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.

1. Threat score — 100 − 0 = 100. What the published surface and source actually contain:

The deterministic scan raised no scored threat in the surface it inspected — the threat score stayed at 100. Capability observations and advisory notes are recorded but never lower it.

2. Client adoption risk — 100 − 8 = 92. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:

PointsAdoption-risk factor
−6 capability blast radius (high) — client exposure if the model is manipulated
−2 publisher verification (unlinked) — no provenance/repo link, but the shipped source was fully read

Capability observations and info notes are shown under Findings but never scored. Open any row's finding below for the file, line and evidence behind a deduction.

Findings 22

high Dynamic code execution in server code (src/mirdan/core/code_validator.py)MTC-SRC-001

In the server's implementation (`src/mirdan/core/code_validator.py:288`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: "Avoid eval() - use JSON.parse() for data or proper parsing libraries", ), (

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/mirdan/core/code_validator.py

high Dynamic code execution in server code (src/mirdan/core/python_ast_validator.py)MTC-SRC-001

In the server's implementation (`src/mirdan/core/python_ast_validator.py:49`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: """PY001-ast: Detect eval() calls via AST (no false positives from strings).""" return [ Violation(

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/mirdan/core/python_ast_validator.py

high Dynamic code execution in server code (src/mirdan/core/violation_explainer.py)MTC-SRC-001

In the server's implementation (`src/mirdan/core/violation_explainer.py:130`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: , with risks similar to eval() for dynamic input." ), "PY003": ( "Bare except catches all exceptions inc

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/mirdan/core/violation_explainer.py

high Shell/command execution in server code (src/mirdan/cli/check_command.py)MTC-SRC-002

In the server's implementation (`src/mirdan/cli/check_command.py:171`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: subprocess.run WITHOUT shell=True, preventing shell injection via malicious config values or filenames. Args:

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/mirdan/cli/check_command.py

high Shell/command execution in server code (src/mirdan/cli/export_command.py)MTC-SRC-002

In the server's implementation (`src/mirdan/cli/export_command.py:156`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: try: result = subprocess.run( ["git", "diff", "--name-only", "HEAD"], # noqa: S607 ca

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/mirdan/cli/export_command.py

high Shell/command execution in server code (src/mirdan/cli/fix_command.py)MTC-SRC-002

In the server's implementation (`src/mirdan/cli/fix_command.py:145`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: try: result = subprocess.run( ["git", "diff", "--cached", "--name-only", "--diff-filter=ACMR"], #

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/mirdan/cli/fix_command.py

high Shell/command execution in server code (src/mirdan/cli/gate_command.py)MTC-SRC-002

In the server's implementation (`src/mirdan/cli/gate_command.py:183`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: try: result = subprocess.run( ["git", "diff", "--name-only", "HEAD"], # noqa: S607 ca

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/mirdan/cli/gate_command.py

high Shell/command execution in server code (src/mirdan/cli/validate_command.py)MTC-SRC-002

In the server's implementation (`src/mirdan/cli/validate_command.py:176`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: try: result = subprocess.run( ["git", "diff", "--staged", "--unified=0"], # noqa: S607

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/mirdan/cli/validate_command.py

high Shell/command execution in server code (src/mirdan/core/auto_fixer.py)MTC-SRC-002

In the server's implementation (`src/mirdan/core/auto_fixer.py:147`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: "SEC003": ( "subprocess.run(cmd, shell=False, check=True)", "Use subprocess with shell=False and expl

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/mirdan/core/auto_fixer.py

high Shell/command execution in server code (src/mirdan/core/code_validator.py)MTC-SRC-002

In the server's implementation (`src/mirdan/core/code_validator.py:103`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: rror", "exec() usage detected - potential code injection risk", "Avoid exec() - use safe

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/mirdan/core/code_validator.py

high Shell/command execution in server code (src/mirdan/core/python_ast_validator.py)MTC-SRC-002

In the server's implementation (`src/mirdan/core/python_ast_validator.py:67`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: """PY002-ast: Detect exec() calls via AST.""" return [ Violation( id="PY002", rul

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/mirdan/core/python_ast_validator.py

high Shell/command execution in server code (src/mirdan/core/rules/ai002_imports.py)MTC-SRC-002

In the server's implementation (`src/mirdan/core/rules/ai002_imports.py:93`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: "buffer", "child_process", "cluster", "console", "constants", "crypto",

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/mirdan/core/rules/ai002_imports.py

low Hardcoded egress to an external endpoint in packaging/dev tooling (tests/test_ai_quality_checker.py)MTC-SRC-003

In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_ai_quality_checker.py:684`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: requests\n\nresponse = requests.get('https://example.com')\n" violations = checker.check(code, "python")

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server tests/test_ai_quality_checker.py

low Hardcoded egress to an external endpoint in packaging/dev tooling (tests/test_code_validator.py)MTC-SRC-003

In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_code_validator.py:130`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: code = "response = requests.get('https://example.com')" result = validator.validate(code, language="python"

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server tests/test_code_validator.py

low Dynamic code execution in packaging/dev tooling (tests/test_ai_quality_checker.py)MTC-SRC-001

In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_ai_quality_checker.py:219`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: code = 'result = eval(f"{user_input}")\n' violations = checker.check(code, "python") ai008 = [v f

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server tests/test_ai_quality_checker.py

low Dynamic code execution in packaging/dev tooling (tests/test_auto_fix.py)MTC-SRC-001

In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_auto_fix.py:85`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: code = "result = eval(user_input)" result = self.code_validator.validate(code, language="python")

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server tests/test_auto_fix.py

low Dynamic code execution in packaging/dev tooling (tests/test_code_validator.py)MTC-SRC-001

In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_code_validator.py:29`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: """Should detect eval() usage.""" code = "result = eval(user_input)" result = validator.validate(

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server tests/test_code_validator.py

low Dynamic code execution in packaging/dev tooling (tests/test_compare_approaches.py)MTC-SRC-001

In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_compare_approaches.py:62`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: dirty = "result = eval(user_input)\n" validator = CodeValidator(QualityStandards()) results = []

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server tests/test_compare_approaches.py

low Dynamic code execution in packaging/dev tooling (tests/test_convention_extractor.py)MTC-SRC-001

In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_convention_extractor.py:72`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: try: return eval(x) except: pass def another_func{i}(y): exec(y) return None class han

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server tests/test_convention_extractor.py

low Dynamic code execution in packaging/dev tooling (tests/test_diff_full_file.py)MTC-SRC-001

In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_diff_full_file.py:94`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: nc_a(): eval("bad_code") def func_b(): x = 1 y = 2

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server tests/test_diff_full_file.py

low Dynamic code execution in packaging/dev tooling (tests/test_output_formatter.py)MTC-SRC-001

In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_output_formatter.py:218`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: "message": "Avoid eval()", "line": 5, "column": 10, "c

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server tests/test_output_formatter.py

low Shell/command execution in packaging/dev tooling (scripts/measure_baseline.py)MTC-SRC-002

In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/measure_baseline.py:65`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: try: result = subprocess.run( ["git", "-C", str(repo_root), "log", "--oneline", "--all", "--grep",

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server scripts/measure_baseline.py

Tools 8

Each tool and what it can reach — statically extracted from the published source.

  • enhance_promptno sensitive capability
  • get_quality_standardsno sensitive capability
  • get_quality_trendsno sensitive capability
  • scan_conventionsno sensitive capability
  • scan_dependenciesno sensitive capability
  • validate_code_qualityno sensitive capability
  • validate_quickno sensitive capability
  • verify_planno sensitive capability

What this scan could not see

Versions 1

Scan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.

VersionScoreFindingsEngineScanned
v2.4.0 latest A 92/100 22 1.13.0 2026-08-25

Embed this score

Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.

MCP Trust Score: A · 92/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/mirdan/badge.svg)](https://mcptrustchecker.com/registry/mirdan)
HTML
<a href="https://mcptrustchecker.com/registry/mirdan"><img src="https://mcptrustchecker.com/registry/mirdan/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/mirdan/badge.json via https://img.shields.io/endpoint?url=…

Verify this score yourself

The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.

npx mcptrustchecker scan mirdan --online --registry pypi

Use the free API → How scoring works

More in Developer Tools