Crowdsec Local MCP Server

crowdsec-local-mcp PyPI v0.9.1

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.

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 5

high Shell/command execution in server code (src/crowdsec_local_mcp/mcp_core.py)MTC-SRC-002

In the server's implementation (`src/crowdsec_local_mcp/mcp_core.py:125`): 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: subprocess.run( ["docker", "info"], #noqa: S607 check=True,

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/crowdsec_local_mcp/mcp_core.py

high Shell/command execution in server code (src/crowdsec_local_mcp/mcp_scenarios.py)MTC-SRC-002

In the server's implementation (`src/crowdsec_local_mcp/mcp_scenarios.py:334`): 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: return subprocess.run( full_cmd, cwd=str(SCENARIO_COMPOSE_DIR), cap

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/crowdsec_local_mcp/mcp_scenarios.py

high Shell/command execution in server code (src/crowdsec_local_mcp/mcp_waf.py)MTC-SRC-002

In the server's implementation (`src/crowdsec_local_mcp/mcp_waf.py:70`): 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: services) result = subprocess.run( cmd, cwd=str(WAF_TEST_COMPOSE_DIR), capture_output=True,

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/crowdsec_local_mcp/mcp_waf.py

high Shell/command execution in server code (src/crowdsec_local_mcp/setup_cli.py)MTC-SRC-002

In the server's implementation (`src/crowdsec_local_mcp/setup_cli.py:181`): 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: ) result = subprocess.run(claude_invocation, check=False) if result.returncode != 0: raise Runt

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/crowdsec_local_mcp/setup_cli.py

medium Untrusted input can drive an external actionMTC-FLOW-005

Untrusted-input tools ([fetch_nuclei_exploit]) co-exist with external-action tools ([curl_waf_endpoint]). A prompt injection could cause unwanted external actions, though no direct sensitive-data leak path was found.

Evidence: untrusted [fetch_nuclei_exploit] → sinks [curl_waf_endpoint]

Fix: Require confirmation for state-changing/egress actions triggered after processing untrusted content.

Location: flow fetch_nuclei_exploit → curl_waf_endpoint

Tools 24

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

  • curl_waf_endpointnetwork egress
  • fetch_nuclei_exploitingests untrusted input
  • deploy_scenariono sensitive capability
  • deploy_waf_ruleno sensitive capability
  • explain_scenariono sensitive capability
  • generate_waf_ruleno sensitive capability
  • generate_waf_testsno sensitive capability
  • get_scenario_examplesno sensitive capability
  • get_scenario_expr_helpersno sensitive capability
  • get_scenario_promptno sensitive capability
Show 14 more tools ↓
  • get_waf_examplesno sensitive capability
  • get_waf_pr_promptno sensitive capability
  • get_waf_promptno sensitive capability
  • get_waf_rule_challenge_promptno sensitive capability
  • get_waf_top_level_promptno sensitive capability
  • lint_scenario_yamlno sensitive capability
  • lint_waf_ruleno sensitive capability
  • manage_scenario_stackno sensitive capability
  • manage_waf_stackno sensitive capability
  • prepare_waf_prno sensitive capability
  • run_waf_testsno sensitive capability
  • test_scenariono sensitive capability
  • validate_scenario_yamlno sensitive capability
  • validate_waf_ruleno sensitive capability

Toxic flows 1

Cross-tool combinations that form a data-exfiltration primitive (untrusted input → sensitive source → external sink).

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
v0.9.1 latest A 92/100 5 1.9.0 2026-07-23

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/crowdsec-local-mcp/badge.svg)](https://mcptrustchecker.com/registry/crowdsec-local-mcp)
HTML
<a href="https://mcptrustchecker.com/registry/crowdsec-local-mcp"><img src="https://mcptrustchecker.com/registry/crowdsec-local-mcp/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/crowdsec-local-mcp/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 crowdsec-local-mcp --online --registry pypi

Use the free API → How scoring works

More in Developer Tools