MCP, MCP server
kodit
kodit, an MCP server listed in the PlugVet directory.
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.
INSTALL_REMOTE_SCRIPT SECRETS_PATH_CREDENTIAL
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).
.github/workflows/helm.yaml, line 30
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash - SECRETS_PATH_CREDENTIAL Medium
Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).
application/service/blob_test.go, line 310
{input: "/root/.ssh/id_rsa", wantErr: true},
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
Note
requests shell access. The manifest names this permission.
PERMISSION_SHELL_DECLARED
kodit_integration_test.go, line 57
cmd := exec.Command("git", "init")
kodit_integration_test.go, line 63
cmd = exec.Command("git", "config", "user.email", "[email protected]")
kodit_integration_test.go, line 68
cmd = exec.Command("git", "config", "user.name", "Test User")
Show more
kodit_integration_test.go, line 116
cmd = exec.Command("git", "add", "-A")
kodit_integration_test.go, line 121
cmd = exec.Command("git", "commit", "-m", "Initial commit with Go and Python files")
kodit_integration_test.go, line 464
cmd := exec.Command("git", "branch", "--show-current")
kodit_integration_test.go, line 711
cmd := exec.Command(args[0], args[1:]...)
cmd/download-model/main.go, line 66
cmd := exec.Command("uv", "run", tmp.Name(), dest)
Install and update
Serious
install fetches a script from the network.
INSTALL_REMOTE_SCRIPT
.github/workflows/helm.yaml, line 30
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
.github/workflows/helm.yaml, line 82
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
scripts/index-repo.sh, line 80
if curl -sf "$KODIT_API/repositories" >/dev/null 2>&1; then
scripts/index-repo.sh, line 96
RESPONSE=$(curl -sf \
scripts/index-repo.sh, line 116
STATUS_JSON=$(curl -sf "$KODIT_API/repositories/$REPO_ID/status/summary")
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV
kodit.go, line 10
// kodit.WithOpenAI(os.Getenv("OPENAI_API_KEY")),
kodit.go, line 49
// kodit.WithOpenAI(os.Getenv("OPENAI_API_KEY")),
application/service/blob_test.go, line 310
{input: "/root/.ssh/id_rsa", wantErr: true},
Show more
cmd/kodit/main.go, line 48
// loadConfig loads configuration from .env file and environment variables.
cmd/kodit/serve.go, line 35
2. .env file (if --env-file specified or .env exists in current directory)
cmd/kodit/serve.go, line 72
cmd.Flags().StringVar(&envFile, "env-file", "", "Path to .env file (default: .env in current directory)")
internal/config/compat.go, line 40
log.Warn().Str("original", raw).Str("normalized", scheme+rest).Msg("deprecated: DB_URL contains a SQLAlchemy driver suffix - please update your .env to use the plain scheme")
internal/config/compat.go, line 51
log.Warn().Str("original", raw).Str("normalized", normalized).Msg("deprecated: model name contains a litellm provider prefix - please update your .env to use the bare model name")
internal/config/compat.go, line 60
// so users know to update their .env files.
internal/config/dotenv.go, line 9
// LoadDotEnv loads environment variables from a .env file.
internal/config/env_test.go, line 357
assert.Equal(t, "key1,key2", os.Getenv("API_KEYS"))
internal/config/env_test.go, line 419
assert.Equal(t, "value1", os.Getenv("KEY1"))
internal/config/env_test.go, line 420
assert.Equal(t, "value2", os.Getenv("KEY2")) // First file wins
internal/config/env_test.go, line 421
assert.Equal(t, "value3", os.Getenv("KEY3"))
internal/config/env_test.go, line 443
assert.Equal(t, "value1", os.Getenv("KEY1"))
internal/config/env_test.go, line 444
assert.Equal(t, "override", os.Getenv("KEY2")) // Second file wins with Overload
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
clients/go/client.gen.go, line 1
// Package kodit provides primitives to interact with the openapi HTTP API.
test/benchmark/uv.lock, line 1
version = 1
test/benchmark/data/swebench-lite.json, line 1
{
Show more
test/benchmark/data/swebench-verified.json, line 1
{
test/smoke/testdata/kodit_dump.sql, 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 eb826e6fa527. requests shell access. The manifest names this permission. install fetches a script from the network. 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:
github.com
Commit graded: eb826e6fa527d9c9c8bbb977fc2a849aefc3dd31
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.