rag-mcp-server@r1
CAUTION· install onlyPublisher claims: "Exposes a self-contained RAG retrieval pipeline as standard MCP tools, letting Claude Desktop, Cursor, or any MCP client run semantic search over a local knowledge base and fetch index statistics entirely offline without an external LLM. It also ships production hardening out of the box, including Bearer authentication, token-bucket rate limiting, health and Prometheus metrics endpoints, and prompt-injection defenses for retrieved content." In our sandbox: Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Coverage
Bundled scripts ran with no arguments; no agent task scenario for this bundle.- Tested
- 8 of 15 bundled scripts run with no arguments (the rest were not run: per-bundle cap), with decoy credentials in the environment · every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Behavior
In our sandbox run on 2026-11-18, rag-mcp-server@r1 read no files and called no hosts, and its code names 6 environment variables. Coverage: install only.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
RAG_MCP_AUTH_TOKEN, RAG_MCP_EMBEDDING_OFFLINE, RAG_MCP_KB_PATH, RAG_MCP_RATE_LIMIT_BURST, RAG_MCP_RATE_LIMIT_RPS, RAG_MCP_SANITIZE_RETRIEVED
Names only, read from the code. We never hold a value.
Tools offered
No tool list recorded.
Changes since the prior version
No prior version with a result to compare.
What we did not test
- use of the skill by an agent
| Run date | 2026-11-18 |
| Coverage | install only |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try rag-mcp-server |
| This record | behavior.json, behavior.md, signed attestation |
This is a record of what one version did in the runs we made. It is evidence, not a certificate.
Before you give it your token
- It will ask for
RAG_MCP_AUTH_TOKENConfiguration, not credentials: RAG_MCP_EMBEDDING_OFFLINE, RAG_MCP_KB_PATH, RAG_MCP_RATE_LIMIT_BURST, RAG_MCP_RATE_LIMIT_RPS, RAG_MCP_SANITIZE_RETRIEVED- Where it talks to
- no vendor host named in the codeAlso evil.example, attacker.example — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · no network
- What we could not test
- use of the skill by an agent
Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names evil.example, attacker.example as well as its own vendor. The guard injects RAG_MCP_AUTH_TOKEN only into requests to the host you bind (and its subdomains) and refuses the rest.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is rag-mcp-server@r1 safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-18 and scored it 76/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: OS command execution function call detected. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 16 s · 2 scenarios · 0 deviationsStatic findings
&& chown -R app:app /app /home/app/.cacheFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.os.system("chcp 65001 > nul") # 中文终端切 UTF-8,避免表格乱码Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."\u2028\u2029\u202a\u202b\u202c\u202d\u202e"Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.proc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.MCP server world-breaker/rag-mcp-server on Glama, built from https://github.com/world-breaker/rag-mcp-server.Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.&& rm -rf /var/lib/apt/lists/*Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.proc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.proc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.# rag-mcp-server 容器镜像(HTTP 形态)Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.print("rag-mcp-server · HTTP 安全能力演示(真起服务子进程 · 离线 · 零新依赖)")Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them."""MCPServer + HTTP 安全层。Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.self.proc = subprocess.Popen(cmd, **kwargs)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."\u2060\u2061\u2062\u2063\u2064\u2066\u2067\u2068\u2069"Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.description="rag-mcp-server HTTP 安全能力演示(真起服务子进程,逐条实测状态码)",Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.| `fake_role_tag` | high | 提示模板 / 工具协议的分隔符:`<system>`、`[INST]`、`<tool_call>`… |Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.| 伪角色标签 / HTML 注释 / CSS 隐藏 | **尖括号实体化**:`<system>` → `<system>`(破坏标签语法本身,任何按标签解析的上层都拿不到角色边界) |Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.| 2 | 英文指令注入(ignore previous instructions) | `instruction_override` | `instruction_override(h)` | ✅ | 1:`wrap:instruction_override` | ✅ |Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.| `fake_role_tag` | high | 提示模板 / 工具协议的分隔符:`<system>`、`[INST]`、`<tool_call>`… |Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.| 4 | 伪角色标签 `<system>`(提示模板分隔符) | `fake_role_tag`、`instruction_override` | `instruction_override(h)`、`fake_role_tag(h)` | ✅ | 2:`neutralize_role_tag`、`wrap:instruction_override` | ✅ |Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.| `fake_role_line` | high | 行首伪角色行 `system:` `assistant:` `[system]:`…(会让上层以为换了一轮「系统消息」) |Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
4 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- OS command execution function call detected≈ +9 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Unclaimed publisher≈ +8 on the totalClaim world-breaker: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
- Unicode escape sequence detected≈ +2 on the totalPut hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
- Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- MCP server using network transport (SSE/HTTP)≈ +2 on the totalNamespace tool names and keep tool descriptions literal; no instructions to the agent inside them.