dbk-rust-gates
Pass
Audited by Gen Agent Trust Hub on Nov 10, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to run various local commands such as
git status,git diff,cargo fmt,cargo clippy, andcargo test. These commands are standard for Rust project management and are used according to their intended purposes. - [EXTERNAL_DOWNLOADS]: The skill recommends the installation of
cargo-nextestviacargo binstall. Both are well-known, widely used utilities in the Rust community. These recommendations are documented as suggestions to the user rather than forced silent executions. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from the project environment, including git diffs and file lists, to determine which tests to run. This presents a potential surface for indirect injection if project file names were crafted to influence the agent, but the risk is minimal given the restricted context of Cargo commands.
- Ingestion points:
git statusandgit diffoutputs are used to filter and select test targets. - Boundary markers: No explicit delimiters are used for the data read from git commands.
- Capability inventory: Access to shell execution for
gitandcargosubcommands. - Sanitization: No explicit sanitization of file paths is mentioned; the skill assumes a standard development environment.
Audit Metadata