oh-pr-workflow
Fail
Audited by Gen Agent Trust Hub on Apr 9, 2026
Risk Level: HIGHCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
gitcode-mcp/install.shscript usessudofor system-wide installation tasks, which poses a privilege escalation risk.- [COMMAND_EXECUTION]: Thesetup.shscript, which is executed automatically to resolve missing tools, modifies the agent's core configuration files (~/.claude.jsonor OpenCode configs) and attempts to run a pre-compiled binary shipped with the skill.- [DATA_EXFILTRATION]: The skill retrieves sensitive GitCode API tokens from the user's local git configuration and propagates them to external configuration files used by the MCP server, potentially exposing credentials.- [EXTERNAL_DOWNLOADS]: Thescripts/fetch_gate_defects.shscript fetches CI logs and defect reports from the external domaindcp.openharmony.cnusingcurl.- [PROMPT_INJECTION]: The skill's automated fix modes (Mode 3 and Mode 5) ingest untrusted data from external PR comments and CI logs to drive code edits and forced git pushes, representing an indirect prompt injection surface.
Recommendations
- AI detected serious security threats
Audit Metadata