langfuse-sdk-patterns
Pass
Audited by Gen Agent Trust Hub on Jul 21, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides high-quality code templates for LLM observability using the official Langfuse and OpenTelemetry SDKs.
- [SAFE]: Credentials and API keys are handled securely by referencing environment variables (
LANGFUSE_PUBLIC_KEY,LANGFUSE_SECRET_KEY) rather than utilizing hardcoded secrets. - [SAFE]: The skill demonstrates robust architectural patterns including singleton client instances to prevent memory leaks and graceful shutdown handlers for process signals (SIGTERM/SIGINT) to ensure telemetry data is flushed correctly.
- [SAFE]: All referenced dependencies belong to official Langfuse or OpenTelemetry namespaces, and no suspicious remote code execution or obfuscation techniques were detected.
Audit Metadata