Grades are a hygiene check, not a security guarantee.

MCP, MCP server

contextGate

简体中文 · Documentation · Download v0.8.1

Compatibility: Not stated.

Grade D

Two or more Medium findings, or a High. Only try it in a sandbox.

Graded by PlugVetRubric v2

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

PERMISSION_SHELL_UNDECLARED OBFUSCATION_ENCODED_BLOB OBFUSCATION_MINIFIED_PAYLOAD

Why this grade

  • PERMISSION_SHELL_UNDECLARED Medium

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

    cmd/mcpdbhub/stdio_test.go, line 28 cmd := exec.Command("go", "build", "-o", binary, ".")

  • OBFUSCATION_ENCODED_BLOB Medium

    Contains a long base64 shaped string in a file that should be readable.

    scripts/matrix.py, line 157 query({"object":"events","filter":{"id":1}},1,"9007199254740993"),query({"object":"events","operation":"aggregate","pipeline":[{"$match":{"id":{"$gte":1}}},{"$group":{"_id":None,"t

  • OBFUSCATION_MINIFIED_PAYLOAD Medium

    Contains a very long line with almost no spaces in a script or style file.

    scripts/matrix.py, line 157 query({"object":"events","filter":{"id":1}},1,"9007199254740993"),query({"object":"events","operation":"aggregate","pipeline":[{"$match":{"id":{"$gte":1}}},{"$group":{"_id":None,"t

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.

If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.

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

    cmd/mcpdbhub/stdio_test.go, line 28

    cmd := exec.Command("go", "build", "-o", binary, ".")

    cmd/mcpdbhub/stdio_test.go, line 64

    child := exec.Command(binary, "stdio", "--url", base+"/mcp")

    cmd/mcpdbhub/stdio_test.go, line 93

    configurationChild := exec.Command(binary, "stdio", "--url", base+"/mcp/config")

    Show more

    scripts/check-package.py, line 32

    result = subprocess.run(["docker", *args], text=True, capture_output=True)

    scripts/check-package.py, line 334

    bridge = subprocess.Popen(['docker', 'exec', '-i', '-e', 'MCPDBHUB_TOKEN', name, binary,

    scripts/check-package.py, line 432

    bridge = subprocess.Popen(['docker', 'exec', '-i', '-e', 'MCPDBHUB_TOKEN', name, binary,

    scripts/check-package.py, line 462

    bridge = subprocess.Popen(['docker', 'exec', '-i', '-e', 'MCPDBHUB_TOKEN', name, binary,

    scripts/check-package.py, line 492

    recovery = subprocess.run(["docker", "run", "--rm", "-i", "--network", "mcpdbhub-test", "--read-only", "--cap-drop", "ALL",

  • Install and update

    Pass

    No install-time script found, and dependencies are pinned or absent.

  • Network

    Concern

    can reach evil. The description does not name that host. can reach a host that is not written as a fixed address.

    NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST

    internal/adapter/integration_test.go, line 319

    from(bucket:"x") |> to(bucket:"out")`, `requests.get(url:"http://evil")`, `from(bucket:"x",ho

    scripts/check-package.py, line 170

    if docker('exec', http_fixture, 'python', '-c', "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/customers', timeout=1).read()", check=False).returncode == 0:

    scripts/matrix.py, line 225

    ucket:"copy")'},{"query":'import "http" http.get(url:"http://evil")'}]

    Show more

    web/src/api.ts, line 48

    const response = await fetch(path, {

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    cmd/mcpdbhub/reset_password.go, line 32

    if os.Getenv("MCPDBHUB_MASTER_KEY") == "" {

    cmd/mcpdbhub/stdio.go, line 33

    token := os.Getenv("MCPDBHUB_TOKEN")

    internal/secure/secure.go, line 62

    if env := os.Getenv("MCPDBHUB_MASTER_KEY"); env != "" {

    Show more

    .dockerignore, line 15

    .env

    .gitignore, line 10

    *.log

    .gitignore, line 11

    .env

    .gitignore, line 13

    !.env.example

    compose.yaml, line 6

    POSTGRES_PASSWORD: ${MCPDBHUB_POSTGRES_PASSWORD:?Set MCPDBHUB_POSTGRES_PASSWORD in .env}

    docs/install.md, line 55

    if [ ! -e .env ]; then

    docs/install.md, line 56

    printf 'MCPDBHUB_POSTGRES_PASSWORD=%s\n' "$(openssl rand -hex 24)" > .env

    docs/install.md, line 62

    The host port binds to loopback by default. Database files must be readable by container UID 10001; their directory is mounted read-only. PostgreSQL metadata persists in `hub-postg

  • Agent instructions

    Pass

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

  • Obfuscation

    Concern

    contains a minified payload. contains an encoded blob in a file that should be readable.

    OBFUSCATION_ENCODED_BLOB OBFUSCATION_MINIFIED_PAYLOAD

    scripts/matrix.py, line 157

    query({"object":"events","filter":{"id":1}},1,"9007199254740993"),query({"object":"events","operation":"aggregate","pipeline":[{"$match":{"id":{"$gte":1}}},{"$group":{"_id":None,"t

    scripts/matrix.py, line 190

    query(base,3,"9007199254740993"),query({"object":"events","body":{"query":{"term":{"id":1}},"aggs":{"amount":{"sum":{"field":"amount"}}}}},1,"aggregations"),query({"object":"events

    third_party/licenses/_go/github.com/hashicorp/go-retryablehttp/Makefile, line 1

    default: test

    Show more

    third_party/licenses/_go/github.com/go-sql-driver/mysql/README.md, line 3

    [![DeepWiki](https://img.shields.io/badge/DeepWiki-go--sql--driver%2Fmysql-blue.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAyCAYAAAAnWDnqAAAAAXNSR0IArs4c6QAAA05JR

  • 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 cb539741ef3b. requests shell access. No manifest field names shell or command execution. can reach evil. The description does not name that host. can reach a host that is not written as a fixed address. reads a credential or environment file. contains a minified payload. contains an encoded blob in a file that should be readable.

Date and source

Date checked:

View source

github.com

Commit graded: cb539741ef3b76782c96a0d2fe1575a0c5c8e9ad

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