diagnose-bug
Pass
Audited by Gen Agent Trust Hub on Nov 4, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted data from the repository, including logs, traces, bug reports, and API responses. This data could potentially contain malicious instructions intended to influence the agent's behavior.
- Ingestion points:
SKILL.md(Workflow steps 1, 3, and 4) describes capturing failing inputs, request/response payloads, and runtime signals. - Boundary markers: The skill suggests a structured response format but does not explicitly mandate the use of strict delimiters (such as XML tags or specific block markers) when the agent processes or interpolates untrusted data into its context.
- Capability inventory: The agent has extensive capabilities including file system access (read/write), shell command execution (running tests and local invocations), and the ability to spawn subagents for parallel research.
- Sanitization: The instructions include a requirement to redact secrets and personal data from summaries in Step 3.
- [COMMAND_EXECUTION]: The skill involves executing shell commands as part of the bug reproduction and testing process.
- Evidence:
SKILL.mdinstructs the agent to "Run the smallest failing test or local invocation first" (Step 4) and "Run the narrowest test suite that covers the fix" (Step 8). - Mitigation: These operations are core to the skill's primary purpose of diagnosing bugs. The "Operating contract" in
SKILL.mdspecifies that the agent should "Keep the harness's permission prompts for risky commands," providing a layer of human-in-the-loop protection.
Audit Metadata