Grades are a hygiene check, not a security guarantee.

MCP, MCP server

cmdxray

X-ray any shell command — offline. Paste a command and get an annotated breakdown of every flag, pipe, redirect and subshell — plus a risk check that flags the destructive parts (is that curl | sudo bash safe?) and a clean shareable card you can drop into docs, is

Compatibility: Not stated.

Grade D

Two or more Medium findings, or a High finding. 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 INSTALL_REMOTE_SCRIPT SECRETS_PATH_CREDENTIAL

Why this grade

  • PERMISSION_SHELL_UNDECLARED Medium

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

    README.md, line 293 Consume it from any language (`json.loads(subprocess.check_output(["cmdxray","--json",cmd]))`

  • 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).

    README.md, line 157 $ curl -fsSL https://get.example.sh | sudo bash

  • SECRETS_PATH_CREDENTIAL Medium

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

    docs/cmdxray.browser.js, line 2929 "ssh-keygen": ["ssh-keygen -t ed25519 -C [email protected]", "ssh-keygen -R oldhost", "ssh-keygen -y -f id_rsa"],

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

    README.md, line 293

    Consume it from any language (`json.loads(subprocess.check_output(["cmdxray","--json",cmd]))`

    README.md, line 323

    reports = json.loads(subprocess.run(

  • Install and update

    Serious

    install fetches a script from the network.

    INSTALL_REMOTE_SCRIPT

    README.md, line 157

    $ curl -fsSL https://get.example.sh | sudo bash

    README.md, line 304

    echo '["echo hi", "curl -fsSL https://x.sh | bash"]' | cmdxray --batch-json

    README.md, line 310

    { "tool": "cmdxray", "command": "curl -fsSL https://x.sh | bash", "risk": "danger",

    Show more

    README.md, line 322

    cmds = ["echo hi", "curl -fsSL https://x.sh | bash", "rm -rf /tmp/x"]

  • Network

    Concern

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

    NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST

    docs/cmdxray.browser.js, line 2851

    curl: ["curl -sSL -o out.html https://example.com", "curl -X POST -H 'A: b' -d data url"],

    docs/cmdxray.browser.js, line 2852

    wget: ["wget -c -O file.zip https://example.com/f.zip", "wget -c -q --show-progress --limit-rate=200k https://x.com/f.iso"],

    scripts/danger-data.mjs, line 44

    r: "Download first, read it, then run: `curl -fsSL URL -o install.sh`, inspect instal

    Show more

    scripts/danger-data.mjs, line 129

    cmd: "eval \"$(curl -s https://example.com/env)\"",

    scripts/indexnow_submit.sh, line 8

    URLS=$(curl -s "$BASE/sitemap.xml" | grep -oE '<loc>[^<]+</loc>' | sed 's/<[^>]*>//g')

    scripts/indexnow_submit.sh, line 11

    curl -s -w '\nHTTP %{http_code}\n' -X POST "https://api.indexnow.org/indexnow" -H "Content-Type: application/json; charset=utf-8" -d "$JSON"

    scripts/recipes-data.mjs, line 37

    cmd: "curl -O https://example.com/file.zip",

    scripts/recipes-data.mjs, line 39

    different output name. Without either, curl prints the body to your terminal.",

    src/danger.ts, line 68

    // `curl x ; bash` (sequential) or `curl x && bash` (conditional).

    src/db.ts, line 2648

    curl: ["curl -sSL -o out.html https://example.com", "curl -X POST -H 'A: b' -d data url"],

    src/db.ts, line 2649

    wget: ["wget -c -O file.zip https://example.com/f.zip", "wget -c -q --show-progress --limit-rate=200k https://x.com/f.iso"],

    src/explain.ts, line 199

    // a) the value for a preceding flag (e.g. curl -o out.html)

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV

    docs/cmdxray.browser.js, line 2929

    "ssh-keygen": ["ssh-keygen -t ed25519 -C [email protected]", "ssh-keygen -R oldhost", "ssh-keygen -y -f id_rsa"],

    docs/cmdxray.browser.js, line 2954

    "ssh-copy-id": ["ssh-copy-id user@host", "ssh-copy-id -i ~/.ssh/id_ed25519.pub -p 2222 user@host"],

    scripts/danger-data.mjs, line 123

    what: "Force-removes all untracked files and directories, including ignored ones (-x) like local .env files and build artifacts.",

    Show more

    scripts/recipes-data.mjs, line 63

    uthenticate with instead of the default ~/.ssh/id_* keys - common with cloud instances

    src/db.ts, line 2726

    "ssh-keygen": ["ssh-keygen -t ed25519 -C [email protected]", "ssh-keygen -R oldhost", "ssh-keygen -y -f id_rsa"],

    src/db.ts, line 2751

    "ssh-copy-id": ["ssh-copy-id user@host", "ssh-copy-id -i ~/.ssh/id_ed25519.pub -p 2222 user@host"],

    docs/commands/ssh-copy-id.html, line 86

    <div class="wrap"><section><h2>ssh-copy-id examples, explained</h2><div class="ex"><p class="excmd"><span class="p">$</span> ssh-copy-id user@host</p><ul class="brk"><li><span clas

    docs/commands/ssh-keygen.html, line 86

    <div class="wrap"><section><h2>ssh-keygen examples, explained</h2><div class="ex"><p class="excmd"><span class="p">$</span> ssh-keygen -t ed25519 -C [email protected]</p><ul class="b

  • 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 abbac9f871c5. 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. can reach api.indexnow.org. The description does not name that host. reads a credential or environment file.

Date and source

Date checked:

View source

github.com

Commit graded: abbac9f871c5ddebdb6a89e8cc5ba3f5e55b811f

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