independent-review
Pass
Audited by Gen Agent Trust Hub on Nov 3, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The wrapper script
scripts/review.pyexecutesgitfor repository analysis and thegrokorclaudebinaries to perform the actual review. Commands are executed usingsubprocess.run()without theshell=Trueflag, minimizing shell injection risks. The script dynamically builds command lines for external CLIs using arguments derived from user input (e.g.,--subject,--cwd).\n- [INDIRECT_PROMPT_INJECTION]: The skill's architecture is susceptible to indirect prompt injection because it processes untrusted data from a git repository. Ingestion points: File contents from the repository, including untracked files, are inlined into a prompt for the reviewer agent inscripts/review.py. Boundary markers: Weak markers are used incompose_promptto separate instructions from the repository content. Capability inventory: The secondary reviewer agent is provided with read-only filesystem tools (read_file,grep,list_dir). Sanitization: Repository content is not sanitized or escaped before being processed.\n- [DATA_EXFILTRATION]: The script reads all untracked files in the repository and includes their content in the prompt sent to the LLM provider. This can lead to the exposure of sensitive data (such as secrets in.envfiles) if they are not explicitly gitignored or deleted prior to execution.
Audit Metadata