assign-prs
Pass
Audited by Gen Agent Trust Hub on Aug 24, 2026
Risk Level: SAFE
Full Analysis
- [Identity and Permission Verification]: The skill implements a robust pre-flight check that verifies the active GitHub account (
gh auth status) and ensures the token has the necessary permissions (pushortriage) before attempting any operations. This prevents the agent from performing actions as an unintended user or failing cryptically due to insufficient scopes.- [Dry-Run and Approval Workflow]: A significant security feature is the mandatory dry-run plan. The skill is instructed to never perform mutations (requesting reviewers) until the user has reviewed a detailed plan and provided explicit approval. This human-in-the-loop requirement mitigates risks associated with automated batch operations.- [Secure Argument and Query Handling]: The instructions emphasize building search qualifiers from validated repository and team values rather than string literals or direct user input. This practice, combined with proper form-encoding via theghCLI, effectively prevents command injection and ensures the agent only operates on the intended resources.- [Configuration Integrity]: The skill uses a JSON schema (reviewers.schema.json) andjqvalidation to ensure the integrity of thereviewers.jsonconfiguration file. By settingadditionalProperties: falsein the schema, it prevents the introduction of unauthorized metadata or free-text fields that could be used for prompt injection or storing sensitive data.- [Least Privilege Data Handling]: The skill is designed to only request the minimum information needed (read:orgfor team rosters) and focuses solely on reviewer assignment. It explicitly avoids approving, merging, or commenting on pull requests, adhering to the principle of least privilege.
Audit Metadata