prometheus-mcp-server
Not malicious, needs a look Reviewed: expected behaviour
Bawwab's static rules found patterns that deserve a human look. This is not a finding that the package is malicious; the review notes below say what each pattern turned out to be.
Why it was flagged
The static rules marked this “Not malicious, needs a look” because of:
credential-access: Touches credentials or secrets (high, 1× · first at src/prometheus_mcp_server/main.py:12)remote-code.pipe-shell: Pipes a download into a shell (high, 2× · first at PKG-INFO:236)
- Kind
- MCP server
- Source
- pypi
- Version
1.6.2- Popularity
- 13,164 PyPI downloads/week (2026-11-20)
- Link
- https://pypi.org/project/prometheus-mcp-server/1.6.2/
- Scanned
- 2026-11-20T22:35:37+00:00
- Scan time
- 2.9 s
Review note: Flags are a documented uv install command and standard .env config loading.
Findings (3)
remote-code.pipe-shell: Pipes a download into a shell high
PKG-INFO:236
OWASP LLM LLM03 Supply ChainOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesOWASP Agentic ASI05 Unexpected Code Execution (RCE)MITRE ATLAS AML.T0050 Command and Scripting InterpreterCWE CWE-494 Download of Code Without Integrity Check
curl -LsSf https://astral.sh/uv/install.sh | sh
What this means: Executes whatever the remote server returns, unreviewed.
The rule's general advice: Download, verify a checksum, then run. (see the review note for this case)
Expected for what this tool does
Documentation in the package description showing the official uv installer command. The package does not run it.
Reviewed by Claude (AI-assisted review), 2026-11-21
credential-access: Touches credentials or secrets high
src/prometheus_mcp_server/main.py:12
OWASP LLM LLM03 Supply ChainOWASP Agentic ASI03 Identity and Privilege AbuseOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesMITRE ATLAS AML.T0055 Unsecured CredentialsMITRE ATLAS AML.T0083 Credentials from AI Agent Configuration
logger.info("Environment configuration loaded", source=".env file")
What this means: Reads files or environment holding keys, tokens or sessions.
The rule's general advice: Confirm the tool needs this; otherwise do not install. (see the review note for this case)
Expected for what this tool does
The server loads its Prometheus URL and optional credentials from a .env file at startup and logs that it did. This is standard configuration loading.
Reviewed by Claude (AI-assisted review), 2026-11-21
remote-code.pipe-shell: Pipes a download into a shell high
src/prometheus_mcp_server.egg-info/PKG-INFO:236
OWASP LLM LLM03 Supply ChainOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesOWASP Agentic ASI05 Unexpected Code Execution (RCE)MITRE ATLAS AML.T0050 Command and Scripting InterpreterCWE CWE-494 Download of Code Without Integrity Check
curl -LsSf https://astral.sh/uv/install.sh | sh
What this means: Executes whatever the remote server returns, unreviewed.
The rule's general advice: Download, verify a checksum, then run. (see the review note for this case)
Expected for what this tool does
Documentation in the package description showing the official uv installer command. The package does not run it.
Reviewed by Claude (AI-assisted review), 2026-11-21
2 low-severity notes (informational, do not affect the result)
credential-access: Touches credentials or secrets low
src/prometheus_mcp_server/server.py:10
OWASP LLM LLM03 Supply ChainOWASP Agentic ASI03 Identity and Privilege AbuseOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesMITRE ATLAS AML.T0055 Unsecured CredentialsMITRE ATLAS AML.T0083 Credentials from AI Agent Configuration
What this means: Reads files or environment holding keys, tokens or sessions.
What you can do: Confirm the tool needs this; otherwise do not install.
credential-access: Touches credentials or secrets low
tests/test_main.py:207
OWASP LLM LLM03 Supply ChainOWASP Agentic ASI03 Identity and Privilege AbuseOWASP Agentic ASI04 Agentic Supply Chain VulnerabilitiesMITRE ATLAS AML.T0055 Unsecured CredentialsMITRE ATLAS AML.T0083 Credentials from AI Agent Configuration
@patch("prometheus_mcp_server.main.dotenv.load_dotenv")
What this means: Reads files or environment holding keys, tokens or sessions.
What you can do: Confirm the tool needs this; otherwise do not install.
Dispute this result
Maintainer and think this is wrong? Open a dispute on GitHub with the target id mcp-pypi-prometheus-mcp-server-1be1a5.