skills/pydantic/pydantic-ai/adopt-pr/Gen Agent Trust Hub

adopt-pr

Pass

Audited by Gen Agent Trust Hub on Nov 13, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes multiple shell commands via the gh (GitHub) CLI and git to fetch PR metadata, review threads, and diffs. These operations are restricted to standard development workflows and include significant safety guards.
  • The skill mandates the creation of a separate POLICY_BASE_DIR using git worktree add. This ensures that instructions are read from a trusted branch tip rather than the potentially malicious checked-out branch.
  • Variable expansion in shell scripts is mitigated by using quoted heredocs (<<'EOF') when handling potentially untrusted reviewer or author text.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from GitHub PR bodies, issue descriptions, and review comments.
  • Ingestion points: PR metadata, issue descriptions, and review thread comments (fetched via gh api and gh pr view).
  • Boundary markers: The skill uses a check-autoload-safety.sh helper to sanitize issue-brief.md and pr-decisions.md before they are written.
  • Capability inventory: File writes to .claude/skills/branch-context/, git worktree management, and GitHub API interactions.
  • Sanitization: The skill explicitly instructs to strip leading @ symbols from contributor references to prevent unintentional tagging or triggering of agent behaviors, and uses strict quoting for shell arguments.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 13, 2026, 08:39 AM