MCP, MCP server
Codehelper
Local-first repo intelligence for AI coding assistants.
Compatibility: Not stated.
Grade D
Two or more Medium findings, or a High finding. Only try it in a sandbox.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit d8b774b0959b, unchanged since the check below.
PERMISSION_SHELL_UNDECLARED INSTALL_LIFECYCLE_HOOK
Why this grade
- PERMISSION_SHELL_UNDECLARED Medium
Runs shell commands that the manifest or description does not mention.
cmd/codehelper/update.go, line 145
build := exec.Command("go", args...) - INSTALL_LIFECYCLE_HOOK Medium
A package install hook (preinstall, install, postinstall or prepare) runs a script.
README.md, line 32
curl -fsSL https://raw.githubusercontent.com/VeyrForge/codehelper/main/scripts/install.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.
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.
PERMISSION_SHELL_UNDECLARED
cmd/codehelper/update.go, line 145
build := exec.Command("go", args...)
cmd/codehelper/update.go, line 213
build := exec.Command("go", margs...)
cmd/codehelper/update.go, line 392
ps := exec.Command("powershell", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "-File", script, "-RepoRoot", repoRoot)
Show more
cmd/codehelper/update.go, line 446
cmd := exec.Command(
cmd/codehelper/update.go, line 526
cmd := exec.Command("powershell", "-NoProfile", "-NonInteractive", "-Command", psScript)
cmd/codehelper/watch.go, line 205
cmd := exec.Command(exe, args...)
internal/freshness/worktree_test.go, line 27
cmd := exec.Command("cmd", "/c", "mklink", "/J", link, target)
internal/gitutil/diff.go, line 17
cmd := exec.Command("git", "-C", repoRoot, "diff", baseRef)
Install and update
Concern
runs a script at install time. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell.
INSTALL_LIFECYCLE_HOOK INSTALL_DOCUMENTED_INSTALLER
README.md, line 32
curl -fsSL https://raw.githubusercontent.com/VeyrForge/codehelper/main/scripts/install.sh | sh
RELEASE_NOTES.md, line 26
curl -fsSL https://raw.githubusercontent.com/VeyrForge/codehelper/main/scripts/install.sh | sh
docs/MCP_REGISTRY.md, line 81
curl -fsSL https://raw.githubusercontent.com/VeyrForge/codehelper/main/scripts/install.sh | sh
Show more
package.json, line 11
install
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
internal/connections/policy_test.go, line 53
// Unset project list still uses DefaultVerifyAllowlist - curl stays out.
internal/connections/policy_test.go, line 58
t.Fatalf("default cap must reject curl even with shell on: %v", narrow)
internal/parser/framework_detect_rules.go, line 494
(in.isJS && strings.Contains(in.body, "async fetch(") &&
Show more
testdata/minimal-testbeds/cloudflare-worker/src/index.ts, line 6
async fetch(_req: Request): Promise<Response> {
third_party/green-engine/runner/bench_mcp_stack.py, line 40
with urllib.request.urlopen(req, timeout=timeout) as r:
third_party/green-engine/runner/bench_mcp_stack.py, line 47
with urllib.request.urlopen(url, timeout=timeout) as r:
third_party/green-engine/runner/green_ui.py, line 485
with urllib.request.urlopen(req, timeout=timeout) as resp:
third_party/green-engine/runner/green_ui.py, line 496
with urllib.request.urlopen(req, timeout=0.8) as resp:
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
cmd/codehelper/serve.go, line 50
Token: strings.TrimSpace(os.Getenv("CODEHELPER_API_TOKEN")),
cmd/codehelper/upgrade.go, line 48
GitHubToken: os.Getenv("GITHUB_TOKEN"),
internal/agent/tools.go, line 177
dules/**`" + `, real secret files (` + "`.env`" + `, ` + "`.env.local`" + `, …; ` + "
Show more
internal/enrich/enrich.go, line 91
if k := os.Getenv("CODEHELPER_LLM_API_KEY"); k != "" {
internal/llm/userfile.go, line 97
APIKey: firstNonEmpty(os.Getenv("CODEHELPER_LLM_API_KEY"), os.Getenv("OPENAI_API_KEY")),
internal/mcpsvc/findings_mode.go, line 1755
, not a CVE). Prefer config/* cites over .env.example; confirm fail-open session/APP_
internal/mcpsvc/findings_mode_test.go, line 254
_ = os.WriteFile(filepath.Join(dir, ".env.example"), []byte("APP_DEBUG=true\n"), 0o644)
internal/mcpsvc/symbol_edit_tools.go, line 440
return mcp.NewToolResultError("writes are blocked for this path (.git, node_modules, or .env*)"), nil
internal/mcpsvc/workspace_tools.go, line 62
mcp.WithDescription("Replace a file under an indexed repo root (full content). Prefer apply_patch_workspace_file for edits to existing files. Empty content is refused by default (n
internal/mcpsvc/workspace_tools.go, line 305
return mcp.NewToolResultError("writes are blocked for this path (.git, node_modules, or .env*)"), nil
internal/mcpsvc/workspace_tools.go, line 442
return mcp.NewToolResultError("writes are blocked for this path (.git, node_modules, or .env*)"), nil
internal/mcpsvc/workspace_tools.go, line 608
return mcp.NewToolResultError("reverting this path is not allowed (.git, node_modules, or .env*)"), nil
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
internal/mcpsvc/toolcatalog.go, line 1
package mcpsvc
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 d8b774b0959b. requests shell access. No manifest field names shell or command execution. runs a script at install time. 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. reads a credential or environment file. the file cap was reached before every file was read.
Date and source
Date checked:
github.com
Commit graded: d8b774b0959b44cb1a5863448185de7211759db2
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.