Grades are a hygiene check, not a security guarantee.

MCP, MCP server

SearchHub

English README · npm · Issues

Compatibility: Not stated.

Grade B

Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ

Why this grade

  • NETWORK_NO_FIXED_HOST Low

    Makes a network call whose host is not written as a fixed address.

    skill/searchhub/SKILL.md, line 54 curl -X POST "$SEARCHHUB_BASE_URL/api/search" \

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    src/cli.ts, line 60 /** 轻量 .env 支持,避免为一个 CLI 引入 dotenv 依赖 */

  • SECRETS_ENV_READ Note

    Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.

    skill/searchhub/scripts/searchhub_search.mjs, line 26 const apiKey = take('--api-key') ?? process.env.SEARCHHUB_API_KEY;

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

    Pass

    No shell or command execution found, and no extra permission was declared.

  • Install and update

    Pass

    No install-time script found, and dependencies are pinned or absent.

  • Network

    Concern

    can reach a host that is not written as a fixed address.

    NETWORK_NO_FIXED_HOST

    skill/searchhub/SKILL.md, line 54

    curl -X POST "$SEARCHHUB_BASE_URL/api/search" \

    skill/searchhub/scripts/searchhub_search.mjs, line 47

    response = await fetch(`${base}${path}`, { ...options, headers });

    src/providers/http.ts, line 17

    const response = await fetch(url, {

    Show more

    web/src/api.ts, line 130

    const response = await fetch(path, {

    web/src/components/ApiDocs.tsx, line 5

    const SEARCH_CURL = `curl -X POST ${BASE}/search \\

    web/src/components/ApiDocs.tsx, line 10

    const SEARCH_GET = `curl -G ${BASE}/search \\

    web/src/components/ApiDocs.tsx, line 40

    const SEARCH_JS = `const res = await fetch('${BASE}/search', {

    web/src/components/ApiDocs.tsx, line 57

    const LOGIN_CURL = `curl -X POST ${BASE}/admin/login \\

    web/src/components/ApiKeysPanel.tsx, line 165

    {`curl -X POST http://localhost:8787/api/search \\

    web/src/components/ApiKeysPanel.tsx, line 173

    <pre className="code-block">{`curl http://localhost:8787/api/health`}</pre>

    Dockerfile, line 42

    CMD node -e "fetch('http://127.0.0.1:8787/api/health').then(r => { if (!r.ok) process.exit(1) }).catch(() => process.exit(1))"

    docker-compose.yml, line 27

    test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:8787/api/health').then(r => { if (!r.ok) process.exit(1) }).catch(() => process.exit(1))"]

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    skill/searchhub/scripts/searchhub_search.mjs, line 26

    const apiKey = take('--api-key') ?? process.env.SEARCHHUB_API_KEY;

    src/cli.ts, line 60

    /** 轻量 .env 支持,避免为一个 CLI 引入 dotenv 依赖 */

    src/cli.ts, line 62

    const file = resolve(cwd, '.env');

    Show more

    src/index.ts, line 23

    `未设置 SEARCHHUB_ADMIN_PASSWORD,已生成随机管理密码: ${config.adminPassword}(重启后会变化,请在 .env 中固定)`,

    web/src/components/ApiDocs.tsx, line 44

    'x-api-key': process.env.SEARCHHUB_API_KEY,

    .dockerignore, line 12

    .codebuddy

    .dockerignore, line 13

    .env

    .dockerignore, line 15

    !/.env.example

    .gitignore, line 4

    data/

    CHANGELOG.md, line 64

    - `.env.example` 注释改为中英双语,并补上两个密钥的生成命令。

  • 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 53349e33326d. can reach a host that is not written as a fixed address. reads a credential or environment file.

Date and source

Date checked:

View source

github.com

Commit graded: 53349e33326dbbc32343c56f52f1e7936898bb9f

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.

Read how this letter is chosen