qodo-agent-session-review
Pass
Audited by Gen Agent Trust Hub on Nov 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill interacts with the user's local environment by executing command-line utilities including the
qodoCLI, thegh(GitHub) CLI, and optional AI agents such asclaudeandcodex. - The launcher script (
scripts/launch.py) executesqodo --versionandqodo readcommands to verify the environment and authentication status. - The analysis module (
runtime/cockpit/ask.py) invokes local agents to answer user queries, utilizing sandboxing flags such as--tools ""for Claude and--sandbox read-onlyfor Codex to minimize risk. - Data collection in
runtime/cockpit/collect.pyandruntime/cockpit/util.pyuses theghCLI to fetch PR metadata and diffs. - [INDIRECT_PROMPT_INJECTION]: The skill represents a surface for indirect prompt injection as it ingests untrusted data from pull requests, including descriptions, comments, and code.
- Ingestion points: PR data and comments are fetched from GitHub APIs via
runtime/cockpit/collect.pyand processed during the enrichment phase inruntime/cockpit/enrich.py. - Boundary markers: The skill contains explicit instructions to the AI (e.g., in
references/story-and-behavior.mdandreferences/decisions-risk-contracts.md) to treat external data as evidence only and to ignore instructions embedded within the analyzed content. - Capability inventory: The skill can execute local binaries, read and write files within the local session directory, and call the Qodo read catalog.
- Sanitization: A dedicated redaction module (
runtime/cockpit/secret_values.py) identifies and redacts sensitive values found in external scanner reports before they are saved or rendered. - [DYNAMIC_EXECUTION]: The skill uses standard Python mechanisms for modular execution.
- The launcher (
scripts/launch.py) usesrunpy.run_moduleto start the main cockpit application from the bundled runtime. - The server (
runtime/cockpit/server.py) and various adapters use dynamic loading and introspection to manage review styles and findings sources.
Audit Metadata