gh-attach
Pass
Audited by Gen Agent Trust Hub on Nov 29, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill can execute the GitHub CLI (
gh) and standard shell utilities includinggrepandprintfto manage attachments and comments. - [EXTERNAL_DOWNLOADS]: The skill installs an external GitHub CLI extension from a third-party repository (
sudosubin/gh-attach). Evidence:gh extension install sudosubin/gh-attach --pin v0.5.1in SKILL.md. - [DATA_EXFILTRATION]: The skill can read local files and upload them to GitHub's user-attachment service, making local data available on remote GitHub servers. It also provides instructions for using a sensitive session credential (
GH_ATTACH_SESSION_TOKEN) to facilitate these uploads. - [INDIRECT_PROMPT_INJECTION]: The skill has the surface area for indirect prompt injection by downloading external content that the agent may process.
- Ingestion points: The skill can download files from GitHub user-attachment URLs (
gh attach downloadin SKILL.md). - Boundary markers: None identified in the provided instructions.
- Capability inventory: Uses
ghfor command execution and file system writes. - Sanitization: No sanitization or validation of downloaded content is mentioned before it is saved to the local file system.
Audit Metadata