FastAPI Observability
Pass
Audited by Gen Agent Trust Hub on Nov 24, 2026
Risk Level: SAFEDATA_EXFILTRATIONCREDENTIALS_UNSAFE
Full Analysis
- [DATA_EXFILTRATION]: The skill provides examples that log sensitive user information and instruments the application to send tracing data to an external collector.
- Evidence: User email addresses are logged in the
create_userfunction example inSKILL.md:logger.info("creating_user", email=data.email). - Evidence: The OpenTelemetry setup in
app/core/tracing.pyconfigures anOTLPSpanExporterto send tracing data to a remote endpoint. - [CREDENTIALS_UNSAFE]: The readiness health check endpoint returns raw error messages from database and cache connections which may expose sensitive information.
- Evidence: In
SKILL.md, the/health/readyroute returnsstr(e)when MongoDB or Redis checks fail:checks["mongodb"] = {"status": "error", "error": str(e)}. These error messages can contain connection strings or internal network details.
Audit Metadata