MCP, MCP server
Homelab Mcp
Homelab Mcp, 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 NETWORK_UNNAMED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
scripts/install-guardian-web-search.py, line 38
subprocess.run(["useradd", "--system", "--user-group", "--no-create-home", "--home-dir", "/nonexistent", "--shell", "/usr/sbin/nologin", "homelab-web"], check=True) - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
scripts/media-health.py, line 33
def fetch(url: str, api_key: str | None = None): - NETWORK_UNNAMED_HOST Low
Calls a fixed host that the description does not name.
scripts/media-health.py, line 33
def fetch(url: str, api_key: str | None = None): - SECRETS_PATH_DOTENV Low
Mentions a .env file.
scripts/install-guardian-web-search.py, line 24
credential = dotenv_values(home / ".env").get("DEEPSEEK_API_KEY") - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
src/adguard.ts, line 32
const pass = process.env.ADGUARD_PASSWORD;
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
scripts/install-guardian-web-search.py, line 38
subprocess.run(["useradd", "--system", "--user-group", "--no-create-home", "--home-dir", "/nonexistent", "--shell", "/usr/sbin/nologin", "homelab-web"], check=True)
src/guardian-host.ts, line 8
p = subprocess.run(args, capture_output=True, text=True, timeout=25)
src/shell-approvals.ts, line 64
} finally {await fs.unlink(temp).catch(()=>{});await release();}
Show more
src/shell-policy.ts, line 131
inventory = json.loads(subprocess.check_output(["/usr/bin/pvesh", "get", "/cluster/resources", "--output-format", "json"], timeout=15))
src/shell-policy.ts, line 132
node = subprocess.check_output(["/bin/hostname"], text=True, timeout=5).strip()
src/shell-policy.ts, line 138
p = subprocess.Popen(argv, stdin=subprocess.DEVNULL, stdout=
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.deepseek.com. The description does not name that host.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
scripts/media-health.py, line 33
def fetch(url: str, api_key: str | None = None):
scripts/media-health.py, line 36
with urllib.request.urlopen(req, timeout=10) as response:
scripts/media-health.py, line 56
sab_queue = fetch(
Show more
scripts/media-health.py, line 74
health = fetch(
scripts/media-health.py, line 77
indexers = fetch(
scripts/media-health.py, line 92
status = fetch(
scripts/media-health.py, line 95
counts = fetch(
src/infrastructure.ts, line 81
const response = await axios.get(`${grafanaUrl.replace(/\/$/, "")}/api/pr
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
scripts/install-guardian-web-search.py, line 24
credential = dotenv_values(home / ".env").get("DEEPSEEK_API_KEY")
scripts/install-guardian-web-search.py, line 54
temporary = env_path.with_suffix(".env.web-tmp")
src/adguard.ts, line 32
const pass = process.env.ADGUARD_PASSWORD;
Show more
scripts/media-health.py, line 5
Reads the media stack's .env for API keys and queries SABnzbd, Prowlarr,
scripts/media-health.py, line 9
MEDIA_ENV_PATH - path to the media stack .env file (default: /opt/media/.env)
scripts/new-module.js, line 69
if (!url || !key) throw new Error("Missing ${envBase}_URL or ${envBase}_API_KEY in .env");
scripts/new-module.js, line 198
1. Add env vars to .env and .env.example:
scripts/precommit.js, line 16
// 1. Block .env from being committed
scripts/precommit.js, line 19
if (staged.includes(".env")) {
src/arr.ts, line 86
const key = process.env.RADARR_API_KEY;
src/arr.ts, line 93
const key = process.env.SONARR_API_KEY;
src/bazarr.ts, line 51
const key = process.env.BAZARR_API_KEY;
src/grafana.ts, line 130
const token = process.env.GRAFANA_TOKEN;
src/guardian-host.ts, line 95
const key = process.env.GUARDIAN_SSH_KEY;
src/infrastructure.ts, line 35
const grafanaToken = process.env.GRAFANA_TOKEN;
src/media.ts, line 36
if (process.env.BAZARR_URL && process.env.BAZARR_API_KEY) modules.push(bazarrModule(createBazarrClient()));
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 12c16daba39b. can delete files. can reach a host that is not written as a fixed address. can reach api.deepseek.com. The description does not name that host. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: 12c16daba39ba233923aa776c885fbdc2a2e3afd
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.