review-rust
Pass
Audited by Gen Agent Trust Hub on May 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses shell commands to analyze the local codebase.
- Evidence: Executes
git diff,grep,cargo clippy,cargo check, andcargo testto identify changed files and verify code correctness. - [REMOTE_CODE_EXECUTION]: The skill triggers the execution of local project code through standard Rust build and test tools.
- Evidence: Running
cargo check,cargo clippy, andcargo test(Step 3 and Post-Fix Verification) executes project-defined logic such asbuild.rsscripts, procedural macros, and unit tests. This represents a potential execution vector if the repository under review contains malicious code. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection from the untrusted code it processes.
- Ingestion points:
git diffoutput,Cargo.toml, and.rssource files (Steps 1, 2, and 4). - Boundary markers: No explicit delimiters or instructions to ignore embedded commands are present in the prompt interpolation steps.
- Capability inventory: Full shell execution via
cargoandgitcommands. - Sanitization: No sanitization or validation of the ingested code content is performed prior to processing.
Audit Metadata