dispatch-templates
Warn
Audited by Gen Agent Trust Hub on Apr 8, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONCREDENTIALS_UNSAFEPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The provided templates request extensive shell access through the
Bashtool. Template 1 allows fornpm run *andpnpm run *, Template 7 and 8 allow fornode *, and Template 2 and 3 allow variousgitandgh(GitHub CLI) commands. These permissions provide a path for the execution of arbitrary scripts or binaries within the user's environment.\n- [EXTERNAL_DOWNLOADS]: Template 3 ('Dependency Update') automates fetching and installing external software packages usingnpm updateandnpm install. This introduces supply chain risks if external registries or the packages themselves are compromised.\n- [DATA_EXFILTRATION]: Template 8 ('Monitoring Setup') utilizes thecurlcommand to interact with network endpoints. While the intended use is for health checks on specified service URLs, the tool capability allows for the exfiltration of local data to remote servers.\n- [CREDENTIALS_UNSAFE]: Template 4 ('Security Scan') and Template 2 ('Batch Review') are configured to search the entire project (Read(**)) for sensitive secrets, including API keys, authentication tokens, and private keys, using regex patterns likesk-,[A-Za-z0-9]{32,}, and-----BEGIN.*KEY-----. This involves high-privilege access to sensitive local data.\n- [PROMPT_INJECTION]: Template 2 ('Batch Review') and Template 4 ('Security Scan') are susceptible to indirect prompt injection because they process untrusted external data.\n - Ingestion points: These templates read data from
git log,git show, andgh pr view(pull request contents).\n - Boundary markers: The task prompts lack explicit boundary markers or isolation instructions to prevent the agent from obeying instructions embedded within the code or commit messages being reviewed.\n
- Capability inventory: The templates grant the agent the ability to write to files and perform GitHub actions (
gh pr review), which could be leveraged by a malicious PR to perform unauthorized actions.\n - Sanitization: There is no logic provided to sanitize or filter the input data before it is processed by the AI model.
Audit Metadata