sonarqube
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes untrusted data from a SonarQube server, such as issue messages, security hotspot details, and user comments, which could potentially contain malicious instructions designed to influence the agent's behavior.
- Ingestion points: Data is fetched from various SonarQube API endpoints in
sonarqube-issues.sh,sonarqube-hotspots.sh,sonarqube-projects.sh, andsonarqube-api.sh. - Boundary markers: The skill does not implement explicit delimiters or instructions to ignore embedded commands when presenting API results to the agent.
- Capability inventory: The skill provides several write capabilities, including transitioning issue statuses (resolve, confirm, false-positive) and adding comments via
sonarqube-transition.sh, as well as raw API access viasonarqube-api.sh. - Sanitization: While the scripts use
jqto parse JSON andurlencodefor certain query parameters, the actual textual content from SonarQube (which could be influenced by an attacker who can commit code or add comments) is passed directly into the agent's context. - [COMMAND_EXECUTION]: The skill relies on shell scripts that execute CLI tools like
curl,jq, andsedto perform its primary functions. - Evidence: The
_api.shhelper script constructs and executescurlcommands using the user-providedSONARQUBE_URLandSONARQUBE_TOKEN. The logic uses proper quoting to prevent local shell injection from agent-supplied arguments.
Audit Metadata