Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Dsh Mcp Gateway

Give ChatGPT Web a mature DSH Harness.

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.

INSTALL_REMOTE_SCRIPT PERMISSION_SHELL_UNDECLARED SECRETS_PATH_CREDENTIAL

Why this grade

  • INSTALL_REMOTE_SCRIPT High

    Fetches a script from the network and runs it (a pipe to a shell, or an install hook with a URL).

    dsh-remote-worker-plugin/controller.js, line 253 const command = `curl -fsSL ${shellQuote(joinUrl)} | bash -s -- ${args.join(' ')}`

  • PERMISSION_SHELL_UNDECLARED Medium

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

    scripts/backup-host-state.sh, line 384 'node_version': subprocess.check_output(

  • SECRETS_PATH_CREDENTIAL Medium

    Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).

    scripts/backup-host-state.sh, line 70 /etc/dsh-cloudflared/credentials.json \

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

    scripts/backup-host-state.sh, line 384

    'node_version': subprocess.check_output(

    scripts/check-private-identifiers.py, line 30

    raw = subprocess.check_output(["git", "ls-files", "-z"], cwd=root)

    scripts/preflight-deployment.py, line 152

    result = subprocess.run(

    Show more

    scripts/preflight-deployment.py, line 168

    result = subprocess.run(

    scripts/promote-live-host.sh, line 309

    packed = subprocess.run(

    src/dsh_mcp_gateway/remote_worker_agent.py, line 238

    def _terminate_process_group(process: subprocess.Popen[bytes]) -> None:

    src/dsh_mcp_gateway/remote_worker_agent.py, line 270

    process = subprocess.Popen(

    src/dsh_mcp_gateway/remote_worker_agent.py, line 702

    subprocess.run(["systemctl", "--user", "daemon-reload"], check=True)

  • Install and update

    Serious

    install fetches a script from the network.

    INSTALL_REMOTE_SCRIPT

    dsh-remote-worker-plugin/controller.js, line 253

    const command = `curl -fsSL ${shellQuote(joinUrl)} | bash -s -- ${args.join(' ')}`

  • Network

    Concern

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

    NETWORK_NO_FIXED_HOST

    dsh-chatgpt-web-bridge-plugin/lib/client.js, line 25

    const response = await fetch(`${config.basePath}${path}`, { ...options, headers, cache: 'no-store' })

    scripts/backup-host-state.sh, line 49

    for command in curl python3 tar sha256sum systemctl timeout; do

    scripts/backup-host-state.sh, line 189

    curl -fsS --connect-timeout 2 --max-time 5 --max-filesize 16777216 \

    Show more

    scripts/backup-host-state.sh, line 191

    curl -fsS --connect-timeout 2 --max-time 5 --max-filesize 16777216 \

    scripts/backup-host-state.sh, line 209

    curl -fsS --connect-timeout 2 --max-time 5 http://127.0.0.1:3080/api/chatgpt-bridge/tools >/dev/null 2>&1 && break

    scripts/backup-host-state.sh, line 212

    curl -fsS --connect-timeout 2 --max-time 5 http://127.0.0.1:3080/api/chatgpt-bridge/tools >/dev/null 2>&1 || restart_rc=1

    scripts/backup-host-state.sh, line 217

    curl -fsS --connect-timeout 2 --max-time 5 http://127.0.0.1:18766/readyz >/dev/null 2>&1 && break

    scripts/backup-host-state.sh, line 220

    curl -fsS --connect-timeout 2 --max-time 5 http://127.0.0.1:18766/readyz >/dev/null 2>&1 || restart_rc=1

    scripts/bootstrap-target-host.sh, line 113

    for cmd in curl git tar xz sha256sum python3 timeout; do

    scripts/bootstrap-target-host.sh, line 126

    timeout --signal=TERM --kill-after=10s 600s apt-get install -y ca-certificates curl git tar xz-utils python3 python3-venv

    scripts/bootstrap-target-host.sh, line 179

    curl --fail --silent --show-error --location --connect-timeout 10 --max-time 600 "$base/$filename" -o "$tmp/$filename"

    scripts/bootstrap-target-host.sh, line 180

    curl --fail --silent --show-error --location --connect-timeout 10 --max-time 600 "$base/SHASUMS256.txt" -o "$tmp/SHASUMS256.txt"

    scripts/bootstrap-target-host.sh, line 283

    curl --fail --silent --show-error --connect-timeout 2 --max-time 5 http://127.0.0.1:18766/healthz

    scripts/bootstrap-target-host.sh, line 285

    curl --fail --silent --show-error --connect-timeout 2 --max-time 5 http://127.0.0.1:18766/readyz

    scripts/promote-live-host.sh, line 518

    curl -fsS --connect-timeout 2 --max-time 5 http://127.0.0.1:3080/api/chatgpt-bridge/tools >"$PROMOTE_TMP/tools.json" 2>/dev/null && break

    scripts/promote-live-host.sh, line 521

    curl -fsS --connect-timeout 2 --max-time 5 http://127.0.0.1:3080/api/chatgpt-bridge/skills >"$PROMOTE_TMP/skills.json"

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_PATH_CREDENTIAL

    scripts/backup-host-state.sh, line 70

    /etc/dsh-cloudflared/credentials.json \

    scripts/promote-live-host.sh, line 13

    LIVE_CLOUDFLARED_CREDENTIALS="/home/ubuntu/workspace/.dsh-cloudflared/credentials.json"

    scripts/promote-live-host.sh, line 474

    install -o root -g dsh-tunnel -m 0640 "$LIVE_CLOUDFLARED_CREDENTIALS" /etc/dsh-cloudflared/credentials.json

    Show more

    scripts/promote-live-host.sh, line 483

    r'\1/etc/dsh-cloudflared/credentials.json',

    scripts/verify-backup-restore.sh, line 273

    "$RESTORE_IO/system/etc/dsh-cloudflared/credentials.json" <<'PY'

    scripts/verify-backup-restore.sh, line 302

    [[ -f "$RESTORE_IO/system/etc/dsh-cloudflared/credentials.json" ]] || { echo "restored tunnel credentials missing" >&2; exit 1; }

    docs/deployment.md, line 36

    /etc/dsh-mcp-gateway/*.env private configuration, mode 0600

    docs/deployment.md, line 239

    `/etc/dsh-cloudflared/credentials.json`. `promote-live-host.sh` performs that

  • Agent instructions

    Pass

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

  • Obfuscation

    Note

    a file was over the read cap and was not fully read.

    OBFUSCATION_FILE_OVER_READ_CAP

    deploy/dsh-runtime/package-lock.json, line 1

    {

  • 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 faf960659fb0. requests shell access. No manifest field names shell or command execution. install fetches a script from the network. can reach a host that is not written as a fixed address. reads a credential or environment file. a file was over the read cap and was not fully read.

Date and source

Date checked:

View source

github.com

Commit graded: faf960659fb0ae1a0303005a42674a0211e5e547

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