autoreview
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCREDENTIALS_UNSAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill and its associated test harness scripts (
autoreview,test-review-harness.py, and shell wrappers) execute system commands such asgit,gh, and various AI model CLI tools. This is a primary requirement for a code review tool that must interact with repositories and external models. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to process untrusted code diffs and PR content, which is a known attack surface for indirect prompt injection. However, the instructions in
SKILL.mdexplicitly mandate isolation techniques, such as running engines in empty temporary workspaces, using 'safe modes' for external CLIs, and disabling project-local configuration loading to prevent the model from being influenced by malicious instructions in the code under review. - [DYNAMIC_EXECUTION]: The test suite (
scripts/autoreview_test.py) uses Python'simportlibandrunpyto dynamically load and execute the mainautoreviewscript for unit testing. While this pattern is often associated with obfuscation, here it is used for the legitimate purpose of testing a tool that is distributed as an extensionless executable script. - [CREDENTIALS_UNSAFE]: The file
tests/fixtures/typescript-sensitive-literals.tscontains several hardcoded credential-like strings (e.g.,sk-proj-FAKE...,ghp_FAKE...). These are clearly identified as mock data using 'FAKE' prefixes and are used specifically as fixtures to test the skill's integration with the TruffleHog secret scanner, rather than being active or leaked credentials.
Audit Metadata