MCP, MCP server
Rag Kb
Rag Kb, 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 INSTALL_UNPINNED NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
kb/cli.py, line 921
shutil.rmtree(tmp_dir, ignore_errors=True) - INSTALL_UNPINNED Low
Dependencies use a range or git URL with no lockfile.
requirements.txt, line 19
fastapi>=0.110,<1.0 - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
kb/discovery.py, line 72
with urllib.request.urlopen( - SECRETS_PATH_DOTENV Low
Mentions a .env file.
kb/cli.py, line 309
此时静默回退 cpu,用户之后可在 .env 显式设 KB_DEVICE=cuda。
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
kb/cli.py, line 921
shutil.rmtree(tmp_dir, ignore_errors=True)
kb/discovery.py, line 270
proc = subprocess.run(cmd, capture_output=True, text=True,
skills/kb-memory/bootstrap.py, line 151
runner = runner or subprocess.run
Show more
skills/kb-memory/bootstrap.py, line 152
popen = popen or subprocess.Popen
skills/kb-memory/bootstrap.py, line 236
popen = popen or subprocess.Popen
Install and update
Concern
dependencies are not pinned.
INSTALL_UNPINNED
requirements.txt, line 19
fastapi>=0.110,<1.0
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
kb/discovery.py, line 72
with urllib.request.urlopen(
scripts/linux/install_kb_service.sh, line 138
[ "$NOSTART" -eq 0 ] && log " Next : curl http://127.0.0.1:8000/api/v1/healthz"
skills/kb-memory/bootstrap.py, line 56
with urllib.request.urlopen(
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
kb/cli.py, line 309
此时静默回退 cpu,用户之后可在 .env 显式设 KB_DEVICE=cuda。
kb/cli.py, line 552
console.print(f"配置指引:在 .env 设 KB_LLM_MODE=local 并配置 KB_LLM_MODEL=(先用 "
kb/cli.py, line 906
# 显式关闭治理与审计,避免用户 .env 里的 dedup/decay/freshness 干扰
Show more
kb/config.py, line 1
"""全局配置:环境变量前缀 KB_,支持 .env 文件。"""
kb/config.py, line 9
"""全部配置;环境变量前缀 KB_,支持 .env 文件。"""
kb/config.py, line 12
env_prefix="KB_", env_file=".env", extra="ignore"
kb/i18n.py, line 124
"zh": "未检测到可用的 LLM:请在 .env 配置 KB_LLM_MODE=local(Ollama)或 KB_LLM_API_KEY 启用云端(任意 OpenAI 兼容服务商)",
kb/i18n.py, line 125
"en": "no LLM available: configure KB_LLM_MODE=local (Ollama) or KB_LLM_API_KEY in .env for a cloud provider (any OpenAI-compatible endpoint)",
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 065c819c0e26. can delete files. dependencies are not pinned. 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: 065c819c0e26bc46965b32f92ade4a78a2c6b19d
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.