codebase-search

Pass

Audited by Gen Agent Trust Hub on Apr 3, 2026

Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
  • [DATA_EXFILTRATION]: The skill provides grep patterns to intentionally locate sensitive information within a codebase, including "API_KEY" and environment variable accessors such as process.env and os.environ. While functional for developers, this creates a pathway for exposing credentials to the agent's context.
  • [COMMAND_EXECUTION]: The skill requests and utilizes the Bash tool to perform search operations. While the provided examples are focused on grep and glob, the Bash capability allows for arbitrary shell command execution, which represents a significant capability surface.
  • [PROMPT_INJECTION]: The skill is inherently vulnerable to indirect prompt injection due to its core function of reading and processing external codebase content.
  • Ingestion points: Data enters the agent context through the Read and Grep tools when searching files (SKILL.md).
  • Boundary markers: The instructions lack delimiters or explicit warnings to the agent to disregard instructions that may be embedded within the codebase being analyzed.
  • Capability inventory: The skill uses Read, Grep, Glob, and Bash tools, providing high levels of interaction with the file system and shell.
  • Sanitization: There is no documented validation or escaping of the content retrieved from the codebase before it is presented to the agent.
Audit Metadata
Risk Level
SAFE
Analyzed
Apr 3, 2026, 08:31 AM