MCP, MCP server
repocode
RepoCode builds the smallest useful codebase context for a task — for AI coding agents and LLMs.
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 NETWORK_UNNAMED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
packages/bench/src/git.ts, line 38
fs.rmSync(path.join(repoDir, artifact), { recursive: true, force: true }); - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
packages/bench/src/dataset.ts, line 43
const res = await fetch(datasetRowsUrl(dataset, offset, chunk)); - NETWORK_UNNAMED_HOST Low
Calls a fixed host that the description does not name.
packages/bench/src/dataset.ts, line 43
const res = await fetch(datasetRowsUrl(dataset, offset, chunk)); - SECRETS_PATH_DOTENV Low
Mentions a .env file.
packages/core/src/ranking/signals.ts, line 31
const EXT_TIER3 = new Set(['.json', '.yaml', '.yml', '.toml', '.sql', '.env']); - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
packages/cli/src/cli.ts, line 206
token: opts.remoteToken ?? process.env.GITHUB_TOKEN,
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
packages/bench/src/git.ts, line 38
fs.rmSync(path.join(repoDir, artifact), { recursive: true, force: true });
packages/bench/src/git.ts, line 52
fs.rmSync(repoDir, { recursive: true, force: true });
packages/bench/src/git.ts, line 111
fs.unlinkSync(tarPath);
Show more
packages/bench/src/git.ts, line 125
fs.rmSync(repoDir, { recursive: true, force: true });
packages/bench/src/git.ts, line 126
if (fs.existsSync(tarPath)) fs.unlinkSync(tarPath);
packages/bench/src/arms/repomix.ts, line 124
fs.rmSync(outDir, { recursive: true, force: true });
packages/core/src/utils/atomicWrite.ts, line 10
try { fs.unlinkSync(tmp); } catch { /* best-effort cleanup */ }
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. can reach api.anthropic.com. The description does not name that host. can reach api.openai.com. The description does not name that host.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
packages/bench/src/dataset.ts, line 43
const res = await fetch(datasetRowsUrl(dataset, offset, chunk));
packages/core/src/compression/providers/anthropic.ts, line 12
const res = await fetch('https://api.anthropic.com/v1/messages', {
packages/core/src/compression/providers/custom.ts, line 13
const res = await fetch(`${this.endpoint}/chat/completions`, {
Show more
packages/core/src/compression/providers/ollama.ts, line 15
const res = await fetch(`${this.baseUrl}/api/tags`, { signal: AbortSignal.timeout(2000) });
packages/core/src/compression/providers/ollama.ts, line 20
const res = await fetch(`${this.baseUrl}/api/chat`, {
packages/core/src/compression/providers/ollama.ts, line 40
const res = await fetch(`${this.baseUrl}/api/embeddings`, {
packages/core/src/compression/providers/openai.ts, line 12
const res = await fetch('https://api.openai.com/v1/chat/completions', {
packages/core/src/compression/providers/openai.ts, line 30
const res = await fetch('https://api.openai.com/v1/embeddings', {
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
packages/cli/src/cli.ts, line 206
token: opts.remoteToken ?? process.env.GITHUB_TOKEN,
packages/core/src/compression/providers/factory.ts, line 19
if (pref === 'openai' || (!pref && process.env.OPENAI_API_KEY?.trim())) {
packages/core/src/ranking/signals.ts, line 31
const EXT_TIER3 = new Set(['.json', '.yaml', '.yml', '.toml', '.sql', '.env']);
Show more
packages/core/src/compression/providers/factory.ts, line 20
const key = process.env.OPENAI_API_KEY?.trim();
packages/core/src/compression/providers/factory.ts, line 26
if (pref === 'anthropic' || (!pref && process.env.ANTHROPIC_API_KEY?.trim())) {
packages/core/src/compression/providers/factory.ts, line 27
const key = process.env.ANTHROPIC_API_KEY?.trim();
packages/core/src/compression/providers/factory.ts, line 47
const apiKey = process.env.REPOCODE_LLM_KEY?.trim() ?? '';
.gitignore, line 28
# env / secrets
.gitignore, line 29
.env
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 c3e222168b49. can delete files. can reach a host that is not written as a fixed address. can reach api.anthropic.com. The description does not name that host. can reach api.openai.com. The description does not name that host. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: c3e222168b4959ca4101c5d9380f8347e5eb6aa7
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.