repo-discoverability
Pass
Audited by Gen Agent Trust Hub on Sep 7, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/check_discoverability.pyexecutes the GitHub CLI (gh) viasubprocess.run. The implementation is secure as it uses a list of arguments rather than a shell string, effectively preventing shell injection. The script's operations are restricted to the repository specified by the agent or user, and it leverages data sourced directly from GitHub's official API responses. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted metadata from GitHub repositories, creating a potential surface for indirect prompt injection.
- Ingestion points: The
scripts/check_discoverability.pyscript fetchesrepositoryTopicsandhomepageUrlfrom external repositories and prints them for the agent to review. - Boundary markers: The skill does not use specific delimiters or explicit instructions to the agent to disregard instructions potentially embedded within the repository metadata.
- Capability inventory: The agent is empowered to use
gh repo editto modify repository settings (description, topics, homepage) based on its interpretation of the audit results. - Sanitization: The skill does not perform sanitization, filtering, or validation of the retrieved metadata strings before presenting them to the agent.
Audit Metadata