Grades are a hygiene check, not a security guarantee.

MCP, MCP server

CascadeGateway

CascadeGateway is an intelligent, hardware-adaptive cascading proxy that routes AI queries between local GPUs (via Ollama at $0 token cost) and frontier cloud models (Google Gemini, OpenAI, etc.).

Compatibility: Not stated.

Grade C

One Medium finding. Read the report before installing.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

PERMISSION_SHELL_UNDECLARED

Why this grade

  • PERMISSION_SHELL_UNDECLARED Medium

    Runs shell commands that the manifest or description does not mention.

    test_cascade.py, line 8 sys.exit(subprocess.call([sys.executable, "tests/test_gateway.py"]))

Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.

Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.

What was checked

Plain notes from the hygiene checks.

  • Permissions

    Concern

    requests shell access. No manifest field names shell or command execution.

    PERMISSION_SHELL_UNDECLARED

    test_cascade.py, line 8

    sys.exit(subprocess.call([sys.executable, "tests/test_gateway.py"]))

    src/cascadegateway/core/hardware.py, line 27

    return subprocess.run(cmd, **kwargs)

    src/cascadegateway/tray/app.py, line 95

    os.system(f'powershell.exe -ExecutionPolicy Bypass -File "{ps_script}"')

    Show more

    src/cascadegateway/tray/app.py, line 111

    subprocess.Popen([py_bin, "-m", "cascadegateway.hud.overlay"], cwd=str(BASE_DIR), creationflags=flags)

  • Install and update

    Concern

    dependencies are not pinned.

    INSTALL_UNPINNED

    requirements.txt, line 1

    fastapi>=0.115.0

  • Network

    Concern

    can reach a host that is not written as a fixed address.

    NETWORK_NO_FIXED_HOST

    mcp_server.py, line 100

    with urllib.request.urlopen(req, timeout=120) as resp:

    mcp_server.py, line 121

    with urllib.request.urlopen(req, timeout=120) as resp:

    mcp_server.py, line 143

    with urllib.request.urlopen(req, timeout=120) as resp:

    Show more

    mcp_server.py, line 153

    with urllib.request.urlopen(req, timeout=5) as resp:

    scripts/setup.sh, line 17

    if ! curl -s http://127.0.0.1:11434/api/tags &> /dev/null; then

    src/cascadegateway/hud/overlay.py, line 297

    with urllib.request.urlopen(req, timeout=3.0) as resp:

    src/cascadegateway/hud/overlay.py, line 318

    with urllib.request.urlopen(req, timeout=120.0) as resp:

    src/cascadegateway/hud/overlay.py, line 340

    with urllib.request.urlopen(req, timeout=15.0) as resp:

    src/cascadegateway/hud/overlay.py, line 352

    with urllib.request.urlopen(req, timeout=1.5) as resp:

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    scripts/run_architect_builder.py, line 31

    DEFAULT_API_KEY = os.getenv("CASCADE_GATEWAY_KEY", "local-builder-token")

    scripts/setup.sh, line 35

    if [ ! -f ".env" ] && [ -f ".env.example" ]; then

    scripts/setup.sh, line 36

    cp .env.example .env

    Show more

    scripts/setup.sh, line 37

    echo "[OK] Created .env from .env.example."

    src/cascadegateway/api/server.py, line 200

    api_key = os.getenv("GEMINI_API_KEY") or ""

    src/cascadegateway/api/server.py, line 315

    detail=f"Query escalated to Cloud ({route_reason}), but GEMINI_API_KEY is not configured in .env."

    src/cascadegateway/api/server.py, line 369

    detail=f"Query routed/cascaded to Cloud ({route_reason}), but GEMINI_API_KEY is not configured in .env."

    src/cascadegateway/core/config.py, line 30

    ENV_PATH = BASE_DIR / ".env"

    .gitignore, line 29

    # Environment Variables & Secrets

    .gitignore, line 31

    !.env.example

  • Agent instructions

    Pass

    No instruction to ignore earlier instructions or to hide a step.

  • Obfuscation

    Pass

    No encoded or minified payload found.

  • Licence

    Pass

    A licence file is present (LICENSE).

  • Maintainer activity

    Pass

    The latest commit is within the last 365 days.

Note

Hygiene check of commit 1293fe6b6cb4. requests shell access. No manifest field names shell or command execution. dependencies are not pinned. can reach a host that is not written as a fixed address. reads a credential or environment file.

Date and source

Date checked:

View source

github.com

Commit graded: 1293fe6b6cb45594b4881587c51603f5ef4a48fc

This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.

Read how this letter is chosen