Grades are a hygiene check, not a security guarantee.

MCP, MCP server

detrix

detrix, an MCP server listed in the PlugVet directory.

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 INSTALL_REMOTE_SCRIPT

Why this grade

  • PERMISSION_SHELL_UNDECLARED Medium

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

    clients/publish.py, line 174 result = subprocess.run(

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

    .github/workflows/release.yml, line 67 run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.31.0/cargo-dist-installer.sh | sh"

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. can delete files.

    PERMISSION_SHELL_UNDECLARED PERMISSION_DELETE_FILES

    clients/publish.py, line 174

    result = subprocess.run(

    clients/publish.py, line 218

    result = subprocess.run(

    clients/publish.py, line 256

    shutil.rmtree(dist_dir)

    Show more

    clients/publish.py, line 260

    result = subprocess.run(

    clients/publish.py, line 272

    result = subprocess.run(

    clients/publish.py, line 304

    result = subprocess.run(

    clients/publish.py, line 333

    result = subprocess.run(

    clients/publish.py, line 345

    result = subprocess.run(

  • Install and update

    Serious

    install fetches a script from the network.

    INSTALL_REMOTE_SCRIPT

    .github/workflows/release.yml, line 67

    run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.31.0/cargo-dist-installer.sh | sh"

    .github/workflows/release.yml, line 127

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

  • Network

    Concern

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

    NETWORK_NO_FIXED_HOST

    clients/publish.py, line 193

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

    clients/go/examples/trade_bot/main.go, line 75

    fmt.Printf(" curl -X POST %s/detrix/wake\n", controlURL)

    clients/python/examples/test_wake.py, line 55

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

    Show more

    clients/python/examples/trade_bot_detrix.py, line 85

    print(f" curl -X POST {control_url}/detrix/wake", flush=True)

    clients/rust/examples/basic_usage.rs, line 10

    //! curl -X POST http://127.0.0.1:<port>/detrix/wake

    clients/rust/examples/basic_usage.rs, line 46

    " curl -X POST http://127.0.0.1:{}/detrix/wake",

    clients/rust/examples/trade_bot.rs, line 10

    //! 1. Wake the client: curl -X POST http://127.0.0.1:<port>/detrix/wake

    crates/detrix-api/src/file_sources/bridge.rs, line 72

    async fn fetch(&self, connection: &Connection, file_path: &str) -> Result<Option<FetchResult>> {

    crates/detrix-api/src/file_sources/bridge.rs, line 74

    debug!(file = file_path, "Bridge URL not set - skipping bridge fetch (bridge not active or not yet connected)");

    crates/detrix-api/src/file_sources/bridge.rs, line 134

    let result = source.fetch(&conn, "/app/main.py").await.unwrap();

    crates/detrix-api/src/file_sources/bridge.rs, line 152

    let result = source.fetch(&conn, "/app/main.py").await.unwrap().unwrap();

    fixtures/docker/docker-compose.yml, line 39

    test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8080/jwks')"]

    fixtures/docker/mock-jwks/Dockerfile, line 9

    CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8080/jwks')"

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    clients/publish.py, line 246

    token = os.environ.get("UV_PUBLISH_TOKEN")

    clients/go/internal/auth/token.go, line 48

    if token := os.Getenv("DETRIX_TOKEN"); token != "" {

    clients/python/detrix/auth.py, line 57

    env_token = os.environ.get("DETRIX_TOKEN")

    Show more

    clients/python/detrix/config.py, line 107

    "token": os.environ.get("DETRIX_TOKEN"),

    clients/rust/examples/test_wake.rs, line 164

    .env("DETRIX_CLIENT_ENABLED", "1")

    clients/rust/examples/test_wake.rs, line 165

    .env("DETRIX_DAEMON_URL", daemon_url)

    clients/rust/examples/test_wake.rs, line 166

    .env("DETRIX_NAME", "trade-bot")

    crates/detrix-dap/src/adapter/tests.rs, line 15

    .env("PYTHONPATH", "/app/src");

    crates/detrix-testing/src/e2e/cli.rs, line 95

    .env(

    crates/detrix-testing/src/e2e/daemon_discovery.rs, line 158

    .env("RUST_LOG", "warn")

    crates/detrix-testing/src/e2e/daemon_discovery.rs, line 300

    .env("RUST_LOG", "warn")

    crates/detrix-testing/src/e2e/executor.rs, line 2618

    .env(

  • 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. the file cap was reached before every file was read.

    OBFUSCATION_FILE_OVER_READ_CAP OBFUSCATION_FILE_CAP_REACHED

    crates/detrix-api/src/generated/detrix.v1.rs, line 1

    // This file is @generated by prost-build.

    crates/detrix-dap/src/base/parsing.rs, line 1

    //! Shared Logpoint Parsing

  • 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 06d79e9223f2. requests shell access. No manifest field names shell or command execution. can delete files. 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. the file cap was reached before every file was read.

Date and source

Date checked:

View source

github.com

Commit graded: 06d79e9223f2cc7cee879f96a2553c1d8917b78a

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