performance-testing-review-ai-review

Pass

Audited by Gen Agent Trust Hub on Sep 30, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted external data (pull request diffs and static analysis reports) which are then interpolated directly into LLM prompts.
  • Ingestion points: The $ARGUMENTS variable in SKILL.md, and the diff and static_results variables in the ai_review method within the CodeReviewOrchestrator script.
  • Boundary markers: None. The prompts (e.g., **Diff:** {diff}) do not use delimiters or instructions to ignore potential commands embedded within the code being reviewed.
  • Capability inventory: The skill executes shell commands via subprocess.run and subprocess.check_output (e.g., sonar-scanner, semgrep), accesses sensitive environment variables (GITHUB_TOKEN, ANTHROPIC_API_KEY), and performs network operations to GitHub and Anthropic APIs.
  • Sanitization: The implementation uses simple truncation ([:15000]) but lacks escaping or filtering to prevent malicious code comments from hijacking the review prompt's logic.
  • [COMMAND_EXECUTION]: The Python implementation uses subprocess to execute various CLI tools like sonar-scanner, semgrep, and trufflehog. While these are legitimate security tools, the execution is triggered based on the repository context provided to the script.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 30, 2026, 04:56 AM