MCP, MCP server
Sift Mcp
Monorepo for all SIFT-side Valhuntir components.
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 c862aa8b19ae, unchanged since the check below.
INSTALL_REMOTE_SCRIPT
Why this grade
- INSTALL_REMOTE_SCRIPT Medium
Fetches a script from the network and runs it (a pipe to a shell, or an install hook with a URL).
quickstart-lite.sh, line 393
if ! curl -LsSf https://astral.sh/uv/install.sh | sh 2>/dev/null; then
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
setup-sift.sh, line 1958
result = subprocess.run(
setup-sift.sh, line 1971
result = subprocess.run(
deps/check-lock.py, line 205
check = subprocess.run(
Show more
deps/check-lock.py, line 219
subprocess.run(
deps/check-lock.py, line 240
out = subprocess.run(
deps/check-lock.py, line 291
check = subprocess.run(
packages/forensic-knowledge/src/forensic_knowledge/skills.py, line 115
shutil.rmtree(out_dir / name, ignore_errors=True)
packages/forensic-rag/src/rag_mcp/fs_safety.py, line 326
shutil.rmtree(resolved)
packages/forensic-rag/src/rag_mcp/sources.py, line 642
subprocess.run(
packages/forensic-rag/src/rag_mcp/scripts/download_index.py, line 48
result = subprocess.run(
packages/forensic-rag/src/rag_mcp/scripts/download_index.py, line 425
shutil.rmtree(temp_dir, ignore_errors=True)
packages/sift-common/src/sift_common/host_identity.py, line 1404
os.remove(tmp)
Install and update
Serious
install fetches a script from the network. The docs document an installer that pipes a download into a shell.
INSTALL_REMOTE_SCRIPT INSTALL_DOCUMENTED_INSTALLER
quickstart-lite.sh, line 393
if ! curl -LsSf https://astral.sh/uv/install.sh | sh 2>/dev/null; then
quickstart-lite.sh, line 394
fail "uv installation failed. Install manually: curl -LsSf https://astral.sh/uv/install.sh | sh"
quickstart-lite.sh, line 404
pdate it: uv self update (or reinstall: curl -LsSf https://astral.sh/uv/install.sh | sh)"
Show more
setup-sift.sh, line 1047
if ! curl -LsSf https://astral.sh/uv/install.sh | sh 2>/dev/null; then
setup-sift.sh, line 1049
echo " Install manually: curl -LsSf https://astral.sh/uv/install.sh | sh"
setup-sift.sh, line 1071
echo " Update it: uv self update (or reinstall: curl -LsSf https://astral.sh/uv/install.sh | sh)"
Network
Concern
can reach a host that is not written as a fixed address. can reach raw.githubusercontent.com. The description does not name that host.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
quickstart-lite.sh, line 280
# If run from a curl download, the repo must already be cloned
quickstart.sh, line 9
# curl -fsSL https://raw.githubusercontent.com/AppliedIR/sift-mcp/main/quickstart.sh -o /tmp/vhir-quickstart.sh && bash /tmp/vhir-quickstart.sh
quickstart.sh, line 16
curl -fsSL "https://raw.githubusercontent.com/AppliedIR/sift-mcp/main/setup-sift.sh" \
Show more
setup-sift.sh, line 539
# but warn if curl/wget are also missing (uv install needs one of them)
setup-sift.sh, line 540
if command -v curl &>/dev/null || command -v wget &>/dev/null; then
setup-sift.sh, line 543
err "Neither uv, python3-venv, curl, nor wget found"
setup-sift.sh, line 558
# curl (used for health checks and network test)
setup-sift.sh, line 559
if command -v curl &>/dev/null; then
setup-sift.sh, line 604
if curl -sf --max-time 10 "https://github.com" &>/dev/null; then
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
packages/forensic-rag/src/rag_mcp/sources.py, line 303
token = os.environ.get("GITHUB_TOKEN")
packages/forensic-rag/src/rag_mcp/scripts/download_index.py, line 45
token = os.environ.get("GITHUB_TOKEN")
packages/opencti/opencti_query.py, line 90
3. .env file in current working directory (OPENCTI_TOKEN or OPENCTI_ADMIN_TOKEN)
Show more
packages/opencti/opencti_query.py, line 96
token = os.getenv("OPENCTI_TOKEN")
packages/opencti/opencti_query.py, line 109
# 3. Try .env file in current working directory
packages/opencti/opencti_query.py, line 110
env_file = Path.cwd() / ".env"
packages/opencti/src/opencti_mcp/__main__.py, line 24
.env file (OPENCTI_TOKEN=...)
packages/opencti/src/opencti_mcp/config.py, line 227
3. .env file in working directory
packages/opencti/src/opencti_mcp/config.py, line 301
token = os.getenv("OPENCTI_TOKEN")
packages/opencti/src/opencti_mcp/config.py, line 327
# 4. .env file in current directory
packages/opencti/src/opencti_mcp/config.py, line 328
env_file = Path.cwd() / ".env"
packages/opencti/src/opencti_mcp/config.py, line 331
logger.debug("Loaded token from .env file")
packages/opencti/src/opencti_mcp/providers/misp.py, line 308
key = os.getenv("MISP_KEY", "").strip()
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. the file cap was reached before every file was read.
OBFUSCATION_FILE_OVER_READ_CAP OBFUSCATION_FILE_CAP_REACHED
deps/vhir-cpu.lock, line 1
# vhir dependency lock: generated by deps/regen-lock.sh; don't edit by hand.
deps/vhir.lock, line 1
# vhir dependency lock: generated by deps/regen-lock.sh; don't edit by hand.
packages/case-dashboard/src/case_dashboard/static/v2/index.html, line 1
<!DOCTYPE html>
Show more
packages/sift-mcp/src/sift_mcp/security.py, line 1
"""Security utilities - argument sanitization, binary validation, path validation."""
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 c862aa8b19ae. can delete files. install fetches a script from the network. The docs document an installer that pipes a download into a shell. can reach a host that is not written as a fixed address. can reach raw.githubusercontent.com. The description does not name that host. reads a credential or environment file. a file was over the read cap and was not fully read. the file cap was reached before every file was read.
Date and source
Date checked:
github.com
Commit graded: c862aa8b19aee9cf7ed3d7dd4d31b62c80f669ab
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.