Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Context Zero Engine

A local code-intelligence engine for AI agents. ContextZero indexes a repository into a PostgreSQL-backed code graph and serves structured, token-budgeted context — symbols, dependencies, effects, contracts, similar code, and blast radius — over MCP and HTTP.

Compatibility: Not stated.

Grade B

Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP

Why this grade

  • PERMISSION_DELETE_FILES Low

    Contains a call that can delete files.

    scripts/bench-corpus.mjs, line 52 fs.rmSync(dest, { recursive: true, force: true })

  • NETWORK_NO_FIXED_HOST Low

    Makes a network call whose host is not written as a fixed address.

    scripts/lib/local-postgres.mjs, line 78 const socket = net.connect({ host: "127.0.0.1", port })

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    scripts/bootstrap.ps1, line 72 $envPath = Join-Path $RepoRoot ".env"

  • SECRETS_ENV_READ Note

    Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.

    scripts/bench-report.ts, line 219 DB_PASSWORD: process.env.DB_PASSWORD || "postgres",

  • OBFUSCATION_FILE_OVER_READ_CAP Note

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

    package-lock.json, line 1 {

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.

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

    can delete files.

    PERMISSION_DELETE_FILES

    scripts/bench-corpus.mjs, line 52

    fs.rmSync(dest, { recursive: true, force: true })

    scripts/lib/local-postgres.mjs, line 150

    fs.rmSync(pwFile, { force: true })

  • Install and update

    Pass

    No install-time script found, and dependencies are pinned or absent.

  • Network

    Concern

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

    NETWORK_NO_FIXED_HOST

    scripts/lib/local-postgres.mjs, line 78

    const socket = net.connect({ host: "127.0.0.1", port })

    src/mcp-bridge/index.ts, line 196

    const entry = this.requests.get(toolName)

    src/analysis-engine/behavioral.ts, line 365

    // effects of the caller (a fixture file's axios.get showed up as a

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    scripts/bench-report.ts, line 219

    DB_PASSWORD: process.env.DB_PASSWORD || "postgres",

    scripts/bench-report.ts, line 522

    DB_PASSWORD: process.env.DB_PASSWORD || "postgres",

    scripts/bootstrap.ps1, line 72

    $envPath = Join-Path $RepoRoot ".env"

    Show more

    scripts/bootstrap.ps1, line 74

    Write-Host "Using existing .env: $envPath"

    scripts/bootstrap.ps1, line 80

    throw "Existing .env has a missing or weak DB_PASSWORD. Replace it with a strong generated value before Docker startup."

    scripts/bootstrap.ps1, line 83

    throw "Existing .env has missing or weak SCG_API_KEYS. Set at least one 32+ character API key before Docker startup."

    scripts/bootstrap.ps1, line 88

    throw "Existing .env must define 32+ character SCG_ADMIN_API_KEYS for Docker production mode."

    scripts/bootstrap.ps1, line 113

    Write-Host "Created Docker .env with generated secrets: $envPath"

    scripts/bootstrap.sh, line 114

    local env_path="$REPO_ROOT/.env"

    scripts/bootstrap.sh, line 116

    echo "Using existing .env: $env_path"

    scripts/doctor.mjs, line 72

    if (process.env.DB_HOST && process.env.DB_USER && process.env.DB_PASSWORD) {

    scripts/doctor.mjs, line 78

    password: process.env.DB_PASSWORD,

    scripts/doctor.mjs, line 89

    const apiKey = process.env.SCG_API_KEYS || crypto.randomBytes(32).toString("hex")

    scripts/doctor.mjs, line 90

    const adminApiKey = process.env.SCG_ADMIN_API_KEYS || crypto.randomBytes(32).toString("hex")

    scripts/run-real-db-tests.mjs, line 35

    password: process.env.DB_PASSWORD || "",

    scripts/setup.mjs, line 84

    password: process.env.DB_PASSWORD,

  • 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

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

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