salvo-error-handling
Pass
Audited by Gen Agent Trust Hub on Sep 27, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides legitimate documentation and code examples for building APIs with the Salvo web framework.
- [SAFE]: Promotes secure coding practices by instructing users to log detailed internal errors for debugging while returning sanitized, generic messages to clients to prevent information disclosure.
- [SAFE]: Discusses the use of the
SALVO_STATUS_ERRORenvironment variable to control the exposure of error causes and details, recommending restricted exposure for production environments. - [SAFE]: Includes standard implementation examples for panic recovery middleware (
CatchPanic) and custom error writers that are routine for web application development. - [SAFE]: All referenced Rust crates (salvo, anyhow, eyre, thiserror, sqlx) are well-known and standard in the Rust development ecosystem.
Audit Metadata