sema-mcp@0.11.0
CAUTION· not startedPublisher claims: "Semantic codebase indexer and MCP server for Claude Code" Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Not started: dependency install failed; the server itself was not observed.- Tested
- the dependency install step · every file read, file written and host contacted by what ran
- Not tested
- server startup · the tool list · tool behavior
What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Before you give it your token
- It will ask for
ANTHROPIC_API_KEYConfiguration, not credentials: HF_HUB_DISABLE_TELEMETRY, SEMA_CHAT_HOME, SEMA_SKIP_CLAUDE, SEMA_SKIP_CODEX, SEMA_SKIP_CURSOR, SEMA_SKIP_GROK, SEMA_SKIP_OPENCODE- Where it talks to
- no vendor host named in the codeAlso deepseek.com, openrouter.ai, together.xyz, claude.ai, chatgpt.com, githubusercontent.com, x.ai, opencode.ai — not the publisher's domain; check what for before connecting.
- What the honeypot saw
- no credential files read · no network
- What we could not test
- server startup · the tool list · tool behavior
Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names deepseek.com, openrouter.ai, together.xyz, claude.ai, chatgpt.com, githubusercontent.com, x.ai, opencode.ai as well as its own vendor. The guard injects ANTHROPIC_API_KEY only into requests to the host you bind (and its subdomains) and refuses the rest.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-18 and scored it 68/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Pipe-to-shell pattern; Pipe-to-shell pattern. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 2 scenarios · 0 deviationsStatic findings
".json", ".jsonc", ".yaml", ".yml", ".toml", ".ini", ".cfg", ".conf", ".env",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."grok": {"binary": "grok", "install": "curl -fsSL https://x.ai/cli/install.sh | bash", "version": ["--version"], "label": "Grok Build"},Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out." curl -fsSL https://raw.githubusercontent.com/masihmoloodian/sema/main/install.sh | sh"Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out." curl -fsSL https://raw.githubusercontent.com/masihmoloodian/sema/main/install.sh | sh"Fix: Pin versions and sources; vendor anything fetched at install time."claude": {"binary": "claude", "install": "curl -fsSL https://claude.ai/install.sh | bash", "version": ["--version"], "label": "Claude Code"},Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.Works well for .json, .yaml, .env, .css, .toml, .sh, .sql, and anything elseFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."opencode": {"binary": "opencode", "install": "curl -fsSL https://raw.githubusercontent.com/opencode-ai/opencode/refs/heads/main/install | bash", "version": ["--version"], "label": "opencode"},Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out." curl -fsSL https://raw.githubusercontent.com/masihmoloodian/sema/main/install.sh | sh"Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out._NAME_REGISTRY: dict[str, ExtractFn] = {} # exact filenames, e.g. ".env", "makefile"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.elif (pipx := shutil.which("pipx")) and "sema-mcp" in subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(["kill"] + pids, check=False)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(["pgrep", "-f", "sema serve"], capture_output=True, text=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."grok": {"binary": "grok", "install": "curl -fsSL https://x.ai/cli/install.sh | bash", "version": ["--version"], "label": "Grok Build"},Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(spec["install"], shell=True, check=False)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(cmd, check=False)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."opencode": {"binary": "opencode", "install": "curl -fsSL https://raw.githubusercontent.com/opencode-ai/opencode/refs/heads/main/install | bash", "version": ["--version"], "label": "opencode"},Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.proc = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run([binary, *spec["version"]], check=False)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(["claude", "mcp", "list"], capture_output=True, text=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.".env", ".env.local", ".env.development", ".env.production",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."claude": {"binary": "claude", "install": "curl -fsSL https://claude.ai/install.sh | bash", "version": ["--version"], "label": "Claude Code"},Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.if uv and "sema-mcp" in subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.proc = subprocess.run(argv, capture_output=True, text=True, timeout=timeout, env=env)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(["claude", "mcp", "list"], capture_output=True, text=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.except Exception as exc: # noqa: BLE001 - never kill the app on a bad turnFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.".env", ".sh", ".bash", ".txt", ".xml", ".graphql", ".sql"],Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.Cost to the agent
Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.
Known vulnerabilities
No advisories in OSV for sema-mcp@0.11.0 as of 21 min ago. This is the package itself, not its dependencies.
What would make this Verified
12 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Pipe-to-shell pattern≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- Unclaimed publisher≈ +8 on the totalClaim masihmoloodian: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Direct script execution from GitHub raw URL≈ +4 on the totalPin versions and sources; vendor anything fetched at install time.
- Remote installer piped to shell≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.