Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

rag-knowledge-assistant

v1.0.0

基于向量数据库的 RAG(检索增强生成) 知识库助手。支持语义检索、多格式文档 (PDF/Word/Excel/Markdown) 处理、智能问答。使用 Chroma 向量库 + BGE-M3 Embedding 模型。适用于从 knowledge 目录快速检索信息、回答基于文档的问题。触发词:"从知识库查"、"...

0· 52·0 current·0 all-time
byAI小兵哥@aixbinge
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
Name/description (RAG knowledge assistant) aligns with the included scripts: indexing, query, PDF/Docx/Markdown loaders, Chroma vectorstore and support for HuggingFace or Ollama embeddings. The functionality requested in files is coherent with the stated purpose.
Instruction Scope
SKILL.md and README instruct building an index from a local 'knowledge' directory and running local scripts — scope stays within the knowledge indexing/search domain. However the repository includes a PUSH_GUIDE that instructs pushing with a Personal Access Token embedded in the Git remote URL (git push https://YOUR_TOKEN@github.com/...), which is an insecure practice that can leak credentials (shell history, logs). Also some instructions implicitly require running a local Ollama service (http://localhost:11434) and downloading large HuggingFace models; these operational requirements are not declared in the skill manifest's 'required env vars / binaries' fields.
Install Mechanism
There is no automatic install spec for the skill (instruction-only), which minimizes direct install risks. The scripts call pip install -r requirements.txt and may download models from HuggingFace or rely on local Ollama — expected for this type of tool. No downloads from arbitrary/personal URLs or archive extraction mechanisms were found.
Credentials
The skill declares no required environment variables or credentials, which is appropriate. The code and docs mention optional environment usage (e.g., HF_ENDPOINT mirror) and expect a locally running Ollama service; these are operational needs but not secret requirements. The PUSH_GUIDE encourages user-supplied GitHub tokens (PAT) for pushing — that is not required for the skill to operate and is disproportionate and insecure to recommend.
Persistence & Privilege
Skill flags are default (always:false, agent-invocable allowed). The skill does not request elevated privileges or set persistent system-wide changes. It creates local vectorstore files under an explicitly-configured path (./vectorstore), which is expected and limited in scope.
What to consider before installing
This skill is mostly coherent for building a local RAG index and searching documents, but take these precautions before installing or running it: - Do NOT follow the PUSH_GUIDE recommendation to embed your GitHub Personal Access Token in the git push URL; that exposes the token to shell history/logs. Use a credential manager, SSH keys, or temporary tokens instead. - Inspect scripts/requirements.txt before pip installing. Consider running pip install inside a virtualenv or container to avoid affecting your system Python. - The code may download large HuggingFace models (BAAI/bge-m3) or expect a local Ollama service — ensure you have disk, bandwidth, and understand where models are fetched from. If you cannot or do not want remote downloads, use the Ollama/local models option but only if Ollama runs locally. - Only put documents you trust into the ./knowledge directory; the skill will read and index everything under that path (don’t index sensitive secrets, private keys, or system files). - Run the tooling in an isolated environment (VM/container) if you are unsure, and verify network activity if you need strong assurance that data is not being transmitted off-host. If you want a cleaner manifest: ask the author to list operational requirements (local Ollama service, approximate model download size, any optional env vars) and to remove or fix the insecure push instructions.

Like a lobster shell, security has layers — review code before you run it.

latestvk97dkd919539732qx10zck4xjx83shsc

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments