sleepwell-team

Pass

Audited by Gen Agent Trust Hub on Aug 25, 2026

Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill heavily utilizes the GitHub (gh) CLI to automate repository management, including posting reviews, replying to comments, polling CI checks, and merging code. It also includes a post-merge phase that can execute shell commands based on user-defined configuration.
  • [PROMPT_INJECTION]: The skill is susceptible to Indirect Prompt Injection because it ingests and acts upon content from external pull requests that may contain malicious instructions.
  • Ingestion points: Pull request diffs (via gh pr diff) and review comments (via GraphQL API) are ingested into the agent's context in SKILL.md.
  • Boundary markers: There are no explicit boundary markers or directives to the LLM to ignore potentially malicious instructions embedded within the ingested code diffs or comments.
  • Capability inventory: The skill possesses significant capabilities, including modifying the worktree, committing and pushing changes, merging pull requests, and triggering GitHub workflows (gh workflow run).
  • Sanitization: The logic relies on shell variable interpolation (e.g., "$PR", "$OWNER") for command execution; while the PR number is typically an integer, the lack of explicit sanitization for all interpolated metadata increases the risk of command injection if the repository environment is compromised.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 25, 2026, 03:45 PM