codesearch-mcp

Pass

Audited by Gen Agent Trust Hub on Jul 20, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill serves as a documentation guide for the codesearch-mcp Model Context Protocol server. It defines a logical workflow (Recall, Map, Search, Understand) for navigating codebases using semantic search and call-graph analysis.
  • [DATA_EXPOSURE]: The skill facilitates access to a project's source code and past session memory. While this involves reading sensitive project information, it is the primary intended function of a code search tool. The tools are accessed through a local MCP server connection (stdio or HTTP), maintaining the security perimeter of the host environment.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests external data (source code and URLs via add_memory_resource) into the agent's context. This represents a potential surface for indirect prompt injection if the analyzed code contains malicious instructions. However, the skill acts as a passive consumer of this data and does not grant the agent high-risk capabilities like arbitrary command execution (eval, exec, or shell access) that would be required to exploit such an injection. Severity is considered SAFE given the lack of executable sinks.
  • [EXTERNAL_DOWNLOADS]: The add_memory_resource tool allows the agent to store and summarize content from provided URLs. While this involves fetching external data, it is a standard feature for knowledge-retrieval agents and is documented as a mechanism for project documentation retrieval.
Audit Metadata
Risk Level
SAFE
Analyzed
Jul 20, 2026, 12:43 AM