pr-learning
Pass
Audited by Gen Agent Trust Hub on Nov 17, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted PR comments and review threads to suggest durable guidance for the agent, creating a risk that malicious PR feedback could influence future agent behavior.\n
- Ingestion points:
scripts/collect_feedback.pyuses GitHub's GraphQL API to fetch comment bodies and review threads from external contributors.\n - Boundary markers: The workflow mandates a human-in-the-loop approval step (
--write --yes) and provides a selection rubric inSKILL.mdfor the agent to filter candidates.\n - Capability inventory: The skill has the ability to update critical agent instruction files (
AGENTS.md,CLAUDE.md) and execute commands via the GitHub CLI.\n - Sanitization: While the skill canonicalizes text for deduplication and strips URLs from the proposed guidance, the raw text from PR comments is otherwise used without rigorous filtering for instructional commands.\n- [COMMAND_EXECUTION]: The skill relies on
subprocess.runwithinscripts/common.pyto interact with the GitHub CLI (gh). This is used to fetch repository metadata, user information, and PR artifacts. The skill correctly passes arguments as lists to mitigate standard shell injection vectors.
Audit Metadata