Grades are a hygiene check, not a security guarantee.

MCP, MCP server

KRouter

Your agents remember what you decided and what you changed — from a folder of Markdown you own (open it in Obsidian if you like), with the source of every answer, and "not in the vault" instead of a guess.

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 INSTALL_UNPINNED NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST SECRETS_PATH_DOTENV INSTALL_DOCUMENTED_INSTALLER SECRETS_ENV_READ OBFUSCATION_FILE_CAP_REACHED

Why this grade

  • PERMISSION_DELETE_FILES Low

    Contains a call that can delete files.

    bench/longmemeval/lme.py, line 56 shutil.rmtree(vaults)

  • INSTALL_UNPINNED Low

    Dependencies use a range or git URL with no lockfile.

    README.md, line 21 curl -fsSL https://raw.githubusercontent.com/398894496-arch/KRouter/main/scripts/bootstrap.sh | sh

  • NETWORK_NO_FIXED_HOST Low

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

    bench/memory_honesty/adapters/claude_mem.py, line 50 with urllib.request.urlopen(url, timeout=120) as resp:

  • NETWORK_UNNAMED_HOST Low

    Calls a fixed host that the description does not name.

    bench/memory_honesty/adapters/claude_mem.py, line 50 with urllib.request.urlopen(url, timeout=120) as resp:

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    .gitignore, line 2 .env

  • INSTALL_DOCUMENTED_INSTALLER Note

    Documentation shows an installer that pipes a download into a shell.

    README.md, line 21 curl -fsSL https://raw.githubusercontent.com/398894496-arch/KRouter/main/scripts/bootstrap.sh | sh

  • SECRETS_ENV_READ Note

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

    bench/real_questions/classify_asks.py, line 74 headers={"Authorization": "Bearer " + os.environ.get("KROUTER_EVAL_KEY", ""),

  • OBFUSCATION_FILE_CAP_REACHED Note

    The 400 file cap was reached before every file was read.

    tests/test_unconfined_optin.py, line 1 """A CLI KRouter cannot confine is never picked on its own: only grok and claude are used without asking.

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

    bench/longmemeval/lme.py, line 56

    shutil.rmtree(vaults)

    bench/longmemeval/lme.py, line 102

    shutil.rmtree(cache / it["id"], ignore_errors=True)

    bench/memory_honesty/learn_bench.py, line 116

    subprocess.run([sys.executable, str(scripts / "route_knowledge.py"), args.route, p["q"]], env=env,

    Show more

    bench/memory_honesty/learn_bench.py, line 120

    night = subprocess.run([sys.executable, str(scripts / "reconsolidate.py"), "--vault", str(vault), "--since", "",

    bench/memory_honesty/learn_bench.py, line 146

    shutil.rmtree(tmp, ignore_errors=True)

    bench/memory_honesty/adapters/basic_memory.py, line 42

    out = subprocess.run(argv, capture_output=True, text=True, timeout=300).stdout

    bench/real_questions/classify_asks.py, line 54

    res = subprocess.run(argv, input=prompt, capture_output=True, text=True, timeout=1800, env=llm.cli_env())

    bench/real_questions/classify_asks.py, line 63

    res = subprocess.run(argv, capture_output=True, text=True, timeout=1800, stdin=subprocess.DEVNULL)

    bench/real_questions/extract_asks.py, line 127

    raw = subprocess.run(["zstd", "-dc", f], capture_output=True, timeout=120).stdout.decode("utf-8", "replace")

    bench/real_questions/judge_real.py, line 121

    arch = subprocess.run(["git", "-C", str(vault), "archive", commit], capture_output=True, check=True).stdout

    bench/real_questions/judge_real.py, line 122

    subprocess.run(["tar", "-x", "-C", str(dest)], input=arch, check=True)

    bench/real_questions/run_real.py, line 135

    shutil.rmtree(tmp, ignore_errors=True)

    scripts/bootstrap.py, line 204

    shutil.rmtree(skill)

  • Install and update

    Concern

    dependencies are not pinned. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell.

    INSTALL_UNPINNED INSTALL_DOCUMENTED_INSTALLER

    README.md, line 21

    curl -fsSL https://raw.githubusercontent.com/398894496-arch/KRouter/main/scripts/bootstrap.sh | sh

    README.zh.md, line 20

    curl -fsSL https://raw.githubusercontent.com/398894496-arch/KRouter/main/scripts/bootstrap.sh | sh

    docs/DETAILS.md, line 48

    curl -fsSL https://raw.githubusercontent.com/398894496-arch/KRouter/main/scripts/bootstrap.sh | sh

    Show more

    docs/DETAILS.zh.md, line 33

    curl -fsSL https://raw.githubusercontent.com/398894496-arch/KRouter/main/scripts/bootstrap.sh | sh

    scripts/bootstrap.sh, line 3

    # curl -fsSL https://raw.githubusercontent.com/398894496-arch/KRouter/main/scripts/bootstrap.sh | sh

    requirements.txt, line 1

    PyYAML>=6.0

  • Network

    Concern

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

    NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST

    bench/memory_honesty/adapters/claude_mem.py, line 50

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

    bench/real_questions/classify_asks.py, line 77

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

    extras/host-daily-evolution/api_writer.py, line 321

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

    Show more

    scripts/bootstrap.sh, line 27

    TAG=${KROUTER_TAG:-$(curl -fsSL "https://api.github.com/repos/$REPO/releases/latest" \

    scripts/bootstrap.sh, line 35

    if curl -fsSL "$BASE/SHA256SUMS" -o "$TMP/SHA256SUMS"; then

    scripts/bootstrap.sh, line 37

    if ! curl -fsSL "$BASE/dsh-krouter-$VER.tgz" -o "$TMP/pkg.tgz"; then

    scripts/bootstrap.sh, line 55

    curl -fsSL "https://github.com/$REPO/archive/refs/tags/$TAG.tar.gz" -o "$TMP/src.tar.gz"

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    bench/real_questions/classify_asks.py, line 74

    headers={"Authorization": "Bearer " + os.environ.get("KROUTER_EVAL_KEY", ""),

    extras/dsh/lib/index.js, line 24

    const path = process.env.KROUTER_KEYS_ENV || join(homedir(), ".dsh-krouter-keys.env");

    .gitignore, line 2

    .env

    Show more

    extras/host-daily-evolution/resolve.py, line 101

    raw = os.environ.get("KROUTER_KEYS_ENV", "").strip()

    scripts/bootstrap.py, line 524

    keys = os.environ.get("KROUTER_KEYS_ENV") or str(Path.home() / ".dsh-krouter-keys.env")

    skill/krouter-obsidian/scripts/llm.py, line 364

    return Path(os.environ.get("KROUTER_KEYS_ENV") or Path.home() / ".dsh-krouter-keys.env")

    .gitignore, line 1

    .DS_Store

    bench/memory_honesty/heldout.jsonl, line 2

    {"id": "H-A2", "kind": "correction", "q": "Can I commit a .env file with secrets?", "gold": "Engineering/Where secrets live.md", "stale": "Engineering/Where secrets live (old).md"}

    bench/memory_honesty/questions_dev2.jsonl, line 9

    {"id": "D2-C09", "kind": "correction", "q": "Can I put secrets in a .env file?", "gold": "Engineering/Where secrets live.md", "stale": "Engineering/Where secrets live (old).md"}

    bench/memory_honesty/vault/Engineering/Where secrets live (old).md, line 10

    Keep service secrets in a .env file in the repo, git-ignored.

    bench/memory_honesty/vault/Engineering/Where secrets live.md, line 10

    Keep service secrets in the cloud secret manager; no .env files in repos. Changed after a .env was committed by mistake. This replaces [[Where secrets live (old)]].

  • Agent instructions

    Pass

    No instruction to ignore earlier instructions or to hide a step.

  • Obfuscation

    Note

    the file cap was reached before every file was read.

    OBFUSCATION_FILE_CAP_REACHED

    tests/test_unconfined_optin.py, line 1

    """A CLI KRouter cannot confine is never picked on its own: only grok and claude are used without asking.

  • 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 e9346963eca8. can delete files. dependencies are not pinned. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell. can reach a host that is not written as a fixed address. can reach api.github.com. The description does not name that host. reads a credential or environment file. the file cap was reached before every file was read.

Date and source

Date checked:

View source

github.com

Commit graded: e9346963eca848a5012406ea5cb2f0cacc55fbb6

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