branch-context

Pass

Audited by Gen Agent Trust Hub on Nov 13, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface for indirect prompt injection because it processes untrusted data from GitHub issues, pull requests, and review comments.
  • Ingestion points: External text is processed and stored in issue-brief.md, pr-decisions.md, and session handoff files within the handoffs/ directory.
  • Boundary markers: Instructions direct the agent to strip the @ prefix from tokens derived from untrusted text to prevent the harness from interpreting them as file attachment commands.
  • Capability inventory: The skill performs file system writes and reads, executes local bash scripts, and uses the gh CLI to interact with GitHub APIs.
  • Sanitization: The skill includes a security script (check-autoload-safety.sh) that validates inputs against @-import patterns. It blocks tokens that appear to be file paths or contain sensitive file extensions (e.g., .env, .sh, .py), effectively preventing unauthorized file access triggered by external data content.
  • [COMMAND_EXECUTION]: The skill uses local bash scripts to coordinate state updates and data verification. These scripts execute standard system utilities, including awk, sed, jq, and perl. The usage of perl is specifically for implementing file locking (flock) to ensure atomic state transitions.
  • [EXTERNAL_DOWNLOADS]: The skill utilizes the gh CLI to fetch issue and comment metadata from GitHub's GraphQL API. This is used solely for generating fingerprints to detect when external context has been updated. As GitHub is a well-known and trusted service for development workflows, this operation is consistent with the skill's purpose.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 13, 2026, 08:40 AM