python-fastapi
Fail
Audited by Gen Agent Trust Hub on Aug 6, 2026
Risk Level: CRITICALREMOTE_CODE_EXECUTIONCREDENTIALS_UNSAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The setup instructions in
SKILL.mdinclude the commandcurl -LsSf https://astral.sh/uv/install.sh | sh. Piping a remote script directly to a shell allows for arbitrary code execution from a third-party domain without inspection or integrity pinning.\n- [CREDENTIALS_UNSAFE]: The configuration example insrc/app/config.pyprovides hardcoded sensitive defaults:database_urlwith embedded credentials (user:pass) and asecret_key(change-me-in-production). These placeholders normalize insecure coding practices and can lead to compromised environments if not properly managed via environment variables.\n- [COMMAND_EXECUTION]: The skill relies on shell commands for project initialization, dependency management, and server execution using tools likeuv,alembic, anduvicorn.\n- [EXTERNAL_DOWNLOADS]: The skill requires downloading external code fromastral.shand various third-party libraries from Python package registries.\n- [DATA_EXFILTRATION]: The recommendeduvicorncommands bind the application to0.0.0.0, potentially exposing the service to external networks. Combined with theCORSMiddlewarewildcard origin (*), this creates a risk of unauthorized cross-origin data access.\n- [PROMPT_INJECTION]: The skill exposes an indirect prompt injection surface. Ingestion points: Untrusted user data enters via FastAPI endpoints insrc/app/features/users/api.py. Boundary markers: None are present to delimit user content. Capability inventory: The skill includes capabilities to write to a database viaUserRepositoryand execute a web server. Sanitization: Relies on Pydantic schema validation for data types, but lacks explicit sanitization for potential injection payloads.
Recommendations
- HIGH: Downloads and executes remote code from: https://astral.sh/uv/install.sh - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata