error-handling

Pass

Audited by Gen Agent Trust Hub on Feb 17, 2026

Risk Level: SAFE
Full Analysis
  • Information Leakage Prevention (SAFE): The skill provides specific templates for a 'generic_error_handler' that logs full exceptions internally while returning a sanitized 'Internal server error' message to the client, which is a key security best practice to prevent the exposure of internal system details.
  • Data Handling (SAFE): The documentation explicitly warns against including raw request bodies in validation error responses (Sanitize Validation Errors section), preventing potential exposure of sensitive user input in logs or error messages.
  • Dependency Integrity (SAFE): The skill references standard, reputable Python libraries including 'fastapi', 'pydantic', 'httpx', 'tenacity', 'aiofiles', and 'stripe' for educational purposes without suggesting unsafe installation methods or remote execution.
  • Secure Programming Patterns (SAFE): It correctly instructs on the handling of 'asyncio.CancelledError' and avoids dangerous 'bare except' patterns that could swallow critical system signals or security-related exceptions.
Audit Metadata
Risk Level
SAFE
Analyzed
Feb 17, 2026, 06:18 PM