db-repair
Pass
Audited by Gen Agent Trust Hub on Aug 31, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
exectool to run thegbrainCLI for diagnosing and repairing database issues. The instructions specify hardcoded command sequences (e.g.,gbrain db-repair --json,gbrain db-repair --yes) to perform these tasks, ensuring the agent does not generate arbitrary shell commands. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to respond to error markers like
GBRAIN_DB_ACCESS <reason>found in tool outputs. It implements a critical security boundary by instructing the agent to never parse or execute data from these markers, treating them only as triggers for its hardcoded diagnostic logic. - Ingestion points: Untrusted data enters the agent context via
gbrainCLI stderr or MCP tool result envelopes containing theGBRAIN_DB_ACCESSmarker. - Boundary markers: None present in the raw data, but the skill instructions act as a logical boundary by defining a strict protocol for response.
- Capability inventory: The skill has access to the
exectool, allowing it to perform shell operations. - Sanitization: The skill enforces sanitization by mandating the use of fixed command strings and ignoring all dynamic content within the trigger markers during command construction.
- [DATA_EXPOSURE]: The skill instructions acknowledge the sensitivity of database connection strings and specify that the
gbrainCLI tool output is pre-redacted by the vendor, preventing accidental leakage of credentials when the agent reports results to the operator.
Audit Metadata