refresh-issue-brief

Pass

Audited by Gen Agent Trust Hub on Nov 13, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes data from external GitHub issues (titles, bodies, and comments), which is a potential surface for indirect prompt injection. The skill implements strong mitigations to address this risk.
  • Ingestion points: The skill ingests data via gh issue view output and the issue-comment-fingerprint helper script.
  • Boundary markers: The instructions explicitly mandate following the "branch-context untrusted-source rule" and treating all GitHub text as untrusted.
  • Capability inventory: The skill has the capability to write to .claude/skills/branch-context/issue-brief.md and execute local helper scripts for fingerprinting and safety checking.
  • Sanitization: The skill uses quoted heredocs (cat <<'EOF') to safely bind untrusted content to shell variables, preventing shell expansion or command injection. It also requires running a dedicated safety checker (check-autoload-safety.sh) on the updated brief to identify and remove potentially dangerous references.
  • [COMMAND_EXECUTION]: The skill uses shell commands and local scripts to perform its tasks. The execution is limited to standard tools like gh and local helper scripts located in the .agents/ directory. The instructions include specific defensive programming patterns, such as using heredocs for variable binding, which ensures that untrusted external content cannot be used to manipulate command execution.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 13, 2026, 08:39 AM