gitcode-issue-analyzer
Pass
Audited by Gen Agent Trust Hub on Jun 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local Python scripts using shell commands (e.g.,
python scripts/fetch/fetch_open_issues.py ${repo}) with arguments extracted directly from user prompts. - [COMMAND_EXECUTION]: Instructions guide the user to modify shell profile files (
~/.bashrcand~/.zshrc) via theechocommand to persist theGITCODE_TOKENenvironment variable across sessions. - [DATA_EXFILTRATION]: The script collection (
fetch_open_issues.py,fetch_closed_issues.py, andfetch_issue_comments.py) accesses the Windows Registry (HKEY_LOCAL_MACHINEandHKEY_CURRENT_USER) to retrieve theGITCODE_TOKENif it is not found in the environment variables. - [PROMPT_INJECTION]: The skill processes untrusted external data by fetching issue titles, descriptions, and comments from the GitCode API, creating an indirect prompt injection risk.
- Ingestion points: External content is pulled from
api.gitcode.comthrough thefetch_*.pyscripts. - Boundary markers: The
classify_issue_comments.pyscript applies basic markdown escaping to titles, but the system lacks robust delimiters or explicit instructions to ignore embedded commands in the issue content. - Capability inventory: The skill environment allows for shell command execution and local file system writes (Excel and Markdown generation).
- Sanitization: There is no comprehensive sanitization or validation of the fetched issue content before it is processed and presented to the agent.
Audit Metadata