skills/s21s011/rtk/code-simplifier/Gen Agent Trust Hub

code-simplifier

Pass

Audited by Gen Agent Trust Hub on Sep 28, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill instructs the agent to perform verification using the Rust toolchain (cargo fmt, cargo clippy, cargo test). While these commands involve executing code from the project environment (such as build.rs scripts or test binaries), this is standard practice for Rust development and necessary for verifying code simplification.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted Rust source code which creates a potential surface for indirect prompt injection if the code contains instructions designed to manipulate the agent during the refactoring process.
  • Ingestion points: Rust source files are read into the agent context via Read, Grep, and Glob tools.
  • Boundary markers: Absent; there are no specific delimiters or instructions to ignore embedded prompts within the code being simplified.
  • Capability inventory: The agent possesses Edit capabilities and the ability to execute shell commands (cargo, grep), which could be leveraged if an injection is successful.
  • Sanitization: Absent; the skill does not explicitly sanitize or validate the content of the Rust files before processing them.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 28, 2026, 09:30 AM