MCP, MCP server
Haldir
Haldir, an MCP server listed in the PlugVet directory.
Compatibility: Not stated.
Grade C
One Medium finding. Read the findings before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit a8235e3cf0a6, unchanged since the check below.
NETWORK_HOST_FROM_INPUT
Why this grade
- NETWORK_HOST_FROM_INPUT Medium
A file takes a URL or endpoint as input and has no fixed host list.
cli.py, line 171
resp = httpx.request(
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
Concern
can delete files.
PERMISSION_DELETE_FILES
build_demo.py, line 88
r = subprocess.run(args, cwd=ROOT)
build_demo.py, line 106
shutil.rmtree(p, ignore_errors=True)
build_demo.py, line 108
os.remove(p)
Show more
cli.py, line 1519
if subprocess.run(["git", "clone", "--depth", "1",
cli.py, line 1607
r = subprocess.run(["docker", "compose", "down"])
cli.py, line 1612
subprocess.run(["docker", "compose", "down", "-v"])
cli.py, line 1616
r = subprocess.run(["docker", "compose", "up", "--build"])
cli.py, line 1619
r = subprocess.run(["docker", "compose", "up", "-d", "--build"])
demo_quickstart.py, line 99
return subprocess.run(
demo_quickstart.py, line 167
r = subprocess.run(
demo_quickstart.py, line 269
shutil.rmtree(data_dir, ignore_errors=True)
demo_quickstart.py, line 442
shutil.rmtree(venv_dir, ignore_errors=True)
haldir_probes.py, line 336
shutil.rmtree(data_dir, ignore_errors=True)
haldir_probes.py, line 348
shutil.rmtree(data_dir, ignore_errors=True)
haldir_probes.py, line 362
shutil.rmtree(os.path.dirname(db_path), ignore_errors=True)
Install and update
Concern
dependencies are not pinned. The docs document an installer that pipes a download into a shell.
INSTALL_UNPINNED INSTALL_DOCUMENTED_INSTALLER
DEMO.md, line 23
curl -fsSL https://raw.githubusercontent.com/ExposureGuard/haldir/main/install.sh | sh
install.sh, line 4
# curl -fsSL https://raw.githubusercontent.com/ExposureGuard/haldir/main/install.sh | sh
requirements.txt, line 14
flask>=3.0.0,<4.0.0
Show more
quickstart.html, line 82
<p style="font-size:0.75rem;margin-bottom:0">Install it with <code style="font-family:'IBM Plex Mono',monospace;color:#b8973a">pip install haldir</code>, or the one-liner that does
Network
Serious
accepts a host from input, with no fixed list in this file.
NETWORK_HOST_FROM_INPUT
cli.py, line 171
resp = httpx.request(
cli.py, line 405
r = httpx.delete(url, headers=client._headers(), timeout=10.0)
cli.py, line 1082
r = httpx.get(
Show more
cli.py, line 1360
r = httpx.delete(url, headers=client._headers(), timeout=10.0)
cli.py, line 1383
resp = httpx.get(url, params=params,
cli.py, line 1626
print(" Check health: curl http://localhost:8000/healthz")
cli.py, line 1759
print(f" curl -s -X POST {base_url}/v1/keys \\")
dashboard.js, line 84
return fetch(r).then(function (resp) {
demo_quickstart.py, line 197
with urllib.request.urlopen(url + "/healthz", timeout=2):
demo_quickstart.py, line 249
with urllib.request.urlopen(req, timeout=10) as r:
haldir_watch/webhooks.py, line 434
with urllib.request.urlopen(req, timeout=10) as resp: # nosec B310
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
cli.py, line 66
key = os.environ.get("HALDIR_API_KEY", "")
cli.py, line 1496
env_path = target / ".env"
cli.py, line 1500
error(f".env already exists at {env_path}. Use --force to overwrite.")
Show more
cli.py, line 1670
if not os.environ.get("HALDIR_ENCRYPTION_KEY"):
cli.py, line 2229
p_init = sub.add_parser("init", help="Scaffold a new self-host project (.env + docker-compose.yml)")
cli.py, line 2231
p_init.add_argument("--force", action="store_true", help="Overwrite existing .env")
haldir_audit_tree.py, line 113
os.environ.get("HALDIR_TREE_SIGNING_KEY_ED25519")
haldir_audit_tree.py, line 114
or os.environ.get("HALDIR_TREE_SIGNING_KEY_ED25519_SEED")
haldir_compliance.py, line 305
"key_configured": bool(os.environ.get("HALDIR_ENCRYPTION_KEY")),
haldir_compliance_score.py, line 154
if os.environ.get("HALDIR_ENCRYPTION_KEY"):
haldir_email.py, line 160
password = os.environ.get("HALDIR_SMTP_PASSWORD", "")
haldir_health.py, line 174
has_key = bool(os.environ.get("HALDIR_ENCRYPTION_KEY"))
haldir_vault/vault.py, line 259
"""Return the current key in base64url form (for persisting to .env)."""
.dockerignore, line 16
# ── Local credentials / env ─────────────────────────────────────────
.dockerignore, line 17
.env
.env.example, line 4
# Copy this file to .env and fill in the required values:
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
api.py, 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 a8235e3cf0a6. can delete files. dependencies are not pinned. The docs document an installer that pipes a download into a shell. accepts a host from input, with no fixed list in this file. 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: a8235e3cf0a6a4a2737ab89cd754fe119bb28666
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.