Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Codesearch MCP server

by flupkede/codesearchApache-2.0 licenceAudited 7 Oct 2026 · source 9edee2fb3761

npm opencode-codesearch-plugin 1.0.0streamable-http★ 88
!CAUTIONGrade B · 83/100 · 7 Oct 2026 · 9edee2f
88GitHub stars

Is it safe? With care — CAUTION, grade B (83/100). It exposes 4 tools: 4 read, 0 write and 0 destructive. The audit recorded 15 findings (0 critical, 0 high, 4 medium, 11 low). Maintainer's description: Multi-repo semantic code search MCP server in Rust — hybrid vector + BM25 retrieval, tree-sitter AST chunking, fully offline. For OpenCode, Claude Code, Cursor, and any MCP client.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Codesearch MCP server (flupkede/codesearch)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/flupkede/codesearch

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score83/100!CAUTION B
0 critical0 high4 medium11 low0 info

15 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared10 observations
  • NetworkDeclared9 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 1 finding
L1 Static sourceSecrets, path traversal, supply chainWARN 12 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner flupkedeUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmopencode-codesearch-plugin at version 1.0.0
  • LicenceApache-2.0From the repository, as read at the audited commit.
  • Last push1 day agoActivity of the repository when we read it.
  • Source commit read9edee2fb3761The audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory4 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (15)

Sorted by severity

MEDIUMNetwork egressnet.raw_ip · docker/entrypoint.sh:62
F-04 Network egressCWE-200 · CWE-319Layer L1
API_BASE="http://127.0.0.1:${PORT}"
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · integrations/claude-code/hooks/grep-guard.ps1:112
F-04 Network egressCWE-200 · CWE-319Layer L1
if ($env:CODESEARCH_SERVE_PORT) { return "http://127.0.0.1:$($env:CODESEARCH_SERVE_PORT)" }
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · src/serve/tests.rs:529
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMAuth / authzmcp.remote_no_auth
F-10 Auth / authzCWE-287 · CWE-862Layer L3
streamable-http
Why
a network transport with no auth environment variable found
Fix
require a token
LOWInventory / provenanceinv.hidden_file · .codesearchignore
F-13 Inventory / provenanceCWE-1104Layer L0
.codesearchignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · src/cli/claude_hooks.rs:26
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const GREP_GUARD_SH: &str = include_str!("../../integrations/claude-code/hooks/grep-guard.sh");
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/cli/claude_hooks.rs:27
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const GREP_GUARD_PS1: &str = include_str!("../../integrations/claude-code/hooks/grep-guard.ps1");
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/cli/claude_hooks.rs:28
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const PREAMBLE_SH: &str = include_str!("../../integrations/claude-code/hooks/subagent-preamble.sh");
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/cli/claude_hooks.rs:30
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
include_str!("../../integrations/claude-code/hooks/subagent-preamble.ps1");
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/cli/claude_hooks.rs:31
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const WEB_GUARD_SH: &str = include_str!("../../integrations/claude-code/hooks/web-guard.sh");
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:206
F-04 Network egressCWE-200 · CWE-319Layer L1
"url": "http://127.0.0.1:39725/mcp",
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · integrations/claude-code/README.md:235
F-04 Network egressCWE-200 · CWE-319Layer L1
`http://127.0.0.1:$CODESEARCH_SERVE_PORT`, else the compiled default
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · integrations/claude-code/README.md:236
F-04 Network egressCWE-200 · CWE-319Layer L1
`http://127.0.0.1:39725`). Any HTTP response counts as up and keeps Grep
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · integrations/opencode/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@types/node, typescript
Why
2 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:181
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **REST `/find-impact` endpoint (HTTP mirror of the `find_impact` MCP tool).** The read-only REST surface (`/search`, `/find`, `/explore`, `/chunk/:id`) now also mirrors `find_impact`: POST a `FindIm
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine

Tools it exposes

4 declared in source · 0 destructive

4 read0 write0 destructive
ToolRiskWhat it does
codesearchreadSemantic code search (codesearch) — query the index and inject the top hits
codesearch-indexreadRegister and index the current directory with codesearch (runs in the background)
codesearch-statusreadShow codesearch serve health, current project scope and index state
codesearch_scopereadReturn the codesearch scope for the current directory: project alias, groups, index state, serve health.

Install

Package version 1.0.0 · audited commit 9edee2f

Read the findings first. The most severe is Network egress (medium) at docker/entrypoint.sh.

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.0.0. The audit covers commit 9edee2f only.

claude mcp add opencode-codesearch-plugin -- npx -y [email protected]

The command pins the package version recorded in the source (1.0.0); the audit covers commit 9edee2fb3761. Transport: streamable-http. No environment variables required.

Audit history

  1. !CAUTION B 83 / 100

    First audit · 9edee2fb3761

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/flupkede/codesearch/badge.svg)](https://modelsatlas.com/mcp/flupkede/codesearch/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Codesearch MCP server

What is the Codesearch MCP server?
Multi-repo semantic code search MCP server in Rust — hybrid vector + BM25 retrieval, tree-sitter AST chunking, fully offline. For OpenCode, Claude Code, Cursor, and any MCP client.
What tools does Codesearch expose?
4 in total: 4 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Codesearch safe to connect to an agent?
With care. The audit graded it B (83/100) and found 15 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does Codesearch need?
No credential environment variables were found in its source, so it appears to need none.
How does Codesearch run?
It speaks streamable-http, so it runs as a service you connect to over the network. It is published on npm as opencode-codesearch-plugin at 1.0.0.
How current is this page?
The grade is for one exact copy of the source (9edee2fb3761), read on 2026-10-07. The repository is watched and re-audited when it changes.

Sources

  • flupkede/codesearch on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit 9edee2fb3761Observed · 7 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.