Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Kb Graph

One coding agent learns.

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.

NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ

Why this grade

  • NETWORK_NO_FIXED_HOST Low

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

    bin/post-sync.sh, line 14 curl -s -c "$COOKIE_JAR" "http://localhost:${KB_PORT}/api/login" \

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    bin/cron-capture.sh, line 9 # Load .env

  • SECRETS_ENV_READ Note

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

    src/auth-oauth.js, line 11 secret: process.env.BETTER_AUTH_SECRET,

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

    Pass

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

  • 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

    bin/post-sync.sh, line 14

    curl -s -c "$COOKIE_JAR" "http://localhost:${KB_PORT}/api/login" \

    bin/post-sync.sh, line 26

    RESULT=$(curl -s -X POST "http://localhost:${KB_PORT}/api/vault/reindex" \

    scripts/smoke-tarball.sh, line 164

    const response = await fetch(`http://127.0.0.1:${process.env.KB_SMOKE_PORT}/openapi.json`);

    Show more

    src/public/app.js, line 7

    const res = await fetch('/api/auth/check');

    src/public/app.js, line 32

    const res = await fetch('/api/login', {

    src/public/app.js, line 66

    await fetch('/api/logout', { method: 'POST' });

    src/public/app.js, line 91

    const res = await fetch('/api/documents', { method: 'POST', body: formData });

    src/public/app.js, line 117

    const res = await fetch('/api/ingest-directory', {

    src/public/app.js, line 160

    const res = await fetch('/api/documents?' + params);

    src/public/app.js, line 245

    const res = await fetch('/api/documents/' + id);

    src/public/app.js, line 269

    await fetch('/api/documents/' + currentDocId, {

    EXTENDING.md, line 274

    const response = await fetch('http://localhost:11434/api/generate', {

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    bin/cron-capture.sh, line 9

    # Load .env

    bin/cron-capture.sh, line 10

    if [ -f "$KB_DIR/.env" ]; then

    src/auth-oauth.js, line 11

    secret: process.env.BETTER_AUTH_SECRET,

    Show more

    bin/cron-capture.sh, line 11

    set -a; source "$KB_DIR/.env"; set +a

    bin/kb-trigger-hook.js, line 12

    // bootstrap on its own, including durable KB_DIR/.env with a checkout .env

    bin/weekly-synthesis.sh, line 6

    if [ -f "$KB_DIR/.env" ]; then set -a; source "$KB_DIR/.env"; set +a; fi

    scripts/smoke-source.sh, line 46

    "$KB_DIR/.env" \

    scripts/smoke-source.sh, line 105

    assert.equal(claudeConfig.mcpServers['knowledge-base'].env.KB_DIR, kbDir);

    scripts/smoke-tarball.sh, line 74

    node --input-type=module - "$TMP/state/.env" "$TMP/secrets.json" <<'NODE'

    src/auth.js, line 48

    if (!hasPassword() && process.env.KB_PASSWORD) {

    src/auth.js, line 49

    setPassword(process.env.KB_PASSWORD);

    src/claude-cli.js, line 18

    const THINKING_BUDGET = process.env.MAX_THINKING_TOKENS || '4096';

    src/server.js, line 48

    if (process.env.KB_PASSWORD && !hasPassword()) {

    src/server.js, line 49

    setPassword(process.env.KB_PASSWORD);

    src/middleware/api-key.js, line 6

    if (process.env.KB_API_KEY_CLAUDE) keyMap[process.env.KB_API_KEY_CLAUDE] = 'claude';

    src/middleware/api-key.js, line 7

    if (process.env.KB_API_KEY_OPENAI) keyMap[process.env.KB_API_KEY_OPENAI] = 'openai';

  • 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 242e8f047e36. can reach a host that is not written as a fixed address. reads a credential or environment file.

Date and source

Date checked:

View source

github.com

Commit graded: 242e8f047e36926d56275a4078abb97aef918ff0

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