golang-samber-slog
Pass
Audited by Gen Agent Trust Hub on May 2, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides comprehensive documentation for the samber/slog library ecosystem, covering 20+ packages for handler composition, sampling, and backend routing.
- [SAFE]: Security best practices are a core focus, with specific instructions and middleware for masking PII (Personally Identifiable Information) and IP addresses using the slog-formatter package before logs are transmitted to external sinks.
- [SAFE]: The documentation includes detailed "Common Mistakes" and "Performance Warnings" sections that advise against sequential fanout for high-latency handlers and emphasize the importance of graceful shutdowns to prevent data loss.
- [SAFE]: All external references point to official GitHub repositories within the samber organization, which are well-known and standard for Go development using structured logging.
- [SAFE]: The skill implements a "sample first, format second, route last" canonical ordering, which is a recommended performance and resource-saving strategy in high-throughput logging environments.
Audit Metadata