add-bot
Pass
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: Executes multiple GitHub CLI (
gh) commands to automate repository management. - Uses
gh api userto retrieve the current user login. - Uses
gh api repos/.../collaboratorsto add and verify repository members. - [PRIVILEGE_ESCALATION]: Performs identity switching and permission modification as part of its core functionality.
- The skill uses
gh auth switch --userto change the active GitHub account context, which allows the agent to act as a different user. - It grants
push(write) permissions to a specified account, which is a sensitive administrative action. - [INDIRECT_PROMPT_INJECTION]: The skill processes data from an external project file, creating a vulnerability surface.
- Ingestion points: Reads
bot_accountandowner_accountvalues from the## Automation configsection ofCLAUDE.md. - Boundary markers: No explicit boundary markers or warnings are used to isolate the configuration values from the command execution flow.
- Capability inventory: The skill possesses the capability to switch authentication contexts and modify repository permissions via the
ghCLI. - Sanitization: There is no evidence of validation or sanitization for the account names retrieved from
CLAUDE.mdbefore they are interpolated into shell commands.
Audit Metadata