antfu-create-pr
Pass
Audited by Gen Agent Trust Hub on Nov 16, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from the local repository, including diffs, commit messages, and documentation files, which could be manipulated to influence the agent's behavior when generating the PR body.
- Ingestion points: The skill reads
git diff,git log, repository templates, and documentation (AGENTS.md,CONTRIBUTING.md) as specified inSKILL.mdandreferences/pr-body.md. - Boundary markers:
SKILL.mdcontains rules to avoid pasting secrets, use sanitized data, and paraphrase user prompts to maintain factual integrity. - Capability inventory: The skill utilizes
git,gh(GitHub CLI), and a custom shell script employingcurlto interact with the repository and GitHub's API. - Sanitization: The instructions emphasize factual reporting, paraphrasing, and the exclusion of sensitive information or full payloads in the PR body.
- [COMMAND_EXECUTION]: The skill executes multiple shell commands to interact with the local filesystem and GitHub APIs to perform its intended tasks.
- Git Operations: Uses
git status,git merge-base,git log,git rebase, andgit worktreeto manage repository state and revisions. - GitHub CLI: Uses
gh pr create,gh pr edit,gh run list, andgh auth tokento manage Pull Requests and monitor CI status. - Scripting: Executes the bundled
scripts/upload-github-attachment.shscript, which usescurlto upload media files to a GitHub-owned attachment endpoint (https://uploads.github.com/user-attachments/assets).
Audit Metadata