MCP, MCP server
codeindex
codeindex, an MCP server listed in the PlugVet directory.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
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 INSTALL_DOCUMENTED_INSTALLER SECRETS_ENV_READ
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
npm/bin/resolve.js, line 153
fs.unlinkSync(tmp); - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
install.sh, line 10
# pipefail is not in POSIX. Where the shell has it, take it - a failing curl in - SECRETS_PATH_DOTENV Low
Mentions a .env file.
plugin/hooks/testdata/commands.tsv, line 41
grep -rn DATABASE_URL .env none - INSTALL_DOCUMENTED_INSTALLER Note
Documentation shows an installer that pipes a download into a shell.
README.md, line 58
curl -fsSL https://raw.githubusercontent.com/munhq/codeindex/main/install.sh | sh - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
npm/publish-smithery.mjs, line 49
const key = process.env.SMITHERY_API_KEY;
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
npm/bin/resolve.js, line 153
fs.unlinkSync(tmp);
plugin/validate_skill.py, line 19
self.p = subprocess.Popen(
zig/scripts/dashboard.py, line 32
p = subprocess.Popen([BIN, "--mcp", "--workspace", WS], stdin=subprocess.PIPE,
Show more
zig/scripts/dashboard.py, line 72
for ln in subprocess.run(["git", "-C", WS, "log", "--format=", "--name-only"], capture_output=True, text=True, timeout=90).stdout.splitlines():
zig/scripts/dashboard.py, line 81
log = subprocess.run(["git", "-C", WS, "log", "--format=%H%x00%B%x00END%x00"], capture_output=True, text=True, timeout=120).stdout
zig/scripts/dashboard.py, line 92
for f in subprocess.run(["git", "-C", WS, "show", "--format=", "--name-only", h], capture_output=True, text=True, timeout=20).stdout.splitlines():
zig/scripts/dashboard.py, line 253
os.remove(DB)
zig/scripts/graph.py, line 16
p = subprocess.Popen([BIN,"--mcp","--workspace",ws],stdin=subprocess.PIPE,
zig/src/analysis/security_scan.zig, line 59
.{ .pattern = "subprocess.call(", .name = "command_injection", .severity = .high },
zig/src/analysis/spawn_scan.zig, line 845
.{ .text = "child_process.spawn(", .languages = &web_langs },
Install and update
Note
README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell.
INSTALL_DOCUMENTED_INSTALLER
README.md, line 58
curl -fsSL https://raw.githubusercontent.com/munhq/codeindex/main/install.sh | sh
llms.txt, line 29
curl -fsSL https://raw.githubusercontent.com/munhq/codeindex/main/install.sh | sh
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
install.sh, line 10
# pipefail is not in POSIX. Where the shell has it, take it - a failing curl in
install.sh, line 196
# curl first, gh second. The releases are public, so curl needs no credentials,
install.sh, line 197
# and the README tells people to pipe this script through curl - so curl is the
Show more
install.sh, line 201
if [ -n "$ARTIFACT" ] && command -v curl >/dev/null 2>&1 &&
install.sh, line 202
curl -fsSL -o "$DL_TMP" \
install.sh, line 276
elif ! command -v curl >/dev/null 2>&1; then
install.sh, line 284
if curl -fsSL -o "$STAGE/$name/SKILL.md" \
npm/publish-smithery.mjs, line 112
const res = await fetch(url, { method: 'PUT', headers: { authorization: `Bearer ${key}` }, body: form });
plugin/hooks/session-brief.sh, line 73
ugin (its skills come with install.sh): curl -fsSL https://raw.githubusercontent.com/
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
npm/publish-smithery.mjs, line 49
const key = process.env.SMITHERY_API_KEY;
plugin/measure_routing.py, line 57
r"\.ini$|\.env|\.csv$|\.tsv$|\.txt$|\.md$|\.pem$|\.sum$"
plugin/hooks/testdata/commands.tsv, line 41
grep -rn DATABASE_URL .env none
Show more
plugin/hooks/first-read-hint.sh, line 57
\|\.jsonl$\|\.ya\?ml$\|\.toml$\|\.ini$\|\.env\|\.csv$\|\.tsv$\|\.txt$\|\.md$\|\.pem$\
zig/src/analysis/security_scan.zig, line 159
/// `.env` files and config.
zig/src/core/filter.zig, line 102
!std.mem.eql(u8, component, ".env") and
zig/src/core/filter.zig, line 103
!std.mem.eql(u8, component, ".env.example"))
zig/src/core/models.zig, line 63
// .env, .env.local, .env.production … - KEY=value, parse as INI so they
zig/src/core/models.zig, line 65
if (std.mem.eql(u8, basename, ".env") or std.mem.startsWith(u8, basename, ".env.")) return .ini;
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 67c4c4845303. can delete files. 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.
Date and source
Date checked:
github.com
Commit graded: 67c4c4845303b5a29a4d83131f8bf99344ec1d99
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.