fastapi-best-practices
Pass
Audited by Gen Agent Trust Hub on May 8, 2026
Risk Level: SAFEPROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [PROMPT_INJECTION]: The skill defines several API endpoints that ingest untrusted user data via Pydantic models, creating a surface for indirect prompt injection. Ingestion points:
SKILL.md(DocumentCreate model) andscripts/app_template.py(ItemCreate model). Boundary markers: The skill uses Pydantic validation (e.g.,min_length,max_length, andpattern) to define input constraints. Capability inventory: Associated capabilities across the provided scripts include database interactions (db.executeinSKILL.md), in-memory storage (_itemsinscripts/app_template.py), and outbound network requests (httpxinSKILL.mdandscripts/dependencies.py). Sanitization: Sanitization is demonstrated through Pydantic type checking and field-level validation logic. - [EXTERNAL_DOWNLOADS]: The skill provides installation commands for well-known and standard Python libraries such as
fastapi,pydantic,httpx, anduvicornfrom official registries.
Audit Metadata