MCP server · Audited from source
Codesearch MCP server
by flupkede/codesearchApache-2.0 licenceAudited 7 Oct 2026 · source 9edee2fb3761
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.
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
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 1 finding |
L1 Static source | Secrets, path traversal, supply chain | WARN 12 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
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 npm
opencode-codesearch-pluginat 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
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
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
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
streamable-http
- Why
- a network transport with no auth environment variable found
- Fix
- require a token
LOWFilesystem / pathfs.traversal · src/cli/claude_hooks.rs:26
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
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
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
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
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
"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
`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
`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
@types/node, typescript
- Why
- 2 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:181
- **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
| Tool | Risk | What it does |
|---|---|---|
codesearch | read | Semantic code search (codesearch) — query the index and inject the top hits |
codesearch-index | read | Register and index the current directory with codesearch (runs in the background) |
codesearch-status | read | Show codesearch serve health, current project scope and index state |
codesearch_scope | read | Return 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]
{
"mcpServers": {
"opencode-codesearch-plugin": {
"command": "npx",
"args": [
"-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
- !CAUTION B 83 / 100
First audit ·
9edee2fb3761
README badge
For maintainers · updates on every re-audit
[](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?
What tools does Codesearch expose?
Is Codesearch safe to connect to an agent?
What credentials does Codesearch need?
How does Codesearch run?
How current is this page?
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.
- What is the Codesearch MCP server?
- What tools does Codesearch expose?
- Is Codesearch safe to connect to an agent?