litestar-routing

Pass

Audited by Gen Agent Trust Hub on Sep 19, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [SAFE]: The skill provides standard documentation and examples for Litestar routing, adhering to the framework's recommended security practices. References to external repositories and documentation all point to the official vendor organization.
  • [INDIRECT_PROMPT_INJECTION]: The skill documentation covers the ingestion of untrusted data through web request parameters and bodies, which is standard for web frameworks. It mitigates risks by promoting type-safe validation.
  • Ingestion points: URL path parameters, query strings, and DTO-based request bodies in references/routing.md and references/example.md.
  • Boundary markers: Use of Litestar's FromPath, FromQuery, and Annotated parameters which enforce type checking and validation constraints.
  • Capability inventory: Database persistence using repository services and background task processing with SAQ. No OS-level command execution or unsafe file access is guided or demonstrated.
  • Sanitization: Input is automatically validated and parsed by msgspec and Litestar's dependency injection system based on the defined schemas and types.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 19, 2026, 07:08 PM
Security Audit — agent-trust-hub — litestar-routing