Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Wp Ops

WP OPS

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 SECRETS_PATH_CREDENTIAL

Why this grade

  • INSTALL_REMOTE_SCRIPT Medium

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

    wp-cli/migration/REGULAR-TO-TRELLIS.md, line 302 curl -sL https://roots.io/trellis/cli/get | bash

  • SECRETS_PATH_CREDENTIAL Medium

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

    mcp-server/src/tools/sshPassthrough.ts, line 103 // "cat wp-config.php" or "cat ~/.ssh/id_rsa" should be auto-approved, since that

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

    Note

    requests shell access. The manifest names this permission.

    PERMISSION_SHELL_DECLARED

    go/cmd/serverside.go, line 78

    return exec.Command("date", "-d", "1 hour ago", "+%s").Run() == nil

    go/internal/scripts/storeaudit_test.go, line 137

    cmd := exec.Command("bash", append([]string{script}, args...)...)

    scripts/monitoring/traffic-by-country.sh, line 244

    r = subprocess.run(['geoip2fast', chunk], capture_output=True, text=True, timeout=30)

    Show more

    wp-cli/security/checksum-verify.php, line 82

    $wp_cli_path = trim(shell_exec('which wp 2>/dev/null'));

    wp-cli/security/checksum-verify.php, line 126

    $process = proc_open($cmd, $descriptors, $pipes);

    wp-cli/security/checksum-verify.php, line 300

    $plugins_output = shell_exec('wp plugin list --field=name 2>/dev/null');

    wp-cli/security/scanner-wrapper.php, line 64

    passthru($cmd1, $return1);

    wp-cli/security/scanner-wrapper.php, line 78

    passthru($cmd2, $return2);

  • Install and update

    Serious

    install fetches a script from the network.

    INSTALL_REMOTE_SCRIPT

    wp-cli/migration/REGULAR-TO-TRELLIS.md, line 302

    curl -sL https://roots.io/trellis/cli/get | bash

  • Network

    Concern

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

    NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST

    go/internal/manifest/testdata/redirect-audit.sh, line 25

    # @flag --verbose optional {} Show detailed curl output

    go/internal/scripts/storeaudit_test.go, line 411

    // The script hands curl the auth header through a file, so the secret must not

    go/internal/scripts/storeaudit_test.go, line 418

    t.Error("credentials must not be passed with curl -u/--user")

    Show more

    mcp-server/src/tools/ipReputation.ts, line 45

    const res = await fetch(url, {

    mcp-server/src/tools/redirectAudit.ts, line 33

    * Run curl to get HTTP response details

    mcp-server/src/tools/redirectAudit.ts, line 59

    reject(new Error(`curl failed with code ${code}: ${stderr}`));

    mcp-server/src/tools/verifyPost.ts, line 190

    const resp = await fetch(permalink, { redirect: "follow" });

    mcp-server/src/tools/verifyPost.ts, line 231

    const r = await fetch(origin + p, { method: "HEAD", redirect: "follow" });

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV

    assets.go, line 17

    // dotfile/underscore-prefixed entries (stray .DS_Store files, .env.example,

    mcp-server/src/httpServer.ts, line 9

    const token = process.env.WP_OPS_MCP_TOKEN;

    mcp-server/src/tools/sshPassthrough.ts, line 103

    // "cat wp-config.php" or "cat ~/.ssh/id_rsa" should be auto-approved, since that

    Show more

    mcp-server/src/server.ts, line 561

    "AbuseIPDB API key (WP_OPS_ABUSEIPDB_KEY env var, or trellis/security/.env).",

    mcp-server/src/tools/ipReputation.ts, line 6

    // Same .env file trellis/security/check-ips.sh and check-deny-ips.sh read

    mcp-server/src/tools/ipReputation.ts, line 8

    const ENV_FILE = path.resolve(__dirname, "../../../trellis/security/.env");

    mcp-server/src/tools/ipReputation.ts, line 12

    if (process.env.WP_OPS_ABUSEIPDB_KEY) return process.env.WP_OPS_ABUSEIPDB_KEY;

    mcp-server/src/tools/sshPassthrough.ts, line 107

    /(^|\/)\.env(\.|$)/,

    mcp-server/src/tools/sshPassthrough.ts, line 109

    /(^|\/)id_rsa/,

    mcp-server/src/tools/sshPassthrough.ts, line 114

    /(^|\/)\.netrc$/,

  • 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

    CHANGELOG.md, line 1

    # Changelog

  • Licence

    Pass

    A licence file is present (LICENSE.md).

  • Maintainer activity

    Pass

    The latest commit is within the last 365 days.

Note

Hygiene check of commit 301fc5b6c477. requests shell access. The manifest names this permission. install fetches a script from the network. can reach a host that is not written as a fixed address. can reach www.. The description does not name that host. 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: 301fc5b6c4779fa880a03a2ee44a2a42ad54d27d

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