Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Code System Graph

Code System Graph, 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.

INSTALL_REMOTE_SCRIPT NETWORK_HOST_FROM_INPUT

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

    README.md, line 237 curl -fsSL https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.sh | sh

  • NETWORK_HOST_FROM_INPUT Medium

    A file takes a URL or endpoint as input and has no fixed host list.

    crates/code-system-graph-core/src/builtin_extractors.rs, line 740 let source = b"import requests\ndef test_create_order():\n requests.post(\"https://api.test/v1/orders\")\n";

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

    Pass

    No shell or command execution found, and no extra permission was declared.

  • Install and update

    Serious

    install fetches a script from the network.

    INSTALL_REMOTE_SCRIPT

    README.md, line 237

    curl -fsSL https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.sh | sh

    docs/CODEGRAPH_INTEGRATION.md, line 29

    curl -fsSL https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.sh | sh

  • Network

    Serious

    accepts a host from input, with no fixed list in this file.

    NETWORK_HOST_FROM_INPUT

    crates/code-system-graph-core/src/builtin_extractors.rs, line 740

    let source = b"import requests\ndef test_create_order():\n requests.post(\"https://api.test/v1/orders\")\n";

    crates/code-system-graph-core/src/client_flows.rs, line 496

    return requests.post(BASE + "/orders", json={}).json()

    crates/code-system-graph-core/src/client_flows.rs, line 503

    return requests.get(API + path).json()

    Show more

    crates/code-system-graph-core/src/client_flows.rs, line 584

    return fetch(API + path);

    crates/code-system-graph-core/src/data_contracts.rs, line 3707

    br#"SELECT id FROM teams"#.fetch(conn).await?;

    crates/code-system-graph-core/src/source_graph.rs, line 560

    "import requests\nclass A:\n def get(self):\n return requests.get('https://api/a')\nclass B:\n def get(self):\n return requests.get('https://api/b')\n",

    crates/code-system-graph-core/src/source_graph.rs, line 566

    "class A {\n get() { return fetch('https://api/a'); }\n}\nclass B {\n get() { return fetch('https://api/b'); }\n}\n",

    crates/code-system-graph-core/src/source_graph.rs, line 569

    "import requests\ndef get():\n requests.get('https://api/a')\n def get():\n requests.get('https://api/b')\n",

    crates/code-system-graph-core/src/source_http/brace_clients.rs, line 217

    fn fetch(&self, observations: &mut SourceObservationCollector<'_>) {

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_PATH_DOTENV

    crates/code-system-graph-core/src/changes.rs, line 294

    .env("GIT_OPTIONAL_LOCKS", "0")

    crates/code-system-graph-core/src/extraction_graph.rs, line 2346

    let document = extract_safe_config(".env", &source).expect("valid dotenv");

    crates/code-system-graph-core/src/extraction_graph.rs, line 2351

    &[(&repo, ".env", "config-hash", &document)],

    Show more

    crates/code-system-graph-core/src/protobuf_contracts.rs, line 1657

    .env(CHILD_ENV, "1")

    crates/code-system-graph-core/src/protobuf_contracts.rs, line 1693

    .env(CHILD_ENV, "1")

    crates/code-system-graph-core/src/registry.rs, line 313

    .env("GIT_OPTIONAL_LOCKS", "0")

    crates/code-system-graph-core/src/secret_safety.rs, line 354

    if file_name == ".env" || file_name.starts_with(".env.") {

    crates/code-system-graph-core/src/secret_safety.rs, line 1167

    let document = extract_safe_config(".env.production", &input).expect("valid dotenv");

  • 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

    crates/code-system-graph-cli/src/lib.rs, line 1

    //! Delivery-layer orchestration shared by the `Code System Graph` CLI and MCP server.

    crates/code-system-graph-store-sqlite/src/lib.rs, line 1

    //! `SQLite` persistence adapter for `Code System Graph` snapshots.

  • 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 d161502d8e6d. install fetches a script from the network. accepts a host from input, with no fixed list in this file. 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: d161502d8e6db606345f998574df10637591f9e8

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