Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Ts Rag

Sistema RAG (Retrieval Augmented Generation) escrito en TypeScript que ingiere documentos PDF y Markdown, genera embeddings vectoriales usando modelos locales vía node-llama-cpp, los almacena en PostgreSQL con pgvector (con fallback a memoria volátil) y responde consultas en le

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.

PERMISSION_DELETE_FILES SECRETS_PATH_DOTENV SECRETS_ENV_READ

Why this grade

  • PERMISSION_DELETE_FILES Low

    Contains a call that can delete files.

    src/store/pgDaemon.ts, line 440 fs.unlinkSync(pidFile);

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    src/main.ts, line 12 process.loadEnvFile(path.join(process.cwd(), ".env"));

  • SECRETS_ENV_READ Note

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

    src/mcp-http-server.ts, line 26 const API_KEY = process.env["MCP_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

    Concern

    can delete files.

    PERMISSION_DELETE_FILES

    src/store/pgDaemon.ts, line 440

    fs.unlinkSync(pidFile);

    src/store/pgDaemon.ts, line 508

    fs.rmSync(srcDir, { recursive: true, force: true });

  • Install and update

    Pass

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

  • Network

    Pass

    No network call found.

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    src/main.ts, line 12

    process.loadEnvFile(path.join(process.cwd(), ".env"));

    src/mcp-http-server.ts, line 26

    const API_KEY = process.env["MCP_API_KEY"] || "";

    src/mcp-http-server.ts, line 68

    throw new Error("EMBEDDING_MODEL is not set in .env");

    Show more

    src/services/ragSystem.ts, line 28

    console.error(` Check MODELS_PATH and EMBEDDING_MODEL in .env`);

    src/store/embedding-store.ts, line 101

    password: process.env["POSTGRES_PASSWORD"] || "postgres",

    src/store/pgVectorStore.ts, line 130

    + " docker compose up -d # then set POSTGRES_HOST/PORT in .env",

    .gitignore, line 1

    *.gguf

    .gitignore, line 7

    .DS_Store

    CLAUDE.md, line 38

    3. Configure environment variables in `.env` file

    README.md, line 97

    | `src/main.ts` | Punto de entrada: carga `.env`, inicializa `node-llama-cpp` con GPU Metal, orquesta el flujo completo |

  • Agent instructions

    Pass

    No instruction to ignore earlier instructions or to hide a step.

  • Obfuscation

    Pass

    No encoded or minified payload found.

  • Licence

    Note

    no licence file found.

    LICENCE_MISSING

    No file path was stored.

    no licence file found.

  • Maintainer activity

    Pass

    The latest commit is within the last 365 days.

Note

Hygiene check of commit 650b3c094e28. can delete files. reads a credential or environment file. no licence file found.

Date and source

Date checked:

View source

github.com

Commit graded: 650b3c094e2848c706b92239e3980acff019cd5e

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