rust-systems
Pass
Audited by Gen Agent Trust Hub on Sep 21, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill documents the use of standard Rust development tools such as
cargo,clippy, andcargo-nextest. It provides specific guidance on avoiding side effects during testing, such as mutating process-global state or environment variables, which prevents race conditions and accidental execution of sibling tests. - [INDIRECT_PROMPT_INJECTION]: The skill identifies common attack surfaces in Rust applications, such as parsing untrusted input in CLIs and HTTP services. It mandates defensive measures including schema validation via the
validatorcrate, the use ofsqlxcompile-time checked macros to prevent SQL injection, and specific warnings about non-standard character handling (e.g., bare\rnewlines or Unicode case folding) that could lead to security filter bypasses. - [DATA_EXFILTRATION]: The instructions provide patterns for secure network operations using
axumandreqwest. A critical security rule is established for authentication and authorization decisions: the system must implement a "deny-by-default" fallback if an outbound security check is unavailable or returns an unrecognized response. - [DYNAMIC_EXECUTION]: While the skill discusses Rust macros (declarative and procedural), it focuses on hygiene and compile-time safety. It warns against using
panic!orunwrap()in procedural macros, which would lead to compiler-internal failures, and instead promotes usingsyn::Errorfor better diagnostics. - [EXTERNAL_DOWNLOADS]: The skill mentions common, trusted CI/CD utilities such as
taiki-e/install-actionandSwatinem/rust-cache. These are standard tools for optimizing Rust build pipelines and are referenced in a way that aligns with industry best practices.
Audit Metadata