rust-architecture

Pass

Audited by Gen Agent Trust Hub on Aug 23, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill promotes secure Rust development practices, including the use of compile-time checked SQL queries via sqlx to prevent SQL injection. \n- [SAFE]: Instructions include clear guidance on handling sensitive data using the secrecy crate for zeroization and jsonwebtoken for secure authentication. \n- [SAFE]: The project structure follows industry-standard workspace organization, ensuring clear separation of concerns between domain logic and infrastructure adapters. \n- [SAFE]: External dependencies are restricted to well-known, community-vetted crates within the Rust ecosystem. \n- [INDIRECT_PROMPT_INJECTION]: The skill architecture establishes a surface for processing untrusted data at the API and application layers. \n
  • Ingestion points: User input is received via Axum handlers and passed to CreateUserInput DTOs in crates/application/src/use_cases/create_user.rs. \n
  • Boundary markers: The skill demonstrates the use of validation logic and type-safe data transfer objects. \n
  • Capability inventory: The architecture supports database persistence (sqlx) and network server capabilities (axum). \n
  • Sanitization: The skill provides examples of input validation (e.g., email format checks) and enforces the use of prepared statements for all database operations.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 23, 2026, 08:00 PM
Security Audit — agent-trust-hub — rust-architecture