MCP, MCP server
Apprentice
Apprentice 0.3 now uses OpenCode for terminal chat, the VS Code panel, and MCP assign; Aider is legacy-only.
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 SECRETS_ENV_READ
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
src/agent.py, line 30
proc = subprocess.run(cmd, cwd=cwd, timeout=timeout, capture_output=True, - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
src/chat_providers.py, line 117
with urllib.request.urlopen(req, timeout=timeout_s) as resp: - SECRETS_PATH_DOTENV Low
Mentions a .env file.
.gitignore, line 11
.env - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
src/chat_providers.py, line 439
if creds and not os.environ.get("GOOGLE_APPLICATION_CREDENTIALS"):
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
src/agent.py, line 30
proc = subprocess.run(cmd, cwd=cwd, timeout=timeout, capture_output=True,
src/agent.py, line 90
shutil.rmtree(wt, ignore_errors=True)
src/chat_ui.py, line 253
r = subprocess.run(["git", "-C", repo, "status", "--porcelain"],
Show more
src/deliver.py, line 110
def _kill_process_tree(proc: "subprocess.Popen[str]") -> None:
src/deliver.py, line 124
subprocess.run(["taskkill", "/F", "/T", "/PID", str(proc.pid)],
src/deliver.py, line 174
proc = subprocess.Popen(argv, cwd=repo, stdin=subprocess.DEVNULL,
src/gate.py, line 87
proc = subprocess.run(
src/host_verify.py, line 52
out = subprocess.run(
src/host_verify.py, line 69
proc = subprocess.run(cmd, capture_output=True, text=True,
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.
NETWORK_NO_FIXED_HOST
src/chat_providers.py, line 117
with urllib.request.urlopen(req, timeout=timeout_s) as resp:
src/cli.py, line 55
with urllib.request.urlopen(f"{base_url}/models", timeout=5) as resp:
src/opencode_client.py, line 53
with urllib.request.urlopen(req, timeout=timeout) as response:
Show more
src/opencode_client.py, line 111
with urllib.request.urlopen(req, timeout=45) as stream:
src/opencode_guardrails.mjs, line 5
const response = await fetch(process.env.APPRENTICE_BUDGET_URL, {
src/providers.py, line 65
with urllib.request.urlopen(req, timeout=timeout_s) as resp:
src/retrieval.py, line 47
with urllib.request.urlopen(req, timeout=60) as resp:
src/thinking.py, line 104
with urllib.request.urlopen(request, timeout=timeout_s) as response:
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
src/chat_providers.py, line 439
if creds and not os.environ.get("GOOGLE_APPLICATION_CREDENTIALS"):
src/opencode_config.py, line 100
permission = {"*": "deny", "read": {"*": "allow", "*.env": "deny", "*.env.*": "deny"}, "glob": "allow", "grep": "allow",
.gitignore, line 11
.env
Show more
src/opencode_guardrails.mjs, line 6
headers: { authorization: `Bearer ${process.env.APPRENTICE_BUDGET_TOKEN}` },
src/providers.py, line 193
if creds_file and not os.environ.get("GOOGLE_APPLICATION_CREDENTIALS"):
.gitignore, line 10
*-service-account*.json
CHANGELOG.md, line 301
`.env*`), private data (`corrections/*.jsonl`, `outputs/`, `metrics/`), and large/local assets
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 62f7fe32e539. can delete files. 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: 62f7fe32e539beb316a00e0deccef0b5eff584a4
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.