ToolTrust
C40/100
shinpr

shinpr-mcp-local-rag

mcp0.13.0

@shinpr

Local-first RAG server for developers. Semantic + keyword search for code and technical docs. Works with MCP or CLI. Fully private, zero setup.

By shinpr | 23 findings | Scanned 5/30/2026 | tooltrust-scanner/v0.3.13 | 246

10 High11 Medium2 Low

Risk Summary

Needs Approval

Excessive Permissions plus Supply Chain CVEs raises enough risk that this tool should not be auto-trusted.

Potential impact: The agent may gain overly broad access to files, network, databases, or execution capabilities.

Recommended action: Keep this tool behind manual approval and avoid unattended runs until the risky capabilities are narrowed or removed.

Suggested policy: keep this tool behind manual approval, do not allow unattended runs, and re-scan after narrowing risky permissions.

Security Findings (23)

  • HighAS-012

    ๐Ÿ”„Tool Drift

    Tool set changed silently at v0.13.0: 7 tool(s) added, 20 tool(s) removed without a version bump.

    + 7 added

    delete_fileingest_dataingest_filelist_filesquery_documentsread_chunk_neighborsstatus

    โˆ’ 20 removed

    local_intel_asklocal_intel_bedrocklocal_intel_changeslocal_intel_constructionlocal_intel_contextlocal_intel_corridorlocal_intel_for_agentlocal_intel_healthcarelocal_intel_nearbylocal_intel_oraclelocal_intel_querylocal_intel_realtorlocal_intel_restaurantlocal_intel_retaillocal_intel_searchlocal_intel_sector_gaplocal_intel_signallocal_intel_statslocal_intel_tidelocal_intel_zone

    Fix: The set of tools exposed by this server changed between scans of the same version โ€” a sign the package was silently updated without a version bump. Audit the changelog and all tool definitions before trusting this server. Pin to a specific commit hash rather than a floating version tag.

  • HighAS-002

    โš ๏ธExcessive Permissions ร—2

    tool declares network permission

    query_documentsingest_data

    Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.

  • HighAS-004

    ๐Ÿ“ฆSupply Chain CVEs (OSV) ร—7

    GO-2026-5024 in golang.org/x/[email protected]: Invoking integer overflow in NewNTUnicodeString in golang.org/x/sys/windows (upgrade to 0.44.0)

    query_documentsingest_fileingest_datadelete_filelist_filesstatusread_chunk_neighbors

    Fix: Upgrade or replace the vulnerable dependency. Pin all dependency versions and enable automated CVE scanning (Dependabot or OSV Scanner).

  • MediumAS-002

    โš ๏ธExcessive Permissions ร—11

    tool declares db permission

    query_documentsingest_filedelete_filelist_filesstatusread_chunk_neighbors

    tool declares fs permission

    ingest_fileingest_datadelete_filelist_filesread_chunk_neighbors

    Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.

  • LowAS-011

    โ„น๏ธMissing Rate-Limit / Timeout ร—2

    tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration

    query_documentsingest_data

    Fix: Declare explicit rate-limit, timeout, and retry configuration for all network and execution tools. Implement exponential back-off and surface resource state to the calling agent.

Scan this tool yourself

Reproduce this audit locally, integrate into CI, or let your agent audit its own tools.

Install once, then scan any MCP server:

$ curl -sfL https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-scanner/main/install.sh | bash
$ tooltrust-scanner scan --server "npx -y shinpr-mcp-local-rag"

Adjust the package name if your npm registry name differs from the tool ID. View source

Add badge to your README

Copy this Markdown to show your ToolTrust grade on GitHub.

[![ToolTrust Grade C](https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-directory/main/docs/badges/grade-c.svg)](https://github.com/AgentSafe-AI/tooltrust-directory)