Contextforge Gateway MCP Server

mcp-contextforge-gateway PyPI v1.0.6

Published by ibm — no publish provenance and no vendor-owned scope, so the publisher could not be verified. The repository link below is self-declared.

Trust grade
F
44/100
Last scanned
Trust
F · 44/100
How safe the published surface and source look. 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.
F Why this grade 100 − 55.7 = 44/100

Every server starts at 100. These are the exact deductions the deterministic engine applied — each one reproducible, none of it an opinion or an LLM's guess:

PointsWhat was foundCategory
−31.6 Dynamic evaluation of a non-literal value ×6 MTC-SRC-010 injection
−22 Hardcoded AWS access key id in server code MTC-SRC-008 exfiltration
−2.1 Package has no source repository MTC-SUP-011 supply-chain

Grade capped: 1 confirmed high finding → grade capped at C. A hard gate overrides the point total — no amount of clean surface buys back a confirmed catastrophe.

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 the deduction.

Findings 19

high Reads a sensitive credential path or dumps the environment (mcpgateway/llm_provider_configs.py)MTC-SRC-006

In the server's implementation (`mcpgateway/llm_provider_configs.py:37`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: .aws/credentials

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 mcpgateway/llm_provider_configs.py

high Hardcoded AWS access key id in server code (mcpgateway/llm_provider_configs.py)MTC-SRC-008

A live-looking AWS access key id is hardcoded in `mcpgateway/llm_provider_configs.py:307`. Secrets in source ship to everyone who installs the package and are a direct credential leak.

Evidence: AWS access key id: AKIA…(redacted)

Fix: Remove the secret, rotate it, and load credentials from the environment or a secret store.

Location: server mcpgateway/llm_provider_configs.py

high Dynamic evaluation of a non-literal value (mcpgateway/routers/llmchat_router.py)MTC-SRC-010

In the server's implementation (`mcpgateway/routers/llmchat_router.py:564`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate 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: eval(

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 mcpgateway/routers/llmchat_router.py

high Dynamic evaluation of a non-literal value (mcpgateway/services/dataplane_publisher.py)MTC-SRC-010

In the server's implementation (`mcpgateway/services/dataplane_publisher.py:199`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate 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: eval(

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 mcpgateway/services/dataplane_publisher.py

high Dynamic evaluation of a non-literal value (mcpgateway/services/gateway_service.py)MTC-SRC-010

In the server's implementation (`mcpgateway/services/gateway_service.py:1286`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate 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: eval(

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 mcpgateway/services/gateway_service.py

high Dynamic evaluation of a non-literal value (mcpgateway/services/leader_election.py)MTC-SRC-010

In the server's implementation (`mcpgateway/services/leader_election.py:142`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate 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: eval(

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 mcpgateway/services/leader_election.py

high Dynamic evaluation of a non-literal value (mcpgateway/services/session_affinity.py)MTC-SRC-010

In the server's implementation (`mcpgateway/services/session_affinity.py:561`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate 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: eval(

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 mcpgateway/services/session_affinity.py

high Dynamic evaluation of a non-literal value (mcpgateway/transports/redis_event_store.py)MTC-SRC-010

In the server's implementation (`mcpgateway/transports/redis_event_store.py:258`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate 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: eval(

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 mcpgateway/transports/redis_event_store.py

high Dynamic code execution in server code (mcpgateway/admin_ui/events.js)MTC-SRC-001

In the server's implementation (`mcpgateway/admin_ui/events.js:707`): 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: new Function(

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 mcpgateway/admin_ui/events.js

high Dynamic code execution in server code (mcpgateway/routers/llmchat_router.py)MTC-SRC-001

In the server's implementation (`mcpgateway/routers/llmchat_router.py:564`): 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: eval(

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 mcpgateway/routers/llmchat_router.py

high Dynamic code execution in server code (mcpgateway/services/dataplane_publisher.py)MTC-SRC-001

In the server's implementation (`mcpgateway/services/dataplane_publisher.py:199`): 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: eval(

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 mcpgateway/services/dataplane_publisher.py

high Dynamic code execution in server code (mcpgateway/services/gateway_service.py)MTC-SRC-001

In the server's implementation (`mcpgateway/services/gateway_service.py:1286`): 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: eval(

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 mcpgateway/services/gateway_service.py

high Dynamic code execution in server code (mcpgateway/services/leader_election.py)MTC-SRC-001

In the server's implementation (`mcpgateway/services/leader_election.py:142`): 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: eval(

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 mcpgateway/services/leader_election.py

high Dynamic code execution in server code (mcpgateway/services/session_affinity.py)MTC-SRC-001

In the server's implementation (`mcpgateway/services/session_affinity.py:561`): 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: eval(

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 mcpgateway/services/session_affinity.py

high Dynamic code execution in server code (mcpgateway/transports/redis_event_store.py)MTC-SRC-001

In the server's implementation (`mcpgateway/transports/redis_event_store.py:258`): 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: eval(

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 mcpgateway/transports/redis_event_store.py

high Shell/command execution in server code (mcpgateway/tools/builder/build_hooks.py)MTC-SRC-002

In the server's implementation (`mcpgateway/tools/builder/build_hooks.py:76`): 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(

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 mcpgateway/tools/builder/build_hooks.py

high Shell/command execution in server code (mcpgateway/tools/builder/common.py)MTC-SRC-002

In the server's implementation (`mcpgateway/tools/builder/common.py:468`): 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(

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 mcpgateway/tools/builder/common.py

high Shell/command execution in server code (mcpgateway/tools/builder/python_deploy.py)MTC-SRC-002

In the server's implementation (`mcpgateway/tools/builder/python_deploy.py:440`): 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(

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 mcpgateway/tools/builder/python_deploy.py

low Package has no source repositoryMTC-SUP-011

"mcp-contextforge-gateway" declares no repository URL, so its published artifact cannot be compared against reviewable source.

Fix: Prefer packages that link to public, reviewable source.

Location: package mcp-contextforge-gateway

What this scan could not see

Versions

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
v1.0.6 latest F 44/100 19 1.5.0 2026-07-22

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: F · 44/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/mcp-contextforge-gateway/badge.svg)](https://mcptrustchecker.com/registry/mcp-contextforge-gateway)
HTML
<a href="https://mcptrustchecker.com/registry/mcp-contextforge-gateway"><img src="https://mcptrustchecker.com/registry/mcp-contextforge-gateway/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/mcp-contextforge-gateway/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 mcp-contextforge-gateway --online --registry pypi

Use the free API → How scoring works

More in Cloud & DevOps